Need help with customizing blog entry

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
esnet
Posts: 1
Joined: Tue Dec 09, 2003 10:58 am

Need help with customizing blog entry

Post by esnet »

First of all, thank you for providing the ability to initially strip down the index.php file so it is easily included in other documents. That is a feature I have never seen before and it is much appreciated! It is the primary reason I am hoping to stick with this product as it has given me hope.

The problem is I would like to go even further and strip out the title and everything including and followed by 'Posted by...' from each entry. I would simply like the date, the content, and nothing else; although I would prefer the date to follow the post rather than introduce it (this is for a specific project, hence the nitpicking).

Is this possible, and where would I find the proper place to make such edits? I have searched high and low, and BBEdit is beginning to make fun of me.

I am quite used to the flexibility offered by Movable Type in this regard, but I would much rather support smaller developers working in PHP.

Any help would be more than appreciated, and thank you for such a pleasant experience so far.
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post by jhermanns »

the appropriate file is layout.php in the template/yourtemplate directory. you'll see how a serendipity_fetchEntries() and the _printEntries() aquivalent is used - just use a custom function to print the entries :)
Post Reply