In my base template, I'm showing the menu using the show_menu tag as follows:
{% show_menu %}
I created a template (templateA.html) and then created another template that inherits from it (templateA1.html), then I created pages from both templates in the admin area. However, the menu shows these page links along side one-another and not nested in a submenu.
So, how do I create nested pages that show up nested in the menu?
The nesting of your pages isn't dictated by template inheritance, it's decided by how you lay out your pages in the django-cms admin interface. You need to place the pages you create in the hierarchy that you wish to reflect in your menu:
Related
How do I add customized themes to umbraco, because i when look at the templates of the blog content pages, they actually don't have any templates specified.
VAPOR is the default template: https://github.com/Shazwazza/Articulate/wiki/Installed-Themes
If you want to see the other templates go to Content Tree > Blog > Style TAB > scroll down you will see a drop down selection showing VAPOR as the default. From here select another template then refresh your page.
I have this view with a Page display that has a filter and a list with content to be filtered.
I would like to add a Links block right below the filters form but I just don't get it how. I tried adding the block to the sidebars (from /structure/block) but the sidebars are outside the main content (Bootstrap theme) and the View edit form (views/view/myview/edit) has no option or place where I could add a Builder block.
How would you do this?
You can setup the view as block display(or duplicate the page display as block display) and go with the option "Exposed form in block" = Yes in the Advanced section.
It will let you to show the main view block (content list) and the exposed form(filters) in different configurable blocks in any basic/blank page.
Then you can easily insert your links block in between them.
I want to build a large menu(more than 100 items) in admin panel, there are server post variable limit. So i have created a menu with parent pages only. I want to add child pages to parent pages in menu during runtime. I am using wp_nav_menu function. Is it possible with walker class or any other solution.
Can the teaser on the front page to be used as a customized block element, and to be assigned in any other regions and to be shown on every pages?
Or is there any module for this function in Drupal 7?
you can use the views module to create a block with node titles and teasers similar to the default front page.
I am using the book module navigation block to display links to book pages. I was wondering if it was possible to alter it so rather than the children links appearing below the parent, they would appear to the side. This is because I want a horizontal navigation:
Thanks
You can customize the navigation block with the book-navigation.tpl.php template. You have total control over the HTML within that block from that template. It basically allows links for next, previous and parent elements as well as the display of a list of links to any children. If you want to create a more complicated form of navigation (for instance: a javascript-powered slideshow with slides for every page at the current level of the book hierarchy) you'll have to resort to a custom view and find a way to embed it in the navigation template.