Developer forum

Forum » Templates » Navigation parent website instead of id

Navigation parent website instead of id

Rune Skovbo
Reply

Is it possible to specify a website as "parent id" instead of an id?

 

I have a masterpage wich need to output the same bottomnavigation on two different websites/languages. The bottom navigation should be based on website A and outputted on both website A and B.

 

Hope you can help.

 

/Rune


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Rune

 

You can use the parentid or parenttag - parentid would give you the same navigation on 2 websites. Parent tag could give you 2 different navigations using the same layout template across 2 websites...

 

See docs: http://developer.dynamicweb-cms.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fDesign%2f(en-US)+Designs+and+Layouts.pdf

 

BR Nicolai

 
Rune Skovbo
Reply

Hi Nicolai

 

Yeah, but the problem is that the the pages I want to output is not contained in a folder.

So the nav structure is just:

WEBSITE A:

  • Home
  • Nav 1
  • Nav 2

and so on...

I want the contents of "WEBSITE A", not the contents of "Home".

 

Makes sense?

 

/Rune

 

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

try doing like this:

 

settings="parentid:0;areaid:1;"

Votes for this answer: 1
 
Rune Skovbo
Reply

Great, thanks!

 

It works. Even without the "parentid:0". I set the areaid to the specific one I needed, and all looks fine.

 

Thanks again and have a nice weekend :-)

 

/Rune

 

 

 

 

You must be logged in to post in the forum