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.
Related
I'm new to drupal and familiar with Joomla and Wordpress. I'm little bit confused with how drupal works when placing some kind of module to a certain block in drupal 7. Say that I want to place the search box in a footer block of the theme, what are the steps for doing that?. Or may be is it depending on the theme how modules will be placed. Please guide...
Thanks
Drupal 7 have "Regions" , it's like a grid , you can add block in regions. You can add block via admin interface /admin/structure/block/add , you a part for regions who can receive your block.
Also if you need to create a custom block programmatically, you can follow this link https://drupal.stackexchange.com/questions/5582/easy-way-to-create-blocks-programmatically
Drupal uses blocks and they can be placed in regions. Regions are defined in your theme info file and printed from your theme page template.
You can place existing blocks to some regions at "Structure -> Blocks" admin page.
When you are on blocks page there is a table where every row is for a single block. You can place block to some region by dragging it to some region or by changing drop-down in it's Region column (don't forget to save after that).
Also, you can configure every block to be displayed by specific criteria (page, user role...). On same blocks page there is "configure" link for every block and on configure page there is "Visibility" section at bottom of edit page.
But you can use additional modules like Context to place blocks to region with more choices.
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.
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 Social Engine. I am trying to add a custom menu item that will work with jQuery.
But I need to understand where is the file or files to edit in order to apply these changes.
Can anyone tell me how the Social Engine core is organized?
How do I find the files that control and generate the menu items?
Go to Control panel > Layouts > Menu editor and add new menu items to existing menus. From the same page you can also create new menus and later add them to any layout using the layout manager.
You should be able to add jQuery functionality to any menu by editing a suitable view file. Like if you want your jQuery to be available site wide then you can edit application\modules\Core\layouts\scripts\default.tpl and other layout scripts on that folder.
You can also create menu plugins. Take a look at this table on database- engine4_core_menuitems. You can see some menu items have corresponding classes. Find out those classes in SocialEngine and try to understand how they work. You can add conditions, small javascripts using these classes and this is recommended way to work with SocialEngine menus.
go to admin(control panel)
Layput
Menu Editior
As mentioned previously, we recommend editing menus in the Menu Editor which can be found in the Admin Panel > Layout > Menu Editor. For detailed instructions, please see: http://support.socialengine.com/questions/217/Admin-Panel-Layout-Menu-Editor
You can view the below mentioned video URL to understand the working environment with Socialengine Menu through admin user :
https://www.youtube.com/watch?v=Frc5U6iB_wg
need to click on Control panel then Layouts then Menu editor and add new menu items to existing menus. From the same page you can also create new menus and later add them to any layout using the layout manager.
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.