Downloads menu (or custom menus?)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
ahmednuaman

Downloads menu (or custom menus?)

Post by ahmednuaman »

I'm new to CMSMS so I apologise if this is a basic question. How can I make an additional 'downloads' menu or a custom menu? For example, a menu that's populated with links rather than content pages and is seperate from the main and submenus.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Downloads menu (or custom menus?)

Post by RonnyK »

The easiest way is to create "new content", select in content-type "LINK" and then paste the data (link) etc.... It will end up in the menu, when "Show in menu" is checked.

Ronny
ahmednuaman

Re: Downloads menu (or custom menus?)

Post by ahmednuaman »

RonnyK wrote: The easiest way is to create "new content", select in content-type "LINK" and then paste the data (link) etc.... It will end up in the menu, when "Show in menu" is checked.

Ronny
But then how do I create a custom menu for those links?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Downloads menu (or custom menus?)

Post by RonnyK »

Oh, I didn't understand that you wanted all to be styled differently.

I have created a site where different menu's are placed/styled on different places.

I create f.e. a main menu called hd-menu, one called sb-menu.

In the template I call.

Code: Select all

   <div id="menu_horiz2">
      {menu template='extra-menu'  start_page='hd-menu' show_all='1'}
   <hr class="accessibility" />
   </div>   
On another place:

Code: Select all

      <!-- Start Sub Navigation -->
      <div id="menu_vert">
         {menu template='extra-menu'  start_page='sb-menu' show_all='1'}
         <hr class="accessibility" />
      </div>
Both can now be styled seperately, like :

Code: Select all

/********************
MENU
*********************/
#menu_vert {
   padding: 0 3px;
/*   margin-left: 1em; */
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
/*   border-bottom: 1px solid #FFFFFF; */
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

div#menu_horiz2 {
/*   background-color: #B3B3B3;  /* background color for the entire menu row */*/
   background-color: #C6C5C6;
   width: 100%;
   margin: 0.1em 0 0 0;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz2 ul {
   margin: 0;
   padding: 0;
/*RK   border-bottom: 1px solid #4F4F4F; */
   height:2.2em;
   color: #FFFFFF;
}

Ronny
ahmednuaman

Re: Downloads menu (or custom menus?)

Post by ahmednuaman »

And how do you apply links to those menus?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Downloads menu (or custom menus?)

Post by calguy1000 »

If you want only files that are available for download to be in this 'sub menu' I suggest you check out the Uploads module.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Downloads menu (or custom menus?)

Post by RonnyK »

You can create whatever you want inside the mentioned menus and all that entries will appear in the place you put the calling of that menu. If you just want plain entries you can also put links like on the places, with the code I gave you, you can maintain it all through content. All childs under the hd-menu will appear on that place, all childs of sb-menu will appear there.

Ronny
ahmednuaman

Re: Downloads menu (or custom menus?)

Post by ahmednuaman »

Ok cool, thanks!
Locked

Return to “Layout and Design (CSS & HTML)”