Forums / Developer / Use of CSS
chandan kumar
Tuesday 14 March 2006 8:08:40 am
1) I am using the css file.Connecting with the flat_left.tpl file.Menu this showing there but when we click on any left menu item. it always redriect to the //localhost/index.php page.In Status bar its showing right hyperlink. i have used this simple code,which wriiten in flat_left.tpl which is given below:
{foreach $nodes as $node} <tr> <td class=venstremenytekst><A class=venstremenylinktekst> <a href="{$node.url_alias}">{$node.name}</a> </td> </tr>{/foreach}
Betsy Gamrat
Tuesday 14 March 2006 7:44:52 pm
The <A class=venstremeylinktekst> looks out of place.
You may want to look at
<b>{node_view_gui view=line content_node=$node}</b>
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_functions/visualization/node_view_gui
Also, check out the ezurl function (http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/urls/ezurl)
Good luck
Marc Boon
Wednesday 15 March 2006 1:18:35 am
remove <A class=venstremenylinktekst>
replace <a href="{$node.url_alias}"> with <a href="{$node.url_alias|ezurl(no)}">