0
Welcome Guest! Login
0 items Join Now

Having trouble creating new module position

    • Firebride's Avatar
    • Firebride
    • Hero Rocketeer
    • Posts: 415
    • Thanks: 1

    Having trouble creating new module position

    Posted 11 years 1 month ago
    • I have managed to add a new "logo" module position on top of the Header position.

      www.plumbandwood.co.za/testing/

      I followed this instructions:
      gantry-framework.org/documentation/joomla/customize/

      As you can see, it's a bit of a mess now.

      I hope I added the code at step to correctly?
      gantry-framework.org/documentation/jooml...osition-to-index.php

      A couple issues I can see here:

      1. There are 2 logos now?
      2. The logo should be centered?
      3. There is a blue line accross the page bottom of logo position?
      4. The Showcase position module is cut at the top? It's like the new position was created but everything else did not move down?

      Your thoughts

      In the index.php file, this is where I have added my code:



       </head>
          <body <?php echo $gantry->displayBodyTag(); ?><?php echo $gantry->get('header-headroom-enabled') ? ' id="scrollheader"' : '' ;?>>
          <div id="rt-page-surround">
          <?php /** Begin Header Surround **/ if ($gantry->countModules('header') or $gantry->countModules('drawer') or $gantry->countModules('top') or $gantry->countModules('showcase')) : ?> <header id="rt-header-surround"<?php echo $gantry->get('header-headroom-enabled') ? ' class="scrollheader"' : '' ;?>>
          
          <div id="rt-logo">
          <?php echo $gantry->displayModules('logo','standard','standard'); ?>
          <div class="clear"></div>
          </div>
           
          <?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
          <div id="rt-header" class="<?php if ($gantry->get('header-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('header-overlay'); ?><?php endif; ?>">
          <div class="rt-container">
          <?php echo $gantry->displayModules('header','standard','standard'); ?>
          <div class="clear"></div>
          </div>
          </div>
    • Firebride's Avatar
    • Firebride
    • Hero Rocketeer
    • Posts: 415
    • Thanks: 1

    Re: Having trouble creating new module position

    Posted 11 years 1 month ago
    • This post is no longer relevant - how do I delete the post?
  • Re: Having trouble creating new module position

    Posted 11 years 1 month ago
    • You can not delete posts here.

      If it is resolved for you, just do nothing and please do not rename the topic subject to "[SOLVED]Having trouble creating new module position"

      But as hint for others, want heavy customizing the logo:
      Have a look at: Feature override doc

      Files affecting the build and style of the logo:
      If /templates/rt_mytemplate/features/logo.php file exists, just edit. If not copy the file /libraries/gantry/features/logo.php to /templates/rt_mytemplate/features/logo.php and edit the copied file to fit your needs.

      How a logo is built is in file: /templates/rt_mytemplate/features/styledeclaration.php



      If you want to set your logo to a completely new module position or moving positions around, have a look at Customizing Modules in the Gantry Docs
    • Why i am doing what i do? Sometimes it simply came over me!

      Don't forget to hit the THANKS button for those who helped you and for those who need this for their alter ego :)

Time to create page: 0.057 seconds