![]() |
![]() |
![]() |
|
|||||||
| User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Join Date: Jan 2007
Posts: 57
![]() |
Hello,
I want to customize lis of links page (sample: http://www.zftutorials.com/zend-config/) I would like to remove: Report broken link, Link details. I would move link to detail to link name. There is a setting somewhere at least for some of this things or i need to customize template (already did for an other links site, so np). |
|
|
|
|
|
#2 |
|
Join Date: Sep 2006
Posts: 1,428
![]() ![]() ![]() ![]() |
Hi imagis,
I am glad you got it. There isn't necessary to change any files. |
|
|
|
|
|
#3 |
|
Join Date: Jan 2007
Posts: 57
![]() |
Actually, for putting link to link details on link title i had do do changes into templates.
Also, to put link to some custom fields.... Any other way ? |
|
|
|
|
|
#4 |
|
Join Date: Sep 2006
Posts: 1,428
![]() ![]() ![]() ![]() |
Please describe your modification in full.
I think it'll be helpful for somebody else. |
|
|
|
|
|
#5 |
|
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,567
![]() |
Hello imagis,
You need changes in templates/youTemplate/link-display.tpl file ***Open templates/youTemplate/link-display.tpl and find code*** Code:
{if $config.broken_links_report}
| <a href="javascript:void(0)" onclick="reportBrokenLink({$link.id})">{$lang.report_broken_link}</a>
{/if}
***In this file find code*** Code:
{if $config.mod_rewrite}
{if 'search' eq $tab}
{assign var="link_title" value=$link.title2}
{else}
{assign var="link_title" value=$link.title}
{/if}
<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}
Code:
{if $config.mod_rewrite}
{if 'search' eq $tab}
{assign var="link_title" value=$link.title2}
{else}
{assign var="link_title" value=$link.title}
{/if}
{/if}
Code:
<div class="title">{if $link.crossed}@{/if} <a href="{$link.url}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{if $config.html_tags}{$link.title}{else}{text_html aText=$link.title}{/if}</a>
Code:
<div class="title">{if $link.crossed}@{/if} <a href="{if $config.mod_rewrite}{$config.base}{$config.dir}{$link.path}/{convert_str string=$link_title}-l{$link.id}.html{else}{$config.base}{$config.dir}view-link.php?id={$link.id}
{/if}" class="title" id="l{$link.id}" {if $config.new_window}target="_blank"{/if}>{if $config.html_tags}{$link.title}{else}{text_html aText=$link.title}{/if}</a>
|
|
|
|
|
|
#6 | |
|
Join Date: Apr 2006
Posts: 64
![]() |
I this (remove link details and move link to detail to link name) in v2.0.01 Aqua. But I got this message
Quote:
So how do I remove link details and move link to detail to link name? |
|
|
|
|
|
|
#7 |
|
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,567
![]() |
Hello Mominur Rahman,
Please attach your link-display.tpl file to a post, we will try to check it. |
|
|
|
|
|
#8 | |
|
Join Date: Apr 2006
Posts: 64
![]() |
My link-display.tpl
Quote:
Last edited by Mominur Rahman; 02-25-2007 at 05:26 PM. |
|
|
|
|
|
|
#9 |
|
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,567
![]() |
I checked your code of link-display.tpl and was not finding any problems with {else}, but you have code "text_h tml" with blank in this code:
Code:
<div class="description">{if $config.html_tags}{$link.description}{else}{text_html aText=$link.description}{/if}</div>
<div class="url">{$link.url}</div>
<div class="stat">
|
|
|
|
|
|
#10 | |
|
Join Date: Apr 2006
Posts: 64
![]() |
I apply this, now I there is no error code but the MOD that I previously made not working.
I applyed "Getting Rid of Full Path in Link Details URL MOD" http://www.esyndicat.com/forum/about6921.html . when I click on a link it shows Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|