1. Preview July Responsive Business Template - for Joomla! 2.5 & 3.1


    JA Smashboard - June Joomla 2.5 & 3.0 Responsive template Stable version released


    JM Lingerie - June Magento Theme Stable version released


    JA Wall Bundle version 1.0.9 - Now compatible with Joomla! 3.1


    JA Bistro version 2.5.4 - Now available for Joomla! 3.1


User Tag List

+ Reply to Thread
 
Results 1 to 3 of 3
  1. #1
    Licensed Member Expired
    JoomlaTemplate Club Member - Personal License - 1 Year Expired

    Join Date
    Jun 2011
    Location
    Bhilai, India
    Posts
    14
    Points
    39.36
    Downloads
    42
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    8
    Thanked 1 Time in 1 Post

    Module Titles are not showing on the new module positions I created

    I want Content-Mass-Top module to display a couple of my modules in side-by-side layout. So I duplicated the default layout and modified the new layout file to include to positions as follows:

    <block name="content-mass-top">content-mass-top1,content-mass-top2 </block>

    Placing the modules to positions content-mass-top1 and content-mass-top2 did not show my modules side by side.

    So I decided to create a new block named: twocolumn and changed the above text to:

    <block name="content-mass-top" type="twocolumn" >content-mass-top1,content-mass-top2 </block>

    Then I added a twocolumn.php under the blocks folder of my template with the following content:

    // No direct access
    defined('_JEXEC') or die;
    ?>
    <div class="twocolumn clearfix">
    <?php if($this->countModules('content-mass-top1')) : ?>
    <div id="ja-content-mass-top1">
    <jdoc:include type="modules" name="content-mass-top1" />
    </div>
    <?php endif; ?>

    <?php if($this->countModules('content-mass-top2')) : ?>
    <div id="ja-content-mass-top2">
    <jdoc:include type="modules" name="content-mass-top2" />
    </div>
    <?php endif; ?>
    </div>
    After adding some CSS, now my modules show as desired. But there is one problem:

    The module titles are not shown.

    Where do I need to make change to ensure the module titles are displayed.

    I have an ugly work around for this issue. In my work around I hardcode the module titles inside the new twocolumn block.

    Please help.

  2. #2

     Expired

    Join Date
    Feb 2011
    Posts
    5,103
    Points
    10,973.10
    Downloads
    2959
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Thanks
    182
    Thanked 1,240 Times in 1,137 Posts
    You try to replace your code
    Code:
    <block name="content-mass-top" type="twocolumn" >content-mass-top1,content-mass-top2 </block>
    with
    Code:
    <block name="content-mass-top" type="spotlight" style="xhtml">content-mass-top1,content-mass-top2 </block>

  3. The Following User Says Thank You to khoand For This Useful Post:

    cifar24 (04-23-2012)

  4. #3
    Licensed Member Expired
    JoomlaTemplate Club Member - Personal License - 1 Year Expired

    Join Date
    Jun 2011
    Location
    Bhilai, India
    Posts
    14
    Points
    39.36
    Downloads
    42
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    8
    Thanked 1 Time in 1 Post
    That works. I just have to do some minor CSS changes to make it look like how I want. Thanks Khoand.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts