ok here is the solution.
First open up entries.tpl (don't change the default entries.tpl, copy one to ur template folder and change that) and find this line
Code: Select all
<h4 class="serendipity_title"><a href="{$entry.link}">{$entry.title}</a></h4>
replace it with this line
Code: Select all
<h4 class="serendipity_title"><img src="{$entry.properties.ep_icon}" /><a href="{$entry.link}">{$entry.title}</a></h4>
Now install "Extended properties for entries" and type this in your custom fields.
then when u make a new post u just type in the url of the flag
thats it, ur done.
now if u don't provide a url then a question mark appears. there is a way to detect if a smarty field is empty of not, garvin might know that.
if not then i'll look into it more. u could just call the whole <img> tag as a field that way u don't have to worry about the question amrk.
try it out and let me know.
I'm in LOVE with this custom fields thingy.
