[Radiant] Custom Tags and Code reuse
Sean Cribbs
seancribbs at gmail.com
Tue Jan 16 15:30:41 CST 2007
> If we assign a blank hash to navigation and assign that to a variable
> called 'hash' how can it contain any values if we assigned a blank
> one?
The tags that are rendered in the 'tag.expand' call set values in the hash.
Look at their definitions and you'll see it.
> To establish a baseline I tried copying the existing 'navigation' code
> into my custom tag (with name edits) and I'm still getting the 'normal
> tag not found error'.
Make sure that you redefine each of the nested tags in under 'navigation'...
i.e. 'navigation:normal', 'navigation:here', 'navigation:selected',
'navigation:between'; change the prefix (part before the colon) on each one
to 'navigation_dynamic'.
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20070116/8bec483b/attachment.html
More information about the Radiant
mailing list