test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • qpidity Friend
    #920567

    Hi,

    We have one sidebar activated (the right one) and so in the file one-side-bar-right.php I’ve tried to add a new module position underneath the main content component however the new module position isn’t appearing in the template. The strange this is that in the source code I can see the comment code (which is around the code I added), however the module that I have published there isn’t appearing. I have made sure that I’ve added the new module position to templateDetails.xml and also that I have published the module to the correct module position.

    When I go to Layout > Module position I don’t see the new module position appearing anywhere. I attach a copy of what I’m trying to achieve.

    I’d be very grateful for your help.

    Thanks in advance.


    1. T3_V3_Blank_Add_mod_position
    Pankaj Sharma Moderator
    #920744

    Hi
    You can add new module position under the component section in the
    tpls/blocks/mainbody/two-sidebar.php file

    <?php if ($this->countModules('new_position')) : ?>
    <div class=" ADDDYOURCLASS ">
    <jdoc:include type="modules" name="<?php $this->_p('new_position') ?>" style="T3Xhtml" />
    </div>
    <?php endif ?>
    

    http://prntscr.com/auvd52
    And add you style class to give this position a style as per needs .

    Hope it helps .

    qpidity Friend
    #922514

    Hi,

    Thanks for your reply.

    When I add the code to tpls/blocks/mainbody/two-sidebar.php file the module position does not appear and the sidebar no longer appears in the right column as it should -it appears below the main content.

    When I add the code to tpls/blocks/mainbody/one–sidebar-right.php the module does appear again the sidebar appears below the main content instead of in the right column.

    Please advise.

    Thanks

    Pankaj Sharma Moderator
    #922721

    Hi
    is it working for you ? could post a screenshot of issue you are getting on site with site super user details via private reply . So i can take a look on it .

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

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 7 months ago.

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