test
Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • timpennington Friend
    #681137

    I have a module at Home-2, but I don’t see where I can add a Title of the module where it shows up to name the module on the page.

    Here is an example:

    http://goturpin.com/index.php/fall/boys-soccer

    It is the photos of the individual players; how can I get the module to say “Boys Soccer”; the “Show Title” is on, but I don’t think the CSS has a setup to have a title for the module.

    Help?

    pavit Moderator
    #681168

    Hi

    I changed style for module from inherited to html5 in advanced tab and now it is showing module title

    Is this correct ?

    pavit Moderator
    #747248

    Hi

    I changed style for module from inherited to html5 in advanced tab and now it is showing module title

    Is this correct ?

    timpennington Friend
    #681354

    Thanks for the help.

    This wasn’t exactly what I was looking for; I wanted the RED module heading that appears throughout. I thought this would be CSS issue.

    But I saw one other issue; if I have more than 1 home-2 module on the same page, they won’t stack on top of each other like other modules will do; they seem to just connect and be 1 big run-on module; see the photo where two modules are in Home-2 and one of them is named Girls Soccer JV Gold and the other is Girls Soccer Maroon, and the Girls Soccer JV Maroon is stacked on the far right.

    timpennington Friend
    #747291

    Thanks for the help.

    This wasn’t exactly what I was looking for; I wanted the RED module heading that appears throughout. I thought this would be CSS issue.

    But I saw one other issue; if I have more than 1 home-2 module on the same page, they won’t stack on top of each other like other modules will do; they seem to just connect and be 1 big run-on module; see the photo where two modules are in Home-2 and one of them is named Girls Soccer JV Gold and the other is Girls Soccer Maroon, and the Girls Soccer JV Maroon is stacked on the far right.

    pavit Moderator
    #681369

    Hi

    The best way to solve this is to create a new template layout copying default template and add to it new blocks home-4 home-5

    edit this file/templates/ja_teline_v /tpls/blocks/mainbody.php and rename it mainbodysoccer.php

    <?php if ($this->countModules('home-2')) : ?>
    <div class="wrap <?php $this->_c('home-2') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-2') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules('home-3')) : ?>
    <div class="wrap <?php $this->_c('home-3') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-3') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    CHANGE TO :

    <?php if ($this->countModules('home-2')) : ?>
    <div class="wrap <?php $this->_c('home-2') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-2') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules('home-3')) : ?>
    <div class="wrap <?php $this->_c('home-3') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-3') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules('home-4')) : ?>
    <div class="wrap <?php $this->_c('home-4') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-4') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>


    Then open this file /templates/ja_teline_v /tpls/default.php and copy it as defaultsoccer.php
    change the :

    <?php $this->loadBlock('mainbody') ?>
    TO :

    <?php $this->loadBlock('mainbodysoccer') ?>

    Then in your new template layout choose the defaultsoccer layout

    In this way you can publish your modules as you wish

    pavit Moderator
    #747306

    Hi

    The best way to solve this is to create a new template layout copying default template and add to it new blocks home-4 home-5

    edit this file/templates/ja_teline_v /tpls/blocks/mainbody.php and rename it mainbodysoccer.php

    <?php if ($this->countModules('home-2')) : ?>
    <div class="wrap <?php $this->_c('home-2') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-2') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules('home-3')) : ?>
    <div class="wrap <?php $this->_c('home-3') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-3') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    CHANGE TO :

    <?php if ($this->countModules('home-2')) : ?>
    <div class="wrap <?php $this->_c('home-2') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-2') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules('home-3')) : ?>
    <div class="wrap <?php $this->_c('home-3') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-3') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>

    <?php if ($this->countModules('home-4')) : ?>
    <div class="wrap <?php $this->_c('home-4') ?>">
    <div class="container">
    <jdoc:include type="modules" name="<?php $this->_p('home-4') ?>" style="raw" />
    </div>
    </div>
    <?php endif ?>


    Then open this file /templates/ja_teline_v /tpls/default.php and copy it as defaultsoccer.php
    change the :

    <?php $this->loadBlock('mainbody') ?>
    TO :

    <?php $this->loadBlock('mainbodysoccer') ?>

    Then in your new template layout choose the defaultsoccer layout

    In this way you can publish your modules as you wish

    timpennington Friend
    #681383

    Just to be sure, will this new “template” layout affect the rest of my site other than the changes you suggest?

    timpennington Friend
    #747320

    Just to be sure, will this new “template” layout affect the rest of my site other than the changes you suggest?

    pavit Moderator
    #681446

    <em>@timpennington 490216 wrote:</em><blockquote>Just to be sure, will this new “template” layout affect the rest of my site other than the changes you suggest?</blockquote>

    Nothing else will be affected , you have new files and these files will be used ONLY on menu items with assigned template using NEW LAYOUT

    pavit Moderator
    #747372

    <em>@timpennington 490216 wrote:</em><blockquote>Just to be sure, will this new “template” layout affect the rest of my site other than the changes you suggest?</blockquote>

    Nothing else will be affected , you have new files and these files will be used ONLY on menu items with assigned template using NEW LAYOUT

    timpennington Friend
    #681777

    Ok, I did what you directed; I don’t think it worked

    1. I went to the template and selected the defaultsoccer layout
    2. I went to the modules and changed them to Home-4
    3. On this page: http://goturpin.com/index.php/fall/girls-soccer/girls-soccer-jv the modules are still misaligned; Girls Soccer JV Maroon is still hanging out on the far right where the sidebar is

    What did I not do correctly?

    timpennington Friend
    #747562

    Ok, I did what you directed; I don’t think it worked

    1. I went to the template and selected the defaultsoccer layout
    2. I went to the modules and changed them to Home-4
    3. On this page: http://goturpin.com/index.php/fall/girls-soccer/girls-soccer-jv the modules are still misaligned; Girls Soccer JV Maroon is still hanging out on the far right where the sidebar is

    What did I not do correctly?

    pavit Moderator
    #681779

    each module in one position

    home-4 publish 1 module
    home-5 publish 1 module
    home-6 publish 1 module

    at the same way you added the home-4 position you can add new positions home-5 , home-6 , home-7 and so on

    in this way each module will be under each other , not 2 modules in the same position

    Hope was clear in all my posts

    pavit Moderator
    #747564

    each module in one position

    home-4 publish 1 module
    home-5 publish 1 module
    home-6 publish 1 module

    at the same way you added the home-4 position you can add new positions home-5 , home-6 , home-7 and so on

    in this way each module will be under each other , not 2 modules in the same position

    Hope was clear in all my posts

Viewing 15 posts - 1 through 15 (of 29 total)

This topic contains 29 replies, has 3 voices, and was last updated by  Adam M 9 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum