Friday 13 February 2004 6:49:47 am
I have made a new class called 'Remark'. It has two attributes of the 'textline' type. I have given the 'Anonymous user' permission to see it. I have made an object with the class, which has node id 71.
Then I pasted this into the template for my web page:
{let remark = fetch( 'content', 'node', hash(node_id, 71))}
{node_view_gui view=line content_node=$remark} {/let} The rest of the template (i.e. the plain html) looks good.
I have also made a template which overrides node/view/line.tpl for all objects with class id 14. I have checked and re-checked: 'Remark' really has ID 14. The template looks like this:
<div class="remark">
{attribute_view_gui attribute=$node.object.data_map.bodytext} </div> Still, I am not seeing the object in my web page. What on earth am I doing wrong?
|