Hi Henry. This what I normally do. I was trying to find a more elegant way.
Buf, anyway, it is good to share our tricks. Thanks! Tx El 31/08/2016 18:53, "Henry Baragar" <[email protected]> escribió: The problem is that the <aside:> parameter is not defined if the definition of <show-page for="MechSystem"> in app/views/taglibs/auto/rapid/pages.dryml. I think that you have two options: 1. Add a "children" directive (see View Hints <http://www.hobocentral.net/manual/viewhints>) with two children to your model and then add <collection-section: replace/> to your tag extension - this a kluge, but it is the option I normally use 2. Completely redefine the <show-page for="MechSystem"> - look in app/views/taglibs/auto/rapid/pages.dryml to get a starging point Henry On 31/08/16 08:40 AM, txinto wrote: Sorry, the email was send before ending it :o( I repeat it here: Hello, I am also trying to extend a show-page that does not include an aside, in order to include it. In the past I've done it by redefining the entire page using a <def> tag. I want now to use just <extend> tag to do it. Tried this way but did not work. My greatest progress was to obtain the "aside-column" div tag using this DRYML code: <extend tag="show-page" for="MechSystem"> <old-show-page *layout="aside"* merge > <aside:> Hello! </aside:> </old-show-page> </extend> This is the generated HTML code: <div class="row main-row"> <!--div class="logo"></div--> <div class="span9 main-column"> ... </div> <div class="span3 aside-column"> <div class="well"> </div> </div> </div> Unfortunately the word "Hello" is not present in the HTML final code, just the aside-column tag and the inner well tag. Strangely, if I remove the <aside:> tag, which seems to have no impact, nothing appears, I loose even the aside-column tag. Any help? Thank you a lot. Tx. On Wednesday, August 31, 2016 at 1:36:55 PM UTC+1, txinto wrote: > > > > > On Saturday, March 3, 2012 at 4:44:01 PM UTC, Bob Sleys wrote: >> >> That does it. LOL thanks again. >> >> For future reference here is what worked for me >> >> <extend tag="show-page" for="Building"> >> <old-show-page merge> >> <content: replace> >> <section-group> >> <section param="main-content"> >> <content restore/> >> </section> >> <aside> >> <h3 param="heading">Reports</h3> >> <collection with="&@reports" param="reports-preview"> >> <card:> >> <body><a params="&{:cid => @this.to_param}"/> >> </body> >> </card:> >> </collection> >> </aside> >> </section-group> >> </content:> >> </old-show-page> >> </extend> >> >> Bob >> >> On Saturday, March 3, 2012 11:19:25 AM UTC-5, kevinpfromnm wrote: >>> >>> Doh, here's the part from the dryml guide that describes how to do the >>> restore. http://cookbook.hobocentral.net/manual/dryml-guide#current_ >>> limitation >>> >> -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout. -- *Henry Baragar* Director, Software Development *CSE* | *Canadian Securities Exchange* *D *(647) 729-8325 220 Bay Street, 9th Floor | Toronto | ON | Canada | M5J 2W4 www.thecse.com | @CSE_News <https://twitter.com/CSE_News> -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
