-
AuthorPosts
-
January 28, 2012 at 3:42 pm #173289
By default you see the menu at the top.mainnav but I would like to see anything and was not certain pages instead was another menu.
How can I do?khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
January 28, 2012 at 3:51 pm #435890Hi,
You find this code from /templates/ja_business/css/template.css
#ja-mainnav {
background: url(../images/mainnav-bg.gif) repeat-x left top #261C17;
border-top: solid 1px black;
height: 48px;
z-index: 500;
display: none; < add this line
}January 30, 2012 at 7:39 am #436125Thanks but in doing so I have published in the “search” the search form and I do not see me.
I would always see him on some pages to display a menu where now there is always andthe main menu, I hope that I explained wellkhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 9, 2012 at 4:48 pm #437727By default you see the menu at the top.mainnav but I would like to see anything and was not certain pages instead was another menu.
How can I do?Sorry, but I don’t understand what you mean clearly. Could you explain more detail? A snapshot with your annotation is very helpful to illustrate your idea.
Do you mean to want to show anything on mainnav, except menu?February 13, 2012 at 1:43 pm #438195Let’s see if I can explain, at the top by default displays the main menu, I wish they were not see anything. In that position I want them to go a different menu, but only when I decide
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 13, 2012 at 7:00 pm #438236You remove the code from /templates/ja_business/blocks/mainnav.php
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
February 14, 2012 at 10:03 am #438281ok thanks but at the same position I have to see another menu with the same graphics (mega menu), how do I? I have to create a new position?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
February 14, 2012 at 4:04 pm #438312I don’t understand what you mean. When you remove the code as I said, you remove mega menu.
February 15, 2012 at 8:50 am #438404<em>@khoand 300576 wrote:</em><blockquote>I don’t understand what you mean. When you remove the code as I said, you remove mega menu.</blockquote>
Ok but I have created another menu secondmenu calling and I would see this menu only on certain pages, in what position should I play?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
February 15, 2012 at 10:45 am #438410The mega menu is not a module position.
Could you please post images with notes so that we can understand what you are trying to do? Neither Khoand nor myself understand what you are trying to achieve.
February 15, 2012 at 1:50 pm #438428So, I removed the menu as you told me and now you see it:
http://imageshack.us/photo/my-images/109/11111iv.jpg/
So, I removed the menu as you told me and now you see it:
I then I changed the file mainvav.php and I put
<?php $this->genBlockBegin ($block) ?>
<?php if($this->countModules('topstefano')) : ?>
* *<?php endif; ?>
<?php if($this->countModules('search')) : ?>
<div id="ja-search">
<jdoc:include type="modules" name="search" />
</div>
<?php endif; ?>
<?php $this->genBlockEnd ($block) ?>
and if I go to a specific page, I get the menu like this:How do I display the menu horizontally as “the original”?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
February 15, 2012 at 3:15 pm #438435Still not 100% sure what you want. Do you want the mega menu or not? Or is it just the search module you need?
February 15, 2012 at 3:32 pm #438437<em>@phill luckhurst 300738 wrote:</em><blockquote>Still not 100% sure what you want. Do you want the mega menu or not? Or is it just the search module you need?</blockquote>
See the menu item is made with a one beneath the other? here I would QUL mega menu in the menu
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
February 15, 2012 at 3:37 pm #438438What does QUL mean?
We could restore the mega menu and put those items in it, is that what you want?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 15, 2012 at 3:47 pm #438440Ciao Giannileggio
Cortesemente dovresti spiegarci meglio cosa vorresti ottenere
mi spiego meglio – Tu stai eliminando un menu per rimpiazzarlo con un altro menu , quindi stai facendo un passaggio inutile in quanto potresti modificare direttamente il main menu, con le voci che tu desideri, se poi vuoi per ogni pagina un menu diverso questo lo puoi ottenere con la funzione page override cioè crei tanti menu per tante pagine poi assegni ogni menu creato ad una pagina specifica cosi per ogni pagina avrai un menu diverso ma il menu comunque rimarrà sempre lo stesso inteso come posizione e modulo ( mainmenu )
1 user says Thank You to pavit for this useful post
AuthorPostsViewing 15 posts - 1 through 15 (of 15 total)This topic contains 15 replies, has 4 voices, and was last updated by pavit 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Turn off the display of the menu top.mainnav
Viewing 15 posts - 1 through 15 (of 15 total)