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

    Hello,
    In this thread i want to show You how to add another module position in very flexible template as ja_t3v3_blank is.

    Only thing we need is FTP access to our web server and html editor such as Notepad++

    1) Open templateDetails.xml file located at templates/ja_t3v3_blank folder path,
    Find line <position>debug</position> and add <position>your_new_position</position> in next line

    <blockquote> <positions>
    <position>head-search</position>
    <position>mainnav</position>
    <position>navhelper</position>
    <position>breadcrumbs</position>
    <position>sidebar-1</position>
    <position>sidebar-2</position>
    <position>mast-col</position>
    <position>footer</position>
    <position>home-0</position>
    <position>home-1</position>
    <position>home-2</position>
    <position>home-3</position>
    <position>home-4</position>
    <position>home-5</position>
    <position>position-0</position>
    <position>position-1</position>
    <position>position-2</position>
    <position>position-3</position>
    <position>position-4</position>
    <position>position-5</position>
    <position>position-6</position>
    <position>position-7</position>
    <position>position-8</position>
    <position>position-9</position>
    <position>position-10</position>
    <position>position-11</position>
    <position>position-12</position>
    <position>position-13</position>
    <position>position-14</position>
    <position>position-15</position>
    <position>footer-0</position>
    <position>footer-1</position>
    <position>footer-2</position>
    <position>footer-3</position>
    <position>footer-4</position>
    <position>footer-5</position>
    <position>footer-6</position>
    <position>footer-7</position>
    <position>footer-8</position>
    <position>footer-9</position>
    <position>footer-10</position>
    <position>debug</position>
    <position>your_new_position</position>
    </positions></blockquote>

    2) Find and open mainbody.php file located at /templates/ja_t3v3_blank/tpls/blocks
    Locate:
    <blockquote><!– MAIN CONTENT –>
    <div id=”ja-content” class=”ja-content <?php echo $this->getClass($layout, $col) ?>” <?php echo $this->getData ($layout, $col++) ?>>
    <jdoc:include type=”message” />
    <jdoc:include type=”component” />
    </div>
    <!– //MAIN CONTENT –></blockquote>

    and add <jdoc:include type=”modules” name=”your_new_position” style=”JAxhtml” /> like here:

    <blockquote><!– MAIN CONTENT –>
    <div id=”ja-content” class=”ja-content <?php echo $this->getClass($layout, $col) ?>” <?php echo $this->getData ($layout, $col++) ?>>
    <jdoc:include type=”message” />

    <jdoc:include type=”modules” name=”your_new_position” style=”JAxhtml” />

    <jdoc:include type=”component” />
    </div>
    <!– //MAIN CONTENT –></blockquote>

    3) In Your Joomla Admin Panel open any module and assign to your_new_position. This is good idea to put here image crawler or image slider. This modules will be located just above any of Your news in mainbody area.

    In other way You can add multiple new module positions such as

    <blockquote><!– MAIN CONTENT –>
    <div id=”ja-content” class=”ja-content <?php echo $this->getClass($layout, $col) ?>” <?php echo $this->getData ($layout, $col++) ?>>
    <jdoc:include type=”message” />

    <jdoc:include type=”modules” name=”your_new_position” style=”JAxhtml” />

    <jdoc:include type=”component” />

    <jdoc:include type=”modules” name=”your_new_position_for_social_modules” style=”JAxhtml” />
    </div>
    <!– //MAIN CONTENT –></blockquote>

    In that case any social module (sharing) assigned to your_new_position_for_social_modules will be show just under Your any article on any page as You wish.

    Thats it!
    Regards!

    Saguaros Moderator
    #479061

    Hi,

    Thanks for your contribution, it’s much appreciated.

    We have already included about this in documenation of JAT3V3 framework: http://demo.t3.joomlart.com/joomla30/documentation/105-module-position-system.html

    yakusa Friend
    #479240

    Ouch. I dont know about this documentation You mentioned. Sorry if doubled!
    Regards!

    Saguaros Moderator
    #479367

    keep on posting ,it’s good for community and much appreciated.

    Best Regards

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 11 years, 11 months ago.

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