Tuesday 01 August 2006 4:45:15 pm
Hi all, I can't work out why this isn't working. I wasnt to display a javascript inserted table (sort of like a banner) under the content of a folder. What I have done is create an override template (called folder2.tpl) for full view of folders of that node ID (72). In that override template I have the following:
<div class="content-view-full">
<div class="class-folder">
<h1>{attribute_view_gui attribute=$node.object.data_map.name}</h1>
{attribute_view_gui attribute=$node.object.data_map.short_description}
</div>
</div>
{literal}<script language='javascript' src='http://www.javascripturl.com/app.aspx?id=1'></script>{/literal}
and at the bottom of my siteaccess override.ini.append.php I have:
[folder2]
Source=node/view/full.tpl
MatchFile=folder2.tpl
Subdir=templates
Match[class_identifier]=folder
Match[node]=72
I cleared the cache, but the override isn't working for some reason. Anyone got any ideas?
http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music
|