test
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • spiralgr Friend
    #662464

    Hello is there a way i can add a new module position between sidebar1 and sidebar 2 and above articles, in blog layout? I want something like the image.

    pavit Moderator
    #662493

    Hi

    For which layout you want this ?

    TomC Moderator
    #662494

    Perhaps the following tutorial may be of assistance —> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/

    spiralgr Friend
    #662501

    for blog layout

    spiralgr Friend
    #662502

    <em>@TomC 487764 wrote:</em><blockquote>Perhaps the following tutorial may be of assistance —> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/</blockquote>
    This post is back from 2013 is it ok to follow?
    Also in step 5 has something that doesn’t make sense :

    <blockquote>1. Go to Joomla Administration backend >> Extensions >> Module Manager.
    2. Click “New” icon
    3. Select “Custom_HTML” in the list of module types
    4. Name your module
    5. Click “Select position” and scroll down to find new position (in this case, “banner”)
    6. Configure your module parameters as needed. </blockquote>

    TomC Moderator
    spiralgr Friend
    #662507

    i have followed the steps in this thread http://www.joomlart.com/forums/topic/add-a-new-position/
    (which is exactly what i want) and the new position appear both in the template layout and in position selection when i create a new module. But it doesn’t seem to work.

    Saguaros Moderator
    #662541

    You can try the solution in this thread: http://www.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576

    Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.

    Saguaros Moderator
    #745729

    You can try the solution in this thread: http://id.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576

    Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.

    spiralgr Friend
    #662654

    <em>@Saguaros 487830 wrote:</em><blockquote>You can try the solution in this thread: http://www.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576

    Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.</blockquote>

    I have done that again everything seems correct in the backend but the position do not appear in the frontend

    This is how two sidebar.php look like now, i believe it is correct.

    <div id="t3-mainbody" class="container t3-mainbody">
    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12 col-md-6 col-md-push-3">
    <!-- topbanner -->
    <?php if ($this->countModules('topbanner')) : ?>
    <div class="span12 <?php $this->_c('topbanner')?>">
    <jdoc:include type="modules" name="<?php $this->_p('topbanner') ?>" style="T3xHtml" />
    </div>
    <?php endif ?>
    <!--//topbanner-->
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    <!-- SIDEBAR 1 -->
    <div class="t3-sidebar t3-sidebar-1 col-xs-6 col-md-3 col-md-pull-6 <?php $this->_c($vars['sidebar1']) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR 1 -->

    <!-- SIDEBAR 2 -->
    <div class="t3-sidebar t3-sidebar-2 col-xs-6 col-md-3 <?php $this->_c($vars['sidebar2']) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR 2 -->

    </div>

    i have also add the position in templateDetails.xml

    spiralgr Friend
    #745812

    <em>@Saguaros 487830 wrote:</em><blockquote>You can try the solution in this thread: http://id.joomlart.com/forums/topic/create-module-position-right-under-content/#post-576576

    Guy in that thread adds a new position under main content, if you want to add above main content, just add block code for new position above the messages and component block.</blockquote>

    I have done that again everything seems correct in the backend but the position do not appear in the frontend

    This is how two sidebar.php look like now, i believe it is correct.

    <div id="t3-mainbody" class="container t3-mainbody">
    <div class="row">

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12 col-md-6 col-md-push-3">
    <!-- topbanner -->
    <?php if ($this->countModules('topbanner')) : ?>
    <div class="span12 <?php $this->_c('topbanner')?>">
    <jdoc:include type="modules" name="<?php $this->_p('topbanner') ?>" style="T3xHtml" />
    </div>
    <?php endif ?>
    <!--//topbanner-->
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>
    <!-- //MAIN CONTENT -->

    <!-- SIDEBAR 1 -->
    <div class="t3-sidebar t3-sidebar-1 col-xs-6 col-md-3 col-md-pull-6 <?php $this->_c($vars['sidebar1']) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR 1 -->

    <!-- SIDEBAR 2 -->
    <div class="t3-sidebar t3-sidebar-2 col-xs-6 col-md-3 <?php $this->_c($vars['sidebar2']) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar2']) ?>" style="T3Xhtml" />
    </div>
    <!-- //SIDEBAR 2 -->

    </div>

    i have also add the position in templateDetails.xml

    Saguaros Moderator
    #662833

    You can PM me the ftp account of your site and tell me the new position you want to add and the module would be shown there.

    spiralgr Friend
    #663185

    <em>@Saguaros 488026 wrote:</em><blockquote>You can PM me the ftp account of your site and tell me the new position you want to add and the module would be shown there.</blockquote>

    I have sent you a private message. Thank you

    Saguaros Moderator
    #663193

    After checking your site, I see that you changed the wrong file so that it didn’t work.

    Let’s take this page as an example: yoursite.com/joom/thessalia/geography

    You don’t assign any module to the sidebar-right so this page will have layout: sidebar-left + main content . This means that you will need to edit the file: /templates/ja_hotel/tpls/blocks/mainbody/one-sidebar-left.php instead of ‘two-sidebar.php’

    You can apply this change to all of files in mainbody block: /templates/ja_hotel/tpls/blocks/mainbody/ so that you will not have to care about which layout is using.

    I just updated for you and you can see that the topbanner module is showing now.

    Have a nice day!!!

    spiralgr Friend
    #663205

    Perfect thank you very much.

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

This topic contains 15 replies, has 4 voices, and was last updated by  spiralgr 9 years, 4 months ago.

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