Problem with nest content design area


(Jmw1d09) #1

Hello.

 

On my site i've got vertical navigation in a column on the left of the site. I want to nest something underneath it, but when I add the code below it doesn't appear in the list of uncustomised areas on the customisations details screen.

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

So using this as an example I would expect news_panel to appear as an uncustomised area, but it doesn't show up at all.  Any reason this would happen?

 

Cheers

 

John


(Jmw1d09) #2

Any ideas anyone? It seems if I put the code at certain places in the design it does work, but doesn't work where I want it.


(Talk) #3

Hi John, there doesn't seem to be anything wrong with your code, so you might want to check the following:

 

Is there already a customised area called 'news_panel?'

Is there a stalled or outstanding HIPO job for regenerating the design?

 

Can you show me the container code you're trying to nest the content in?


(Jmw1d09) #4

For the page we only need one link in the navigation, so i've just put this in manually (information for authors bit). Below that I want to nest a scrolling list of pages. This is currently nested in the right hand column on other pages. So that is the codeon line 93 below.

 

No duplicates or stalled HIPO jobs I'm afraid. The full code for the left hand column is as below.

 

The code just isn't producing a nested_content area that I can customise.

 

  1.  <div id="cols_container">
  2.   
  3.   <MySource_AREA id_name="lhs_navigation" design_area="menu_normal" print="no">
  4.   <MySource_SET name="show_subs" value="on_current" />
  5.   <MySource_SET name="level" value="top" />
  6.   <MySource_SET name="settings.class.normal" value="" />
  7.   <MySource_SET name="settings.class.current" value="selected " />
  8.   <MySource_SET name="settings.class.hierarchy" value="selected " />
  9.   
  10.   <div id="lhs_nav_header"><a href="<MySource_PRINT id_name="__global__" var="site_link" full_url="true" />">Journals</a></div>
  11.   
  12.   <div id="main_menu">
  13.   <br />
  14.   
  15.    <nav>
  16.    <ul>
  17.   <li><a href="./?a=94843">Information for authors</a></li>
  18.    </ul>
  19.   <nav>
  20.   
  21. <MySource_AREA id_name="station_list" design_area="nest_content" />
  22.  
  23.   </div>
  24.   
  25.   <!-- end of #main_menu -->
  26.   
  27.   </MySource_AREA>
  28.   
  29.    <MySource_AREA id_name="show_lhs_on" design_area="show_if">
  30.   
  31.    <MySource_SET name="condition" value="keyword_regexp"/>
  32.    <MySource_SET name="condition_keyword" value="asset_metadata_DisplayType"/>
  33.    <MySource_SET name="condition_keyword_match" value="LHS_on" />
  34.   
  35.    <MySource_THEN>
  36.   
  37.   <div id="lhs_container">
  38.   
  39.    <MySource_PRINT id_name="lhs_navigation" />
  40.   
  41.    </div>
  42.   
  43.    <!-- end lhs_container -->

(Jmw1d09) #5

Not line 93, line 21 now. Cheers

 

John


(Talk) #6

Hi John, it won't work wrapped in another MySource Area, try this:
Outside the MySource_Area, must not be in another Area:

<MySource_AREA id_name="news_panel" design_area="nest_content" print="no" />

Then inside the area, where you want it:

<MySource_PRINT id_name="news_panel" />

Hopefully this will work.


(Jmw1d09) #7

You star! That works perfectly.

 

Many thanks

 

John


(Talk) #8

No worries mate, glad you got there in the end.