-
AuthorPosts
-
scarney Friend
scarney
- Join date:
- August 2010
- Posts:
- 123
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 5 times in 1 posts
October 25, 2010 at 1:07 am #155666I am wondering how I might add a position to JA Teline III. I would like to add a position below col-mass1 where I could create a dark bordered area for loading some content. I noticed that the index.php file does not have the positions in it like I expected. I did find some positions in the /layouts/ folder in the file default.php. Is this the place I would have to edit to add a position below col-mass1?
And, if so, could you show me what that should look like?
Thank you, Sean Carney
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
October 25, 2010 at 11:25 am #360452You can assign your module to col-mass2 position
<blockquote>
where I could create a dark bordered area for loading some content.</blockquote>Taking reference from this tutorial:::
http://www.joomlart.com/forums/topic/module-class-suffix-styles-basic-to-enhance-your-modules-2/
You can add this at end of template.css file ::
#ja-wrapper .moduletableborder {border:2px solid #000;}
and then, add this for specific module where you wish suffix to be assigned::
border
scarney Friendscarney
- Join date:
- August 2010
- Posts:
- 123
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 5 times in 1 posts
October 25, 2010 at 11:53 am #360461Thank you so much for your reply. I thought about col-mass2 but that is not where I want the module to appear. I want to have a module appear just below col-mass1.
However, if there is a way for me to change the location of col-mass2 then that would be a consideration.
Thank you again for your reply!
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
October 25, 2010 at 5:53 pm #360497<blockquote>I want to have a module appear just below col-mass1.
However, if there is a way for me to change the location of col-mass2 then that would be a consideration.</blockquote>
How about moving this code in /templates/ja_teline_iii/layouts/blocks/right.php file :::
<?php
$pos = $this->getPositionName (‘right-mass-bottom’);
if ($this->countModules($pos)): ?>
<div class=”ja-mass ja-mass-bottom clearfix”>
<jdoc:include type=”modules” name=”<?php echo $pos;?>” style=”JAxhtml” />
</div>
<?php endif; ?>below ::
<div class=”ja-mass ja-mass-top clearfix”>
<jdoc:include type=”modules” name=”<?php echo $pos;?>” style=”JAxhtml” />
</div>
<?php endif; ?> -
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by aman204 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum