Hello,
I've been wrapping my head around for the last couple of days to find a solution for the following problem but I'm looking into the wrong direction.
I'm building a website that is structured like this
The homepage has two links, clicking them shows a blog.
This works when I set the masterpage to blog...but when I click on one of the other links inside the selected folder a list view shows up with also the content of the other folder.
The other and preferred option would be to use a seperate file (menu.php) create a snippet and embed the snippet in every page. I've created this but then the links always point to websitename.com/menu.php?f=...
What can't I see that seems to be so simple to archieve but so hard to reach?
I've been wrapping my head around for the last couple of days to find a solution for the following problem but I'm looking into the wrong direction.

I'm building a website that is structured like this
- Code: Select all
homepage
- folder A
-- blog A
-- who A
-- what A
-- contact A
- folder B
-- blog B
-- who B
-- what B
-- contact B
The homepage has two links, clicking them shows a blog.
This works when I set the masterpage to blog...but when I click on one of the other links inside the selected folder a list view shows up with also the content of the other folder.
- Code: Select all
<cms:folders masterpage='blog.php'>
<li <cms:show k_folder_name />>
<a href="<cms:show k_folder_link />"><cms:show k_folder_title /></a>
</li>
</cms:folders>
The other and preferred option would be to use a seperate file (menu.php) create a snippet and embed the snippet in every page. I've created this but then the links always point to websitename.com/menu.php?f=...
What can't I see that seems to be so simple to archieve but so hard to reach?