Monday 04 August 2003 10:46:38 am
Hi, I was going through the tutorial to try and customise the look of the content which displays the files in a folder and I did what it told me but it didn't make any difference. I made a new file called full_class_1.tpl in /design/acne/override/templates/node/view containing this code:
{* set children variable *} {let children=fetch('content',list,hash(parent_node_id,$node.node_id))} <h1>{$node.name}</h1>
{* loop children and print name *}
{section name=Child loop=$children}
{$Child:item.name}<br> {/section} {/let} However, when I try to view a folder which has content in it, I still get the same, old design (a little piece of paper with the title next to it) - not the title of the folder followed by just a plain list (like it should be). I'm using version 3.1-1 btw. I was thinking maybe it was an old tutorial - in which case how do I change the template for 'full' in section 1? I looked in override.ini.append but couldn't find anything to do with it :( Thanks for any help!! Dave
|