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>
</div></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 .
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.