-
AuthorPosts
-
June 14, 2011 at 6:33 pm #165217
I want to add two module positions (side by side) in the the form of two columns BELOW ‘Content-top’ but BEFORE ‘content. How do I do this?
http://cubjam.clyderegion.net/
Thanks.khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 15, 2011 at 4:48 pm #396533<em>@fmolesey 247041 wrote:</em><blockquote>I want to add two module positions (side by side) in the the form of two columns BELOW ‘Content-top’ but BEFORE ‘content. How do I do this?
http://cubjam.clyderegion.net/
Thanks.</blockquote>– You add this code into pluginssystemjat3jat3base-themesdefaultpagedefault.php
<?php
//new-position
if($this->hasBlock('new-position')) :
$block = &$this->getBlockXML ('new-position');
$this->showBlock ($block);
endif; ?>
before
<div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">
– You login backend > Extensions > template management > ja_events > layout tab > edit default layout. Add this code
<block name="new-position" type="spotlight" main-inner="1">newposition1, newpostion2</block>
after
<blocks name="middle" colwidth="26" main-inner="1" fixheight="1">
– You set position of modules is newposition1 or newposition22 users say Thank You to khoand for this useful post
June 15, 2011 at 5:21 pm #396536Thanks. How do I change the width of the second column? It is messed up.http://cubjam.clyderegion.net/
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 16, 2011 at 7:04 pm #396755<em>@fmolesey 247274 wrote:</em><blockquote>Thanks. How do I change the width of the second column? It is messed up.http://cubjam.clyderegion.net/</blockquote>
You replace
<block name="new-position" type="spotlight" main-inner="1">newposition1, newpostion2</block>
with
<block name="new-position" type="spotlight" main-inner="1" special="right" specialwidth="25">newposition1, newpostion2</block>
special=”right” specialwidth=”25″ mean newposition2 (right) has 25% of total width1 user says Thank You to khoand for this useful post
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 16, 2011 at 7:11 pm #396758With regards to Khoand’s second post it is a good idea to put your edited pluginssystemjat3jat3base-themesdefaultpagedefault.php
file in templates>ja_events>page>default.php (you might have to create the page directory. That way if you upgrade the plugin your changes will not be lost.June 16, 2011 at 7:28 pm #396765Done all of the above and set width to 50 and the right hand module’s location and width are still not displaying correctly.
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by khoand 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum