Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi again!

I noticed that with the nested pages I don't have the option showing up for masquerading pages. Was it removed in one of the latest versions? I'm using PrettyURLs so it should be working otherwise, right?

And in the documentation for the nested pages the affair with the "home section" might not be complete:
Remember that the 'home' section' is actually a 'view' (as opposed to being a 'page'). That is perfectly okay. Just paste in the home page's URL http://www.yoursite.com/ in the 'points to' textbox. Uncheck the 'Mark as selected for all pages below this link' (this is important - we'll explain why a little later. For now just be sure to uncheck it).

Can't find the further explanation though. Might be that I'm simply stupid ;)...

Anyhow, I would like to treat the 'home section' like all the other pages I cloned from it, so using the same content field to fill the page. But since it's handled as a 'view' I have to get the content from a different template right? At least if I want to be able to alter the content from within the admin panel. Or is there some other solution by now?
Hi :)

Masquerading is available for only 'index.php' - you sure that is your nested-pages template?

And in the documentation for the nested pages the affair with the "home section" might not be complete:..
Can't find the further explanation though.
It is down there in the page -
Finally consider a point we touched upon earlier but deferred the explanation for later -
in our tree, we have a 'Home' menu-item that points to the home-view of index.php (http://www.yoursite.com) and we have separate menu-items that represent other pages of index.php e.g. http://www.yoursite.com/about-us/ and http://www.yoursite.com/about-us/what-we-do/.

Going by the logic we discussed above, if we visit http://www.yoursite.com/about-us/ or http://www.yoursite.com/about-us/what-we-do/, since in the tree the 'Home' menu-item physically comes before the menu-item representing the visited page, it is the 'Home' menu-item that will always get selected although we have a menu-item that specifically represents the visited page.

For such cases we can configure the nested-page behind the menu-item NOT to be marked as current for the child-pages (i.e. be marked as current only for the page that is perfect match).
So I was simply stupid ;)... sorry, thought that part belonged to the creation of the menu alone.

What concerns the masquerading I am using an index.php for the nested pages, it's not the main index.php though (meaning it's not in the root folder but in a subfolder). Guess this might be why it's not working?
it's not the main index.php though (meaning it's not in the root folder but in a subfolder). Guess this might be why it's not working?
Well, as you can see for yourself, if the index page is within a subfolder, say named 'test', it'd be known by couch as 'test/index.php' (and not 'index.php'). So, yes, you are right - that is the problem.
4 posts Page 1 of 1