Hi!
I'm currently building a blog with couch and I have enabled dynamic folders and created below:
Video
- Travel
- Nature
Blog
- DIY
- Other
Let's say I create a new post and assign it to the travel folder, which is a child of Video. To display which folder the post is assigned to, I simply type
So far so good..
But I also want to output the parent foldername, in this case "Video". Is there an easy solution to output this?
Thanks!
I'm currently building a blog with couch and I have enabled dynamic folders and created below:
Video
- Travel
- Nature
Blog
- DIY
- Other
Let's say I create a new post and assign it to the travel folder, which is a child of Video. To display which folder the post is assigned to, I simply type
- Code: Select all
<cms:show k_page_foldername />
So far so good..
But I also want to output the parent foldername, in this case "Video". Is there an easy solution to output this?
Thanks!