Page 1 of 1
customizing the "click here to see full entry" lin
Posted: Fri Dec 30, 2005 7:36 pm
by Col. Kurtz
Is it possible to customize the link to show the full entry, for each entry? Like one time Ill put some pix in the full entry and wanna have it say "click here to see the pictures" and another time I have a bunch of links and want to display "click here to see the linklist" et...?
Re: customizing the "click here to see full entry"
Posted: Fri Dec 30, 2005 7:40 pm
by garvinhicking
You could do that by creating a Custom Field "readlink" for that; and instead of printing the Constant with
Code: Select all
<br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
you can change it to
Code: Select all
{if $entry.properties.ep_readlink}
<br /><a href="{$entry.link}#extended">{$entry.properties.ep_readlink}</a><br /><br />
{else}
<br /><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a><br /><br />
{/if}
Inside the custom field for "readlink" you then enter something like "Click here to see the linklist". If you leave it empty, it'll show the default link.
Custom Fields is part of the Extended Properties plugin, if you don't know that already
Best regards,
Garvin
Posted: Sat Dec 31, 2005 3:01 pm
by Col. Kurtz
ok Ill try that