-
AuthorPosts
-
ecology10 Friend
ecology10
- Join date:
- July 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
September 20, 2008 at 9:05 pm #133558Hi,
I am wondering if there is any way to add a module position on top of left and right module position. Basically a module position to show slide show in a vertical aspect. So where that module is activated the left and right don’t show, but instead a module position that occupying both spaces in a bigger module. And in other places I want to still use the left and right position. I don’t want to use them simultaneously.All your help is appreciated.
Thank you,
ecology10Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 23, 2008 at 9:05 am #271839Hi ecology10 !
You can do it following way below :
Open index.php file in templates/ja_labra folder, find following code section at about line 185 :
<!-- BEGIN: COLUMNS -->
<div id="ja-colwrap">
<?php if ($ja_left) { ?>
change to :
<!-- BEGIN: COLUMNS -->
<div id="ja-colwrap">
<div id="masscol"><!-- add module here --></div>
<?php if ($ja_left) { ?>
ecology10 Friendecology10
- Join date:
- July 2008
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
October 5, 2008 at 11:47 pm #273915I am sorry for not relpying right after, but i will check it out and let you know how it looks.
Thanks
ecology10December 6, 2008 at 2:38 am #281514<em>@hainn84 81504 wrote:</em><blockquote>Hi ecology10 !
You can do it following way below :
Open index.php file in templates/ja_labra folder, find following code section at about line 185 :
<!-- BEGIN: COLUMNS -->
<div id="ja-colwrap">
<?php if ($ja_left) { ?>
change to :
<!-- BEGIN: COLUMNS -->
<div id="ja-colwrap">
<div id="masscol"><!-- add module here --></div>
<?php if ($ja_left) { ?>
</blockquote>
Sadly this didn’t work for me – maybe I need to add something else too?The template briefly shows the new module position (empty) when you refresh the page, but as the page loads the left and right modules simply move up into the space. Even if you have something in the module it doesn’t show. I tried clicking on the “refresh modules” button but still nothing.
Ideally it would be good to have a wide module that could fit in above the left and right modules below, but collapse when not needed. Is this possible?
Thanks!
Made some progress using this slightly fuller code
<!-- BEGIN: COLUMNS -->
<div id="ja-colwrap">
<!--BEGIN VIDEO-->
<div id="video" class="clearfix">
<jdoc:include type="modules" name="video" />
</div>
<?php if ($ja_left) { ?>
<div id="ja-col1">However, on pages where either left or right columns are empty the wider video module spills over the edge of the template. Clearly need some CSS to specify the width of the module, but do I also need some extra code in the index.php to make the template recognise when this is happening?
I will experiment, but if any kind person knows the answer effortlessly and could let me know what I need to add it would be greatly appreciated!
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by bapafm 16 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum