PDA

View Full Version : VB CMS: Display Sub-Sections Instead of Content Previews on Section Landing Pages?


drumnbassbboy
03-28-2014, 09:07 PM
I have a section that is merely used to house additional sub-sections. When the user clicks on the main section from the section widget, they land on a page that displays the verbiage "There is no content in this section". This is correct because I do not desire to display the content from the sub-sections on the main sections landing page.

What I want to do is just display the sub-sections that are under this main section on the main sections landing page. I know I am not the first one to want to do this. This should be something that can be done out of the box.

Can someone please lend some guidance?

Dead Eddie
03-29-2014, 04:47 AM
I'm guessing the best way of doing what you're looking to do would be to use the PHP direct evaluation content type and build the page manually. I agree...more dynamic content listings should be available out of the box...but there really aren't any.

drumnbassbboy
03-30-2014, 02:05 AM
Dead Eddie,
I believe the solution I am going to go with is creating different templates for these particular sections that just house other sub-sections and linking to them with static page content. It will look as if it is the section displaying the sub-categories. In reality, it is a static page with nothing displayed but the html content (i.e. hide page title, author, etc).

Do you see any drawbacks to this?
https://www.youtube.com/watch?v=jEWLLjcD-9w#t=28

Though, if I knew what to call to have a php script loop through the sections sub-sections and print the links, I would technically only have to create a single new template, not multiple.

Anyone?