Forums

Boilerplate (8 posts)

  1. lpotts
    Member
    Posted 7 years ago #

    How can I start each post with the same boilerplate text? This seems to be the only Blogger feature I miss.

  2. charle97
    Member
    Posted 7 years ago #

    put the boilerplate text in a text file, then use an include statement in your template to insert the file with the boilerplate text.

  3. lpotts
    Member
    Posted 7 years ago #

    Sorry, I didn't give the full story, I want a common starting place for each post that's then customzed. It's basically a placeholder for an image:
    <img src="http://www.leepotts.com/placeholder.jpg" alt="ALT TEXT" align="left" width="118" height="120" border="0">

  4. charle97
    Member
    Posted 7 years ago #

    do you have a mock up example?

  5. lpotts
    Member
    Posted 7 years ago #

    It's bacially a placeholder for the image in the upper left of most of the posts here: http://www.leepotts.com/tehi
    Here's an actually example from one of the live posts:
    <img src="http://www.leepotts.com/040723PHIL.jpg" alt="PHIL: The Public Health Image Library" align="left" border="0" height="120" width="118" />

  6. charle97
    Member
    Posted 7 years ago #

    so you want to insert boilerplate code at the beginning of your post content input box?

  7. lpotts
    Member
    Posted 7 years ago #

    Yep, that's it.

  8. lpotts
    Member
    Posted 7 years ago #

    Thanks Charles, I wasn't expecting you to write code, I really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.