Page 1 of 1

Findmore and Properties/Templates of Categories.

Posted: Fri Aug 18, 2006 8:16 pm
by bdconnolly
I am trying to get findmore to work with Properties/Templates of categories. I am also trying to insert the html/js into the category entries.tpl.

Code: Select all

<div class="serendipity_findmore"><center>

<a href="http://del.icio.us/post?url={$entrydata.url|escape:url}&title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape}  at del.icio.us"><img src="/templates/joshua/img/delicious.jpg" style="border: 0px" alt="Bookmark {$entrydata.title|escape}  at del.icio.us"/></a>

<a href="http://digg.com/submit?phase=2&url={$entrydata.url|escape:url}" title="Digg {$entrydata.title|escape} "><img src="/templates/joshua/img/diggman.jpg" style="border: 0px" alt="Digg {$entrydata.title|escape} "/></a>

<a href="http://www.bloglines.com/citations?url={$entrydata.url|escape:url}" title="Bloglines {$entrydata.title|escape} "><img src="/templates/joshua/img/bloglines.jpg" style="border: 0px" alt="Bloglines {$entrydata.title|escape} "/></a>

</div>
Bottom line: doesn’t want to pick up the {$entrydata.title|escape:url}. What’s up with that?

Brian

Re: Findmore and Properties/Templates of Categories.

Posted: Fri Aug 18, 2006 9:28 pm
by garvinhicking
Hi!

I also mentioned this in a mail - it might simply be because $entrydata.* is not in the scope of entries.tpl, only for the plugin_findmore.tpl file. if you want to use it in entries.tpl, you'll need to use $entry.* :-)

HTH,
Garvin

Nope...

Posted: Fri Aug 18, 2006 11:41 pm
by bdconnolly
Tested this. Failed.

Code: Select all

<div><center>

<a href="http://del.icio.us/post?url={$entry.url|escape:url}&title={$entry.title|escape:url}" title="Bookmark {$entry.title|escape}  at del.icio.us"><img src="/templates/joshua/img/delicious.jpg" style="border: 0px" alt="Bookmark {$entry.title|escape}  at del.icio.us"/></a>

<a href="http://digg.com/submit?phase=2&url={$entry.url|escape:url}" title="Digg {$entry.title|escape} "><img src="/templates/joshua/img/diggman.jpg" style="border: 0px" alt="Digg {$entry.title|escape} "/></a>

</center>

</div> 

alternatively

Posted: Fri Aug 18, 2006 11:50 pm
by bdconnolly
Alternatively... how might I do this. Install the plugin and only have it post to the Category extended pages.

That'd be a cool trick.

brian

Posted: Sun Aug 20, 2006 6:47 pm
by bdconnolly

Code: Select all

<a href="http://del.icio.us/post?url={$entry.link}&title={$entry.title}" title="Bookmark {$entry.title} at del.icio.us"><img BORDER="0" WIDTH="12" HEIGHT="12" src="/templates/joshua/category/icons/delicious.png" class="socialbkmark" alt="Bookmark {$entry.title} at del.icio.us"/></a>
God I am dumb.

:)