Page 1 of 1

links to services like Digg, Technorati, del.icio.us etc

Posted: Sat Feb 10, 2007 12:14 am
by Ralf Skirr
Hi,

I'm using the plugin that 'shows links to services like Digg, Technorati, del.icio.us etc related to your entry'

Now these links appear under the shortened teasers at the front page as well as under the complete article on the individual articles page.

Is there a way to make these links only show up on the full article page and not below the teaser?

Thanks,
Ralf

Re: links to services like Digg, Technorati, del.icio.us etc

Posted: Sat Feb 10, 2007 11:02 am
by garvinhicking
Hi!

Yes, you can edit the plugin_findmore.tpl and wrap a Smarty condition around it:

Code: Select all

{if NOT $entrydata.is_extended OR $is_single_entry}
...
{/if}
This will only show the bookmark section if an entry either has no extended text, or if you are currently viewing the detailed entry.

Of course you can revert the logic to make it the other way round:

Code: Select all

{if NOT $is_single_entry}
...
{/if}
HTH,
Garvin

:)

Posted: Sat Feb 10, 2007 3:46 pm
by Ralf Skirr
Garvin,

thanks a lot.

:D
Ralf

P.S. But it took me a while to check that logically the NOT had to be removed :) Now it's working perfectly.