Thursday 10 February 2011 2:45:33 am
Hello guys, thanks for your quick answer. I solve this problem with an override of pagelayout.tpl This is my code. It can be helpfull for other users
{def $node_id=$module_result.node_id
$node=fetch( 'content', 'node', hash('node_id', $node_id ) )}
<meta name="keywords" content="{attribute_view_gui attribute=$node.object.data_map.meta_keywords}" /> <meta name="description" content="{attribute_view_gui attribute=$node.object.data_map.meta_description}" /> Another question: I got this output in both metatags Theres is an enter between " and key1. any ideas of how I can avoid this? I think this must be easy but I can't find the solution. <meta name="keywords" content=" key1,key2,key3" />
|