Sign In
Start Page | Recent Changes | All Pages | Orphan Pages | Junebug Help

Comparing version 2 and version 1

Have a look at the "Custom Tags" section of [Creating Radiant Extensions].


For lack of any *other* content, I'm going to document dumb mistakes I make while coding tags.  Anyone else is welcome to replace this section. (--JayLevitt)

* Where do you put the tag definitions?

* Container tags are responsible for their own rendering.  If you want the stuff inside your container to get rendered, you'd better output it from the container.  Conversely, if you want nothing in your container to render--consider it done.

* Remember that  is shorthand for .  If you're inside a container, you're already looking at its scoped tags.  Redeclaring the scope by including the container's tag will create another level of nesting, which is probably not what you want.

Back to Page