I had a need to extend a tag,
<def tag="projectfooter" >
<div param="editproject" />
</def>
<extend tag="projectfooter">
<old-projectfooter merge without-editproject />
</extend>
I read the DRYML guide in the Hobo Cookbook, but it
really did not cover the correct way of going about this.
After searching through the group posts, I discovered the
answer was to first do:
<def tag="edit-project" alias-of="projectfooter"/>
...and then:
<extend tag="projectfooter">
<old-projectfooter merge without-editproject />
</extend>
Now using
<edit-project />
gives me access to the old tag.
The above was per a discussion by Iain, Tom, and others.
I wondered if the above info could be added to appropriate
place in the DRYML Guide in Hobo Cookbook, where extending with a card
example is used? Seems others might find this useful.
Cheers,
Jet
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.