ahmed1136 Posted September 29, 2013 Share Posted September 29, 2013 Hey i was using 1.4.7 , every thing working fine but when i update it to 1.5.5.0 then i got issues main issue is that mycmsmenu is not working any more , code is below<!-- MODULE PM_AdvancedTopMenu || Presta-Module.com --><link href="{$content_dir}modules/pm_advancedtopmenu/css/pm_advancedtopmenu_base.css" rel="stylesheet" type="text/css" media="all" /><link href="{$content_dir}modules/pm_advancedtopmenu/css/pm_advancedtopmenu_global.css" rel="stylesheet" type="text/css" media="all" /><link href="{$content_dir}modules/pm_advancedtopmenu/css/pm_advancedtopmenu.css" rel="stylesheet" type="text/css" media="all" />{if $page_name == 'cms' && $mycmsmenu == 22}<link href="{$content_dir}modules/pm_advancedtopmenu/css/pm_advancedtopmenu_advanced22.css"rel="stylesheet" type="text/css" media="all" /><style>#topmenuexplain { display: none; font-size: 12px;}.resumecat { background: none repeat scroll 0 0 #F0F0F0; color: #000000; display: none; margin: 15px 0 10px; padding: 8px 7px;}.content_scene_cat { border: 0px solid #CCCCCC !important; border-radius: 3px 3px 3px 3px; box-shadow: 0 0px 0px #E2E2E2 !important; padding: 5px;}.warning { background: none repeat scroll 0 0 #FFFFE0; border: 1px solid #E6DB55; font-size: 13px; margin: 0 0 10px; padding: 10px; display: none;}.content_scene_cat .cat_desc .lnk_top { background: url("../img/arrow_right_1.png") no-repeat scroll 100% 4px transparent; color: #0088CC; padding: 0 10px;float: right;}.content_scene_cat .cat_desc .lnk_more { background: url("../img/arrow_right_1.png") no-repeat scroll 100% 4px transparent; color: #0088CC; padding: 0 10px;display: none;}</style>{else}<link href="{$content_dir}modules/pm_advancedtopmenu/css/pm_advancedtopmenu_advanced{$mycatmenu}{if $mycatmenu == ''}{$mycatmenu1}{/if}.css" rel="stylesheet" type="text/css" media="all" /> {/if} Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2013 Share Posted September 29, 2013 it's hard to say what's going on there, can you shed some light on it? why you think that "mycmsmenu is not working any more" can you explain what exactly doesn't work? you've got some error messages? blank page? or what? 1 Link to comment Share on other sites More sharing options...
ahmed1136 Posted September 29, 2013 Author Share Posted September 29, 2013 Hey vekia i have website http://yo-yee.com/ function is working but on http://flashcards-spanish.com/ this which have 1.5.5.0 not working header.txt Link to comment Share on other sites More sharing options...
ahmed1136 Posted September 29, 2013 Author Share Posted September 29, 2013 This function is not working {if $page_name == 'cms' && $mycmsmenu == 22} i have the same issue on product page as well , where && operater i think given problem , Regards Link to comment Share on other sites More sharing options...
ahmed1136 Posted September 29, 2013 Author Share Posted September 29, 2013 The actual issue is, when anybody clicks on a category page ( Starter, Step-Up e.g.) the company logo and ground line should change into the category COLOR too ( pink, green, purple e.g.) from the top menu. The top menu is working fine in 1.4.7 , visible on domain www.yo-yee.com , but it does not work on www.flashcards-spanish.com after upgrading the shopping cart from 1.4.7 to 1.5.5 . Does anybody has an idea or know how to fix that? Thanks a lot for any input or inspiration!!! Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2013 Share Posted September 29, 2013 can you insert somewhere before the if condition this: {$mycmsmenu} i suppose that this variable is empty Link to comment Share on other sites More sharing options...
ahmed1136 Posted September 29, 2013 Author Share Posted September 29, 2013 Yes Its Empty , can you help how to get the value in it , i did check in classes/FrontController.php at line 273 'mycmsmenu' => $_GET['id_cms'], from where its calling ,Regards Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2013 Share Posted September 29, 2013 but where you've got this menu? i'm trying to to localize it on both sites but i can't - both of them looks the same Link to comment Share on other sites More sharing options...
ahmed1136 Posted September 29, 2013 Author Share Posted September 29, 2013 i got the issue its need $smarty.get.id_cms insted of $mycmsmenuThanks for the Help and reply Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2013 Share Posted September 29, 2013 thank you for information and for pasting here your solution im going to mark this thread as [sOLVED] btw. welcome on board! Link to comment Share on other sites More sharing options...
ahmed1136 Posted September 30, 2013 Author Share Posted September 30, 2013 Thanks but one thing still confusing , what will be $mycatmenu1 code for this like how i write it as $smarty.??? I used $smarty.get.id_cms insted of $mycmsmenu then what will be for $mycatmenu1 Regards Link to comment Share on other sites More sharing options...
Recommended Posts