Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • antesan Friend
    #1007347

    I would like to add a new module position in Template Medicare before Auto
    component. The module position should be exactly the width as the "Auto component" and the opposite side of "Auto mast-col"

    I have already made an own theme and own block in _ja_medicaretpls.

    Position & Responsive Configuration: Default-content-right
    How do I do this?
    Thanks in advance..

    Pankaj Sharma Moderator
    #1007358

    Hi
    here is documentation for adding a new position in template.
    You have to add the position in the /tpls/block/mainbody/
    Add the position in the mainbody file that you are using in layout.

    Regards

    antesan Friend
    #1008839

    Hi,
    I have tested this without any luck. I do not think the dokumentation covers this exactly when you need to change the mainbody. Is there any other example or document that you can give me?
    Regards

    Pankaj Sharma Moderator
    #1008840

    Hi could u give me screenshot how u want the position to display.
    The documentation is only for how to create module position.
    Define position width and style is custom works

    antesan Friend
    #1008948

    Thanks for helping me! The position should be exactly the width as the "Auto component" and the opposite side of "Auto mast-col" before (above) the component.

    Regards


    1. joomlart_medicare_new_module_position
    Pankaj Sharma Moderator
    #1008953

    Hi
    Open file
    /templates/ja_medicare/tpls/blocks/mainbody/two-sidebar-right.php

    Add below code after line 19

        <div class="t3-mastcol <?php $this->_c($vars['mastcolnew']) ?>">
                            <jdoc:include type="modules" name="<?php $this->_p($vars['mastcolnew']) ?>" style="T3Xhtml" />
                        </div>
    

    Here : http://prntscr.com/e5xz63

    Module position is mastcolnew

    Regards

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

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

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