List with related articles
Posted: Thu 16. Dec 2004, 11:49
Hello,
I use the {RELATED}-tag to display related articles. I want each page title of a related article (link) to be displayed within a <td></td> block. So I configured the conf.template_default.inc.php-file as follows:
But on my site the </td> code is not inserted!
This is the HTML-code in my template:
and this is the resulting HTML-code after the page has been made by phpwcms:
After the </a> tags, the </td> tags should be inserted.
Who can help? I don't see it anymore.
I use the {RELATED}-tag to display related articles. I want each page title of a related article (link) to be displayed within a <td></td> block. So I configured the conf.template_default.inc.php-file as follows:
Code: Select all
// related articles based on keywords
$template_default["related"]["before"] = "";
$template_default["related"]["after"] = "";
$template_default["related"]["link_before"] = "<td>";
$template_default["related"]["link_after"] = "</td>";
$template_default["related"]["link_symbol"] = "";
$template_default["related"]["link_target"] = "";
$template_default["related"]["link_length"] = 0; //if 0 no limit
$template_default["related"]["cut_title_add"] = "…";
This is the HTML-code in my template:
Code: Select all
<table width="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><a href="/nieuws_zorg.phtml"><b>Nieuws zorg</b></a><br>
<img src="/img/nav/subnavi_line_dot.gif" width="90" height="10">{RELATED:5:hypotheken}</td>
</tr>
</table>
Code: Select all
<table width="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><a href="/nieuws_zorg.phtml"><b>Nieuws zorg</b></a><br>
<img src="/img/nav/subnavi_line_dot.gif" width="90" height="10"><td><a href="25.17.0.0.1.0.phtml">Pensioensparen (IPS)</a><td><a href="3.4.0.0.1.0.phtml">Hypotheken</a></td>
</tr>
</table>
Who can help? I don't see it anymore.