PDA

View Full Version : How to add description for Featured Links listing at the index page?


enoc
07-29-2006, 04:21 AM
How to add description for Featured Links listing at the index page? -_-

WTM
07-29-2006, 04:46 AM
I am not sure if it is possible with free version but I made custom mod for Pro version to show brief description for featured and partners listings. It is posted in the Pro forum.

Sai_dallas
07-29-2006, 04:48 AM
on the admin side - Enable Sponsord links.

That would automatically bring the sponosord links to the index page.

You can set how many links you want to show (3 is default)

Admin, configuration, Financial configuration, Sponsored links functionality (enable or disable)


.

Dave Baker
07-31-2006, 07:06 AM
Hi enoc,

***Open header.tpl or footer.tpl (I don't know what template you will use) and find code:***

{foreach from=$featured_links item=link}
<div class="featured-link"><a href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a></div>
{/foreach}

***Replace this code with the following***

{foreach from=$featured_links item=link}
<div class="featured-link"><a href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{$link.title}</a></div>{$link.description}
{/foreach}

I hope it will help you.

WTM
07-31-2006, 07:31 AM
Dave,
Did you try it yourself? I am not sure but I think there some changes needed in classes/dir.php file to display description for featured and partners links.
Or may be it was for custom fields only...

Dave Baker
07-31-2006, 10:20 AM
WTM,
Yes certainly, I realized it on the local copy. I had Pro version without a patch, but after its installation all works without problems. I think there will be no problems with realization of it on demo versions too.

Dave Baker
07-31-2006, 10:26 AM
So Featured Links listing looks at me