Thursday 09 November 2006 12:13:14 am
Hi! Just create an override for yuor toolbar.ini file. Add something like this:
[Toolbar_bottom]
Tool[]=legal_policy
Tool[]=credits Tool[]=help Then just create these files (legal_policy.tpl, credits.tpl, help.tpl) using this structure so there won't be need of creating any override in your override.ini file:
design/yoursitedesignname/override/templates/toolbar/line/legal_policy.tpl
design/yoursitedesignname/override/templates/toolbar/line/credits.tpl design/yoursitedesignname/override/templates/toolbar/line/help.tpl Then for example in your legal_policy.tpl, if you want it to link to an existing object in your eZ Publish content tree:
{def $legal_policy_node=fetch('content','node',hash('node_id',100))} <-- assuming the legal policy article node_id is 100... <a href={$legal_policy_node.url_alias|ezurl}>{$legal_policy_node.name|wash}</a> and so on.
Microblau SL
http://www.microblau.net
|