Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pulldown Menus
#3
Connie Wrote: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

I've modified these two lines in template.php:


Code:
<div id="templatemo_menu">
          <ul>
<?php get_i18n_navigation(return_page_slug(),0,0,i18n_showmenu); ?>
</ul>

... and ....

Code:
<div id="news_box">
                       <?php get_i18n_component('sidebar'); ?>
                <div class="cleaner"></div>

... and in file /admin/edit.php i've added these lines of code:

Code:
if ($id)
{ ..... }

else
{
      if (isset($_GET['parent'])) $parent = $_GET['parent'];
      if (isset($_GET['template'])) $template = $_GET['template'];
      if (isset($_GET['metak'])) $metak = $_GET['metak'];
      if (isset($_GET['metad'])) $metad = $_GET['metad'];
      if (isset($_GET['menu-enable'])) $menuStatus = $_GET['menu-enable'];
      if (isset($_GET['menu-order'])) $menuOrder = $_GET['menu-order'];
      if (isset($_GET['private'])) $private = $_GET['private'];
      if (isset($_GET['title'])) $title = $_GET['title'];
      if (isset($_GET['menu'])) $menu = $_GET['menu'];
      if (isset($_GET['newid'])) $url = $_GET['newid'];
    $buttonname = i18n_r('BTN_SAVEPAGE');
}

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.
Reply


Messages In This Thread
Pulldown Menus - by drviolino - 2011-10-20, 01:52:02
Pulldown Menus - by Connie - 2011-10-20, 06:02:57
Pulldown Menus - by drviolino - 2011-10-20, 15:43:40
Pulldown Menus - by Connie - 2011-10-20, 16:39:24
Pulldown Menus - by mvlcek - 2011-10-20, 16:52:25
Pulldown Menus - by drviolino - 2011-10-20, 17:10:30
Pulldown Menus - by Connie - 2011-10-20, 18:00:44
Pulldown Menus - by drviolino - 2011-10-20, 20:29:57
Pulldown Menus - by Lithie - 2011-10-21, 00:46:36
Pulldown Menus - by drviolino - 2011-10-21, 15:46:34



Users browsing this thread: 1 Guest(s)