Is it possible to toggle Login/Logoff on the menu ?
Thanks, John
Is it possible to toggle Login/Logoff on the menu ?
Thanks, John
There's no "on/off" switch, but the file can be edited to NOT display it;
Just look in includes/templates/CUSTOM/common/tpl_drop_menu.php at around lines 100-111. You can either comment them out or delete them totally. Either way the menu will not display those links.
That section of code mentioned above should look exactly like this:
Hope this helps.Code:<li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> <ul class="level2"> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li> <?php } else { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li> <?php } ?> </ul> </li>
Robert
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
I have this mod installed on my web site
www.allforyourwedding.com
I have a question. I have way to many categories. Is there any way they can be automatically set to say go 10 down and then a new column.
Or could someone tell me a better way I can handle this? My only last thought would to just have a button called "Categories" that someone would click and it gives them them in the center...
milo,
I'm REAL busy today, but I had a couple of minutes to spare, so I done you some "quick & dirty" css just to get you started. It REALLY is dirty too, so you'll have to correct things, as I just added these lines to the very bottom of your stylesheet, making them override previous code. Anyway, this should get you on your way, anyway:
See?...............Told you it was "dirty". Also, if you notice, to make sure you know which column is which, I've left "named" colors there for you.Code:.col_1.firstcolumn, .dropdown_1column {max-height: 500px; width: 874px; background: skyblue!important; margin-top: -5px;} div#wrapper_menu>ul>li>div>div>ul>ul>li>ul {background: black!important; z-index: 1000;}
Sorry so quick, sorry so dirty, but hope it helps get you started.
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
What CSS file do I add this to the bottom to?
thanks
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Diva's correct..............on all accounts:
1) at the bottom of your templates' stylesheet, since the MENU'S stylesheet isn't there.
2) This is not the correct thread for this particular menu, as it's NOT in the downloads, but rather custom built by starting with a mega-menu which you can find more information on HERE and HERE. Once you get there, you can most likely get some use the information to re-design yours even better, as what I showed you earlier really is a "dirty" quick-fix that I was kinda' ashamed to post, but don't have much time today, so...........
3) (unless Anne has simply combined this menu's stylesheet with the template stylesheet). Diva, isn't this Brandon Turpin's template?
The thread for it is HERE, which would probably be a better place for milo to get his answer.
Hope this helps,
Robert
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!