Embed a nest_content Design Area in a menu_normal Design Area


(Eddie Leung) #1

Hi,

I’m trying to embed a

<MySource_AREA id_name="nested_nav_carousel" design_area="nest_content" />

into a

<MySource_AREA id_name="menu" design_area="menu_normal">.

However, the design area “nested_nav_carousel” just wouldn’t show up in the Details page of the parse file. Once it is moved outside the “menu” tag then it’ll work with no problem.

I would appreciate if you can shed some light on that.

**Update: **
**I think I have made a mistake. I should first create the nest_content areas outside of the other mysource tags. Then use the mysource_print tag to print the nested area. **

However, for some reasons the printout surround the nested area with <div> (e.g. <div id="content_container_626596">). From what I understand that it is the content container, but I’m wondering if there is any way to skip it?

With thanks,
Eddie.


(Bart Banda) #2

Correct, that’s the way to do it. Or alternatively use a %globals_asset_contents_raw:1234% keyword to “nest” the content in to the right place.

You need to go to the content container you are nesting in and open the properties box and set the Presentation to Raw.


(Eddie Leung) #3

Many thanks Bart! Much appreciated!

Regards,
Eddie.