0
Welcome Guest! Login
0 items Join Now

RokNav with Gantry Functions / Menustyling

    • HGI's Avatar
    • HGI
    • Newbie
    • Posts: 19
    • Thanks: 0

    RokNav with Gantry Functions / Menustyling

    Posted 12 years 10 months ago
    • Hello together

      the Gantry Template espacaly the Gantry Template Navigation is pretty cool.

      My target is to setup in my self made / non RT Template - Joomla Template excact this menu but with the "gantry-fusion" Template.

      The Menu Grouping is important for me:

      So here my Step by Step Way:

      1. Installation of
      + Gantry - gantry_joomla_framework-3.1.4.zip
      + RokNav Module 3.0

      2. Copy File to my Template Folder:
      css/ fusionmenu.css
      css/ style1.css
      lib/gantry/gantry.php
      html/mod_roknavmenu

      3. Add the Gantry to my Template like this:
      <?php
      require_once('lib/gantry/gantry.php');
      ?>
          <head>
              <?php
                  $gantry->displayHead();
                  $gantry->addStyles(array('template.css','joomla.css','style.css'));
              ?>
          </head>
          <body>
       
          
      <?php if($this->countModules('navigation')) : ?>    
       
      [u]                    <jdoc:include type="modules" name="navigation" style="xhtml" />[/u]
       
      <?php endif; ?> 
          </body>
      <?php
      $gantry->finalize();
      ?>

      My Problem it's not realy working: It doesn't show the menu. But my first question is. Is this Step by Step way right or is an other way better.

      Thank you for helping
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: RokNav with Gantry Functions / Menustyling

    Posted 12 years 9 months ago
    • Hi, since your trying to develop a non RT template I can't really say how you have that set up or offer support for it. My best guess is that you may not have your module positions set up correctly and that is why the menu is not showing. There is a lot going on with Gantry, you may be missing a lot of stuff, templateDetails.xml and how it relates to index.php is a huge part of the Gantry Framework, unless you have something similar in yours it might not work.

      Might I suggest that you start with a blank Gantry Template, not the framework, the template. You can download it from the gantry site. You can edit the template details and completely customize it to become your own, and all of the heavy lifting is already done. I've been using that on my sites that need fully customized templates and it works great. Just a tip.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.050 seconds