0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Adding module outside template

    • VIGA's Avatar
    • VIGA
    • Newbie
    • Posts: 11
    • Thanks: 0

    Adding module outside template

    Posted 13 years 5 months ago
    • Hello everyone,

      I read an old topic about this issue earlier, but the link doesn't work anymore.
      I have the radiance template and I was wondering if it was possible to place the RokTwittie module outside the template.

      I know I can't right now, because there isn't a position configured there. Is there any tutorial on how to do this or someone that can help me?

      Thanks in advance,

      Kaj
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Adding module outside template

    Posted 13 years 5 months ago
    • Outside the template?

      I dont understand that? the roktwittie module can sit in any position including header, footer.

      The entire page is the template, so where else could it go?
    • Kiss my RSS
  • Re: Adding module outside template

    Posted 13 years 5 months ago
    • VIGA's Avatar
    • VIGA
    • Newbie
    • Posts: 11
    • Thanks: 0

    Re: Adding module outside template

    Posted 13 years 5 months ago
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Adding module outside template

    Posted 13 years 5 months ago
    • Hmm its not an ideal situation, the website template has been built to accept all resolutions from 800x600+
      If your on 1024 x 768 you will see the view you captured above, if they are on 800x600 they will only see the main template part.

      it would be a big job to create a new position at the right of the template, but you could force the position using CSS if you can get the module on the page...

      not an easy thing to do tbh with you,
    • Kiss my RSS
  • Re: Adding module outside template

    Posted 13 years 5 months ago
    • Why can't you publish to a madeup 'position' and then use css to position it? The position doesn't have to actually be in the template already . . . or if not, publish it to a position that doesn't show, such as the notifications area. Just remember to add a .css class to the module itself so that you can style it.
    • CMYKreative : Graphic Design , Web Design , Printing , Banner Ads , Branding and more.
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Adding module outside template

    Posted 13 years 5 months ago
    • VIGA's Avatar
    • VIGA
    • Newbie
    • Posts: 11
    • Thanks: 0

    Re: Adding module outside template

    Posted 13 years 5 months ago
    • Thanks a lot all.
      Adamck the code you send me in the link. In which file do I place this code?
      And CMYKreative I assume you mean I make a new #notifications in the template.css in the folder of the template?

      Is this correct? I can try both.

      Thanks,

      Kaj
  • Re: Adding module outside template

    Posted 13 years 5 months ago
    • I don't know what module positions you have available, but easiest thing to do is to publish it to one that is rarely used and then add a class to the module itself and style accordingly. Alternatively you can simply add your own "position" in the module position, it doesn't have to be within the template already.
    • CMYKreative : Graphic Design , Web Design , Printing , Banner Ads , Branding and more.
    • VIGA's Avatar
    • VIGA
    • Newbie
    • Posts: 11
    • Thanks: 0

    Re: Adding module outside template

    Posted 13 years 5 months ago
    • So I created a position, but I don't exactly know how to style it, because the position is in the middle of the page.

      I added the position to the index.php with the following line:

      <?php /** Begin Twitter **/ if ($gantry->countModules('twitter')) : ?>
      <div id="twitter">
      <?php echo $gantry->displayModules('twitter','standard','standard'); ?>
      <div class="clear"></div>
      </div>
      <?php /** End Twitter **/ endif; ?>

      And the template.css is now like this:

      /* Twitter */
      #twitter {float: right;position: relative;}

      Also another question. Is it even worth trying, because AdamCK said that you can't even look outside the template in 800x600 and I tested this and he is right.

      Thanks,

      Kaj

Time to create page: 0.098 seconds