-
AuthorPosts
-
yakusa Friend
yakusa
- Join date:
- January 2012
- Posts:
- 32
- Downloads:
- 5
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 10 times in 1 posts
January 8, 2013 at 8:39 am #183752Hello,
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!3 users say Thank You to yakusa for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 9, 2013 at 10:21 am #479061Hi,
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
-
AuthorPosts
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