I'm working on a responsive navigation for a customer. I'm using concrete5.7's AutoNav block with a customized view template. The fullscreen overlay is working and lists links to the top-level pages. Under the first and second links (see attached image, I need the following:
First Navigation Link (Projects page): A topic_list that filters a page_list block on the Projects page.
Second Navigation Link (Services page): A list of its direct child pages.
Should I programmatically include the topic_list Block in my AutoNav custom view? Is it possible to access and list topics from the AutoNav block? I really don't know how to approach this. Any pointers would be much appreciated.
Maybe this add-on can help you: https://www.concrete5.org/marketplace/addons/mega-menu1
I didn't use or try it myself, but it seems to be possible to add stacks as submenu's. I guess these stacks could hold page_list/topic_list blocks.
Another approach could be to use page_list instead of the autonav. Create a topic structure with the same layout as your pages.
Or indeed programmatically adapt the autonav with a template, and check for level and topics to insert them as a submenu.
Related
Is it possible to have dynamic content in wordpress? I know that navigation, footer, and sidebar is dynamic. But what about the content? What if my content is within a 3 col grid? How can I add a 3 col grid to wordpress if I am only provided with one paragraph box within editing page? If i add the html code in my php file, it will be static and not dynamic. I have studied resources and not found a solution. In result I am asking here to clarify. Therefore, how can I make the content within the body dynamic?
Some of the sources I studied
Nav Walker
Dynamic Template
It totally depends on your needs and the time you can spend on this. Here are some guidelines:
If you always going to follow a specific layout for a page then you can have meta boxes for the content and style is applied by default.
Examples:
Advance Custom Fields (ACF) is most popular and easy to use. Alternatively, you can create custom meta boxes.
If you wanted to give more control then you can create your own layout snippets and define as shortcodes.
Examples:
In one of my recent project, I create my own shortocodes and that can be used in any page and will be automatically formatted before displaying on frontpage like
[video_right]
[testimonial]some content[/testimonial]
[one_fifth]columns[/one_fifth]
BTW, you can also use any visual builder like Visual Composer etc.
I need to change my theme to show the categories list on frontpage as buttons like this image instend of show only a simple categories list:
Which file I need to edit? Where can I find documentation about this? I just searche google but I did not find nothing about
There isn't standard functionality for this.
Here is an overview though.
First you will need to create a central region for displaying blocks, some instructions here
How to add a block to the center of a page in Moodle?
Then create your own block with the layout you want. Follow the instructions here
https://docs.moodle.org/dev/Blocks
Then once installed, add your new block to the frontpage and move it to the central region.
I want to list specific CMS pages LINKS to lefthand side of block in magento.
eg. suppose i have added 10 cms pages in admin and now i want to list 2 to 3 specific cmspages which i want. How can i do it ?
There are many ways to do this task using Widgets -
Process 1: We can add Widgets for specific CMS page as "CMS Page Link".
Magento provides the facility to add many kind of Widgets.
Process 2: We can create a Static block where we can put the Code for Link of CMS pages.
And we can call this Static Block using Widget on Left/Right Column or the position where we want.
Hope it'll be Helpful :)
Thanks.
I'am new to Drupal, i just want to create a website which contains pages like about us, contact us and other static information that may be changed after a long time.
Now i can create the pages and sub pages to main pages. The links are displaying on the top of the logo and the sub pages were showing on the side of the main page.
i installed the dhtml_menu module but not working.
are there any changes required to dhtml_menu module to make work for pages?
or
i need to use any other module?
please help me to solve this issue
Thanks.
Your question is pretty confusing. If you just want to display the pages in a tree just like the administration menu (which seems to be what you're asking), then you don't need any extra modules.
Just create your pages and put them all in the primary menu. Then, once your pages are created add the Primary links block (in Administer, Blocks) anywhere you want. That block will display the navigation tree of your pages, just like the administrator menu does.
edit
Oh, so you want the drop down menus? Then you don't want dhtml_menu (which will only prevent unneccessary page loading when you open pages), but need something like simplemenu. Create your primary links, goto Administer, Site Configuration, SimpleMenu and set the "Menu" setting to "< Primary links >". That will display a drop down menu bar to navigate through your site...
First i need to say thanks to wimvds. "Thankyou wimvds for your edit it take me to find more modules and themes".
found the solution in a theme "admire_grunge" the drop down menu needs to be defined in the themes it self.
found some more themes that work like this.
Thanks.
I am using wordpress as a full on CMS on a site I am building. One thing I cant seem to figure out is how to link up my navigation bar to the pages I am creating in wordpress. I am using a sprite image hover navbar that is defined in the header.php file.
Does anyone have any idea how I can take a typical CSS sprite navbar and link it up with the pages I am creating within wordpress?
Typically when developing a WordPress theme you will want to use the wp_list_pages() function to display a list of the published WordPress pages. It spits it out in a unordered list already hyper linked and ready to go. You can then integrate your CSS with it as needed. If you need further customization to the navigation, like excluding certain pages, reordering, them etc.. check out this plugin here.
Another alternative would be to get your hands dirty with some PHP and other WordPress functions and create the navigation lists you need in your functions.php file.
Does this help any? I'm only marginally familiar with Wordpress interaction but it sounds like this should allow you to execute PHP code, and thus pull your navigation somehow.
http://wordpress.org/extend/plugins/php-execution-plugin/