-
AuthorPosts
-
hcharly Friend
hcharly
- Join date:
- April 2008
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 14
- Thanked:
- 11 times in 1 posts
September 24, 2009 at 10:25 am #144552Hey Guys,
I have a stupid question. 😉
How to make a content displayed as it is in the demo (Layout->Content+Right Column)?
Disabling modules at “Left” position, the left position is displayed empty. I want the content to begin from there.In advance thanks
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
September 26, 2009 at 10:03 am #318675Hi hcharly
– Open templates/ja_trona/index.php file, find this code:
<?php if ($ja_left) { ?>
<!-- BEGIN: LEFT COLUMN -->
<div id="ja-col1">
<div class="ja-innerpad"><?php if ($hasSubnav) : ?>
<div id="ja-subnav" class="moduletable_menu">
<h3>On this page</h3>
<?php if ($jamenu) $jamenu->genMenu (1,1); ?>
</div>
<?php endif; ?><jdoc:include type="modules" name="left" style="xhtml" />
</div>
</div><br />
<!-- END: LEFT COLUMN -->
<?php } ?>
and remove it.
+ Open templates/ja_trona/css/template.css file, find following code:
#ja-content {
clear: both;
display: block;
float: right;
width: 72%;
background: none;
}and change to:
#ja-content {
clear: both;
display: block;
float: right;
background: none;
}hcharly Friendhcharly
- Join date:
- April 2008
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 14
- Thanked:
- 11 times in 1 posts
September 26, 2009 at 1:48 pm #318708Thanks JA Developer,
Doing so, I’ll remove the left column definitively.I probably missexplained my problem:
In the Live Demo, despite the presence of the left column, it is not displayed in the “Content Layouts” article.
In the main menu it is “Layouts->Content+Right Column”.It’s the same thing I would like to do with some articles when the left column is empty.
I thought it is “Class suffix” matter but it is not.Any idea?
Thanks.
-CharlesAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
hcharly Friendhcharly
- Join date:
- April 2008
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 14
- Thanked:
- 11 times in 1 posts
October 5, 2009 at 7:10 am #319555Hello JA Developer,
Please forget my PM. I found what was wrong.
The template is not concerned.Mea culpa.
I had published at “LEFT” a module which was not displaying anything.
Worst, it was enabled for “ALL” menuitem.
In these conditions$ja_left = $this->countModules('left')
was never ZERO OR NULL.One more time thanks for your help.
-Charles -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by hcharly 15 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum