-
AuthorPosts
-
August 27, 2010 at 8:50 am #153858
How do I display content in the middle & right columns? I am under the impression that content would display across left & right columns if you have no modules enabled in either module position…
I have a Menu Type Item: Article Layout with nothing in the right module, yet the article does not flow to the right….see image:
Incorrect display:
8749
correct display:
8750Thank you & God bless
-
gray Friend
gray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
August 27, 2010 at 2:26 pm #353877The template’s framework has a Layout tab, in which you could adjust columns & modules.
More information is available in the Guideline.
Still, not sure it’s possible to make columns to merge which each other with the help of this Layout framework, but for sure it’s possible by hacking index.phpAugust 27, 2010 at 3:31 pm #353882I don’t know much about the T3 Framework, though it seems powerful & flexible…however, from my understanding, if there is nothing displayed in the right or left module, the main content just expand to fill the space…there’s no “merging”.
I find it baffling that the same menu setups but the displays are quite different. I just want the display to be like my second image.8752
I’m slightly hesitant but if I’m shown exactly where in the code, I don’t mind changing it.
Thank you for your reply…
<em>@gray 191866 wrote:</em><blockquote>The template’s framework has a Layout tab, in which you could adjust columns & modules.
More information is available in the Guideline.
Still, not sure it’s possible to make columns to merge which each other with the help of this Layout framework, but for sure it’s possible by hacking index.php</blockquote>
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
August 27, 2010 at 6:10 pm #353889In Teline III layout/right.php file has such a code
[php]
if ($this->countModules(“$right1 + $right2″)):
?>
<div class=”ja-colswrap clearfix <?php echo $this->getColumnWidth(‘cls_r’); ?>”><?php if ($this->countModules($right1)): ?>
<div class=”ja-col <?php echo $cls_right1;?> column”>
<jdoc:include type=”modules” name=”<?php echo $right1;?>” style=”JAxhtml” />
</div>
<?php endif; ?><?php if ($this->countModules($right2)): ?>
<div class=”ja-col <?php echo $cls_right2;?> column”>
<jdoc:include type=”modules” name=”<?php echo $right2;?>” style=”JAxhtml” />
</div>
<?php endif; ?></div>
<?php endif; ?>
[/php]
The meaning is that divs are rendered only if some modules are assigned to right positions.In T3 framework the approach changed, not it’s managed by layouts. For example, look at the handheld layout – it doesn’t contain left-right sides.
The only issue is that I cannot understand how to link a layout to a menu. In quickstart it’s demonstrating by adding menu items with URL type of link – for example ‘?layouts=right-main-left’
August 27, 2010 at 6:18 pm #353890this is way above my head…what lines of code am I supposed to change…I’m afraid to change something & then mess up the whole site…it happened all the time & I always have to start from scratch again, since I don’t know what I’d messed up.
so with your post…what lines of code am I supposed to modify?
thanks….
<em>@gray 191884 wrote:</em><blockquote>In Teline III layout/right.php file has such a code
[php]
if ($this->countModules(“$right1 + $right2″)):
?>
<div class=”ja-colswrap clearfix <?php echo $this->getColumnWidth(‘cls_r’); ?>”><?php if ($this->countModules($right1)): ?>
<div class=”ja-col <?php echo $cls_right1;?> column”>
<jdoc:include type=”modules” name=”<?php echo $right1;?>” style=”JAxhtml” />
</div>
<?php endif; ?><?php if ($this->countModules($right2)): ?>
<div class=”ja-col <?php echo $cls_right2;?> column”>
<jdoc:include type=”modules” name=”<?php echo $right2;?>” style=”JAxhtml” />
</div>
<?php endif; ?></div>
<?php endif; ?>
[/php]
The meaning is that divs are rendered only if some modules are assigned to right positions.In T3 framework the approach changed, not it’s managed by layouts. For example, look at the handheld layout – it doesn’t contain left-right sides.
The only issue is that I cannot understand how to link a layout to a menu. In quickstart it’s demonstrating by adding menu items with URL type of link – for example ‘?layouts=right-main-left'</blockquote>
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 28, 2010 at 10:41 am #353975Hello thungrac221!
I have check this issue on our demo, everything works well without any modifying codes, i think that the problem is from the menu asginment. you try to check this issue again: you filter the list of modules following to the “right” position and then you re-check those modules: did they disable for that menu ( called “On Goi” ).
If the problem is not still fixed, plz provide me the adminsitrator account via PM or via Your Ticket, i would like to check this issue in detail
September 8, 2010 at 5:02 am #354884Ca’m o”n nhie^`u…Thank you very much…it’s exactly as you said…I still don’t quite understand why they were enabled & why they’re empty…but hopefully have more time to learn…
Thank you for responding….God bless….
<em>@tienhc 191986 wrote:</em><blockquote>Hello thungrac221!
I have check this issue on our demo, everything works well without any modifying codes, i think that the problem is from the menu asginment. you try to check this issue again: you filter the list of modules following to the “right” position and then you re-check those modules: did they disable for that menu ( called “On Goi” ).
If the problem is not still fixed, plz provide me the adminsitrator account via PM or via Your Ticket, i would like to check this issue in detail</blockquote>
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by thungrac221 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-