ThemeRepublic

Premium Joomla Templates

  • Categories
    Categories
    View categories that are created for the site and filter discussions by categories.
TomMorello on Monday, September 03 2012, 08:57 AM

the width of the moduls

0
Hi, have another question.
I insert a minicalendar (view of the month) of jEvents into my Homepage into modul "user11". So far so good.
The Problem now. Because the moduls user12 until user15 are not in use the calendar in modul user11 is stretched to the whole width.
Is it possible to fix the width of the modul user11 in its default size. (The default size is the width the modul user11 would have when user12 - user15 would be in use).

Thanks for help.
Resolved
The discussion has been resolved.
       
  • Replied by zahir on Monday, September 03 2012, 11:20 AM · Hide · #1
    Hi Tom,

    So you only intend to use user11 and not user12-user15 (whilst keeping user11 to approx 20% of the width? If this is the case, then you could modify the layout xml file of the template to set the width of the user11 module and remove the unused modules as shown below:

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    	<!--Extra css load for this layout-->
    	<stylesheets>
    	</stylesheets>
    	<blocks name="top" style="xhtml">
    		<block name="header" type="header" main-inner="1"></block>
    		<block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    		<block name="mainnav" type="mainnav" main-inner="1"></block>
    	</blocks>
    	<blocks name="middle" colwidth="22">
    		<block name="content-mass-top" type="spotlight" style="JArounded">user6,user7,user8,user9,user10</block>
    		<block name="left1" style="JArounded">left</block>
    		<block name="right1" style="JArounded">right</block>
    	</blocks>
    	<blocks name="bottom" style="xhtml">
    		<block name="botsl" type="spotlight" style="JArounded"  totalwidth="20">user11</block>
    		<block name="botsl2" type="spotlight"  style="JArounded" main-inner="1" special="right" specialwidth="40">user16,user17,user18,user19</block>
    		<block name="navhelper" type="navhelper" main-inner="1"></block>
    		<block name="footer" type="footer"></block>
    	</blocks>
    </layout>


    The key change in the snippet above is shown below:
    <block name="botsl" type="spotlight" style="JArounded"  totalwidth="20">user11</block>

    FYI: In your original layout, this is probably as follows:
    <block name="botsl" type="spotlight" style="JArounded">user11,user12,user13,user14,user15</block>
    What we've done is removed user12-user15 and set the total width to 20.

    Hope that helps!
  •  
  • Replied by TomMorello on Tuesday, September 04 2012, 04:03 PM · Hide · #2
    a big THANKS to zahir.
    the problem is solved. :D
    1 vote by zahir
  •  
  •  
    Replied by zahir on Tuesday, September 04 2012, 05:40 PM · Hide · #3
    Awesome :)
Your Response
Please login first in order for you to submit comments

Recent Themes

The Joomla!™ name is used under a limited license from Open Source Matters in the United Statesand other countries.
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.