Putting things into view entry layout

Creating and modifying plugins.
Post Reply
Allstar
Regular
Posts: 9
Joined: Fri Jul 14, 2006 8:45 pm
Contact:

Putting things into view entry layout

Post by Allstar »

Serendipity n00b here but a reasonable phpBB mod'er.

I've gotten up and running without any major problems but I'm an little puzzled on how to add things to an entry layout. Particularly I'm looking at the mood plugin.
As far as I can deduce it adds the 'mood' varible to the beginning/end of the title/body/footer varible depending on your preferences.

Put I don't want in as part of the header I want it next to the header so images are shown rather than filtered out.

So there are 2 ways to go about this:
Stop the filtering on the title varible OR get the mood varible placed independantly in the entry template using the insert PHP into template FAQ
"The price of greatness is responsibility."
Sir Winston Churchill
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Putting things into view entry layout

Post by garvinhicking »

Hi!

That's a good suggestion for that plugin! I added a "smarty" option for the location configuration of that, so that you can put {$entry.mymood} anywhere you like in your entries.tpl templating block that shows an entry.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply