Pulldown Menus - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Pulldown Menus (/showthread.php?tid=2211) |
Pulldown Menus - drviolino - 2011-10-20 Hello i'm new with getsimple and i have a little question... i downloaded all i18n plugins but i can not implement pulldown menus in theme vtbfree-3, i've modified template.php but nothing please help... (sorry but my english is not good). Pulldown Menus - Connie - 2011-10-20 welcome here! Please show us what you modified in the template, you can add the code here in a post and mark it as code Pulldown Menus - drviolino - 2011-10-20 Connie Wrote:welcome here! I've modified these two lines in template.php: Code: <div id="templatemo_menu"> ... and .... Code: <div id="news_box"> ... and in file /admin/edit.php i've added these lines of code: Code: if ($id) if in the line ... php get_i18n_navigation(return_page_slug(),0,0,i18n_showmenu) ... i replace the 0,0 with 0,1 or another value the menu become dephaced. Pulldown Menus - Connie - 2011-10-20 there is no need to modify the admin/edit.php in my opinion when the plugins are activated it is enough to edit the template but unfortunately I cannot test now with that template for you as I have renovation in the house and no time to sit at the computer, sorry PS: I found time, I activated the theme at my local server and did not edit any files except the template.php Code: <ul> you must tell how many subpages you want to show, the numbers represent: minlevel and maxlevel so if you set the levels to "0" nothing will be shown I got a menue with sub-levels, but for sure, as mvlcek wrote as well, you must edit the CSS because that template is not done for a multi-level menue and needs styling Pulldown Menus - mvlcek - 2011-10-20 drviolino Wrote:I've modified these two lines in template.php: You definitely need to use get_i18n_navigation(return_page_slug(),0,1,I18N_SHOW_MENU) (case!), but you also need to define some styles for the pulldown menu in your CSS (the minimum of styles - which won't look nice, but probably works - is described here). Pulldown Menus - drviolino - 2011-10-20 i've modified ... but nothing it doesn't work ... i've attached the template.php and the .css, can you read these two files and tell me what's wrong.... sorry for my english... and my little brain Pulldown Menus - Connie - 2011-10-20 why not show us the URL of your site? Pulldown Menus - drviolino - 2011-10-20 www.reunia.com - site under construction Pulldown Menus - Lithie - 2011-10-21 you sure you've add the pages you want in the menu?? (Edit page -> Options) Because looking at the source of your site, there is no submenu so it can't be display Also, I took a quick look at your template and you need to change your css where you've add the code from mvlcek. It's not .templatemo_menu but #templatemo_menu for this template after that it should work basicly Pulldown Menus - drviolino - 2011-10-21 Lithie Wrote:you sure you've add the pages you want in the menu?? (Edit page -> Options) Thank you very much it works...!!!!! |