0
Welcome Guest! Login
0 items Join Now

Adding module area above right module in RokWebify?

    • Boostman's Avatar
    • Boostman
    • Sr. Rocketeer
    • Posts: 142
    • Thanks: 0

    Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • What I am trying to accomplish is to add an area above the right module position, so that it mimics Colormatic. The reason I want this is so I can add a full width rotating image above the main content and right module but below the header and menu on top, if that makes sense.

      I really don't need more then 2 module positions added, but even just 1 would do. I can post an image if needed to better describe this if it is needed.
    • It's not wise to mess with a wookiee!
    • Boostman's Avatar
    • Boostman
    • Sr. Rocketeer
    • Posts: 142
    • Thanks: 0

    Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • Ok I followed the following tutorial:

      BROKEN LINK REMOVED

      This added the modules position user 9, but I want the user 1, user 2, and now user 9 to expand the width of the template so that it is above the right module.

      Any help there?
    • Last Edit: 8 years 3 months ago by Kat05.
    • It's not wise to mess with a wookiee!
  • Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • Maybe add the code above <div id="mainbody"> ?
    • James Spencer / Developer & Support / Hull, UK
    • Boostman's Avatar
    • Boostman
    • Sr. Rocketeer
    • Posts: 142
    • Thanks: 0

    Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • Ok that worked, now one additional thing and hopefully the last.

      How do I set a color for the background of that module position? As of right now it just seems to be transparent and the background gradient shows up.
    • It's not wise to mess with a wookiee!
  • Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • Boostman's Avatar
    • Boostman
    • Sr. Rocketeer
    • Posts: 142
    • Thanks: 0

    Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • I'm glancing this over, but this seems to deal more with actual module customization then the module position, correct? For example in the Colormatic theme style #8 I recreated the module postion that is colored green as a background, which I think is controlled by something other then what this tutorial describes.
    • It's not wise to mess with a wookiee!
  • Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • Well, the tutorial goes into all module code itself but for your situation it depends on your module code

      So for example if you wrapped the module code in <div id="custom_module"> then you would use
      #custom_module {
      background: #fc0;
      }
    • James Spencer / Developer & Support / Hull, UK
    • Boostman's Avatar
    • Boostman
    • Sr. Rocketeer
    • Posts: 142
    • Thanks: 0

    Re: Adding module area above right module in RokWebify?

    Posted 16 years 6 months ago
    • Here is what I did to add the new module position over the right position so that it will span the entire width of the page. (index.php)
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <div id="user9">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php if(mosCountModules('user9')) : ?>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td class="usermodules">
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <?php mosLoadModules('user9', -2); ?>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </td>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php endif; ?>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  </div>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
       
                <div id="mainbody">
                     <table class="mainbody" cellspacing="0" cellpadding="0">


      And here is what I did to add the color I wanted to the background of the module postion. (template CSS file)
      div#user9 {
      background: #9E0508;
      }


      thanks for all the help and I just wanted to share the code so others could reference if needed.
    • It's not wise to mess with a wookiee!

Time to create page: 0.054 seconds