eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface > Existing Templates

Existing Templates Want to adjust logo or center some piece of text in your directory? Get advice on how to do it in this forum dedicated to pre-installed templates.

Reply
 
Thread Tools Display Modes
Old 06-01-2007   #1
hydro69
Newbie
 
Join Date: May 2007
Posts: 18
hydro69 is on a distinguished road
Default Remove link information

Hi I would like to remove the link information and show only the Title and Description does anyone have any ideas?
hydro69 is offline   Reply With Quote
Old 06-01-2007   #2
Dave Baker
 
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,568
Dave Baker is on a distinguished road
Default

***Open templates/yourTemplate/link-display.tpl and find code***
Code:
<div class="url">{$link.url}</div>
<div class="stat">({$lang.clicks}: {$link.clicks};
	{if $config.link_comments}
		{$lang.comments}: {$link.comments};
	{/if}

	{$lang.link_added}: {$link.date|date_format:$config.date_format}) :: 

	{if $config.mod_rewrite}
		<a href="{$config.base}{$config.dir}{$link.path}{convert_str string=$link.title}-l{$link.id}.html">{$lang.link_details}</a>
	{else}
		<a href="{$config.base}{$config.dir}view-link.php?id={$link.id}">{$lang.link_details}</a>
	{/if}

	{if ($editor.id eq $link.id_editor) || ($link.id_editor_edit eq '1')}
		 | <a href="{$config.base}{$config.dir}edit-link.php?id={$link.id}">{$lang.edit_link}</a>
	{/if}

	{if (($editor.id eq $link.id_editor) || ($link.id_editor_edit eq '1')) AND $config.sponsored_links}
		 | <a href="{$config.base}{$config.dir}upgrade-link.php?id={$link.id}">{$lang.upgrade_listing}</a>
	{/if}

	{if $config.amazon_link}
		 | <a href="http://partner.alexa.com/amzn/redirect_to_detail?amzn_id=esyndicatfree-20&amp;url={$link.url}">{$lang.view_amazon}</a>
	{/if}

	{if $config.broken_links_report}
		 | <a href="javascript:void(0)" onclick="reportBrokenLink({$link.id})">{$lang.report_broken_link}</a>
	{/if}

	{if $config.pagerank}
		<br />{$lang.pagerank}: {if $link.pagerank eq '-1'}{$lang.not_available}{else}{$link.pagerank}{/if}<br />{print_pagerank pr=$link.pagerank}
	{/if}
</div>
***Remove and save changes***
Dave Baker is offline   Reply With Quote
Old 11-07-2008   #3
Ock
 
Join Date: Oct 2008
Posts: 3
Ock is on a distinguished road
Default I can't find link-display.tpl

Quote:
Originally Posted by Dave Baker View Post
***Open templates/yourTemplate/link-display.tpl and find code***
Code:
<div class="url">{$link.url}</div>
<div class="stat">({$lang.clicks}: {$link.clicks};
	{if $config.link_comments}
		{$lang.comments}: {$link.comments};
	{/if}

	{$lang.link_added}: {$link.date|date_format:$config.date_format}) :: 

	{if $config.mod_rewrite}
		<a href="{$config.base}{$config.dir}{$link.path}{convert_str string=$link.title}-l{$link.id}.html">{$lang.link_details}</a>
	{else}
		<a href="{$config.base}{$config.dir}view-link.php?id={$link.id}">{$lang.link_details}</a>
	{/if}

	{if ($editor.id eq $link.id_editor) || ($link.id_editor_edit eq '1')}
		 | <a href="{$config.base}{$config.dir}edit-link.php?id={$link.id}">{$lang.edit_link}</a>
	{/if}

	{if (($editor.id eq $link.id_editor) || ($link.id_editor_edit eq '1')) AND $config.sponsored_links}
		 | <a href="{$config.base}{$config.dir}upgrade-link.php?id={$link.id}">{$lang.upgrade_listing}</a>
	{/if}

	{if $config.amazon_link}
		 | <a href="http://partner.alexa.com/amzn/redirect_to_detail?amzn_id=esyndicatfree-20&amp;url={$link.url}">{$lang.view_amazon}</a>
	{/if}

	{if $config.broken_links_report}
		 | <a href="javascript:void(0)" onclick="reportBrokenLink({$link.id})">{$lang.report_broken_link}</a>
	{/if}

	{if $config.pagerank}
		<br />{$lang.pagerank}: {if $link.pagerank eq '-1'}{$lang.not_available}{else}{$link.pagerank}{/if}<br />{print_pagerank pr=$link.pagerank}
	{/if}
</div>
***Remove and save changes***
I want to do this mod on my own directory but I can't find link-display.tpl in my default template directory (the one that I am using). Any ideas?
Ock is offline   Reply With Quote
Old 06-02-2007   #4
hydro69
Newbie
 
Join Date: May 2007
Posts: 18
hydro69 is on a distinguished road
Default

Thanks Dave that works very well
hydro69 is offline   Reply With Quote
Old 06-03-2007   #5
Dave Baker
 
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,568
Dave Baker is on a distinguished road
Default

You're welcome hydro69!
Dave Baker is offline   Reply With Quote
Old 12-12-2008   #6
Alex B.
Tech Support
 
Alex B.'s Avatar
 
Join Date: Oct 2008
Posts: 1,009
Alex B. is on a distinguished road
Default

it's called listing-display.tpl actually.
It seems that you took this code from another version
__________________
Best Regards, Alex B.
HELPDESK
Alex B. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:34 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources