Menu

2.6.x themes vs. 3.x themes

Help
John T
2004-02-26
2004-02-26
  • John T

    John T - 2004-02-26

    Collective,

    I see the themes have been updated on cvs.  I was wondering how well my old theme that was a modiffied version of the Ocean theme will work?

    I suspect the page will remain unchanged with 3.0 or will I have errors if I utilize the older theme?

    Just thinking ahead.....

    John

     
    • John Finlay

      John Finlay - 2004-02-26

      Older themes should work as they are, they just won't have all the nifty new features like the drop down menus.

      The drop-down menus are fairly straightforward to create and customize.  All you have to do is setup a menu array that looks like this:

      //-- charts menu
      $menu = array();
      $menu["label"] = $pgv_lang["charts"];
      $menu["labelpos"] = "down";
      $menu["icon"] = "$PGV_IMAGE_DIR/$PGV_PEDIGREE_IMG";
      $menu["link"] = "pedigree.php";
      $menu["class"] = "menuitem";
      $menu["hoverclass"] = "menuitem_hover";
      $menu["flyout"] = "down";
      $menu["submenuclass"] = "submenu";
      $menu["items"] = array();
      print_menu($menu);

      The above is a section of the charts menu of the standard theme.  I'll be writing some documentation on what all the options do and they values they can have.  I think that this makes it pretty easy to customize the menu and create your own dropdown menus.

      Other than the menus, there have been a few stylesheets added and the metatags.php file has been removed.  Everything else in the themes is the same.

      --John

       
    • John T

      John T - 2004-02-26

      John,

      Sounds great, I was just concerned that something would be broken afterwards.

      John

       

Log in to post a comment.