-
AuthorPosts
-
freissmann Developer
freissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
October 25, 2011 at 7:20 am #170022Hi everybody,
I have a small issue with the templage. The “main content” section is only shown on the “home”-page – if you navigate to any kind of subpage the main-content is not shown anymore.
Homepage: http://www.rrc-group.de/clients/emilq/rp/
Sup-Page: http://www.rrc-group.de/clients/emilq/rp/index.php/2011-08-24-13-42-38/natur-purHowever if you switch on the ?tp=1 to show the module positions on the subpages still can find the “main-content” section.
By the way – I used the code-adjustments mentioned by phil in post #x here to change the postion of the main-content section. When I understand right this at the moment is only working for the home-page.
So what do I need to do to fix this and make that work as well on all other pages`?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 26, 2011 at 8:37 am #421637Hi,
Does it work if you restore your default.php file? If so, please post here the file’s content then I will check!
Thanks
Viet Vufreissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
October 26, 2011 at 3:30 pm #421696Hi Viet Vu,
as requested I restored the original system by deleting custom default.php.
So now “main-content” is shown as well on sub-pages. However now of course the position is not correct.So the content not working default.php is:
<?php
/**
* ------------------------------------------------------------------------
* JA T3 System plugin for Joomla 1.7
* ------------------------------------------------------------------------
* Copyright (C) 2004-2011 JoomlArt.com. All Rights Reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
* Author: JoomlArt.com
* Websites: http://www.joomlart.com - http://www.joomlancers.com.
* ------------------------------------------------------------------------
*/
?>
<?php if ($this->isIE() && ($this->isRTL())) { ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<?php } else { ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php } ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
<head>
<?php //gen head base on theme info
$this->showBlock ('head');
?>
<?php
$blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
foreach ($blocks as $block) :
$this->showBlock ($block);
endforeach;
?><?php echo $this->showBlock ('css') ?>
</head>
<body id="bd" class="<?php if (!T3Common::mobile_device_detect()):?>bd<?php endif;?> <?php echo $this->getBodyClass();?>">
<div id="ja-wrapper">
<a name="Top" id="Top"></a><?php
$blks = &$this->getBlocksXML ('top');
$blocks = &T3Common::node_children($blks, 'block');
foreach ($blocks as $block) :
$this->showBlock ($block);
endforeach;
?>
<!-- MAIN CONTAINER -->
<div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w')?$this->getColumnWidth('cls_w'):'ja-mf'; ?>">
<?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
<div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
<!-- CONTENT -->
<div id="ja-main" style="width:<?php echo $this->getColumnWidth('m') ?>%">
<div class="inner clearfix"><?php echo $this->loadBlock ('message') ?>
<?php
//content-mass-top
if($this->hasBlock('content-mass-top')) :
$block = &$this->getBlockXML ('content-mass-top');
?>
<div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?phpendif; ?>
<div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">
<div id="ja-content" class="column" style="width:<?php echo $this->getColumnWidth('cw') ?>%">
<div id="ja-current-content" class="column" style="width:<?php echo $this->getColumnWidth('c') ?>%">
<?php
//content-top
if($this->hasBlock('content-top')) :
$block = &$this->getBlockXML ('content-top');
?>
<div id="ja-content-top" class="ja-content-top clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?><?php
//content-bottom
if($this->hasBlock('content-bottom')) :
$block = &$this->getBlockXML ('content-bottom');
?>
<div id="ja-content-bottom" class="ja-content-bottom clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
</div><?php
//inset1
if($this->hasBlock('inset1')) :
$block = &$this->getBlockXML ('inset1');
?>
<div id="ja-inset1" class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
</div>
<?php
//inset2
if($this->hasBlock('inset2')) :
$block = &$this->getBlockXML ('inset2');
?>
<div id="ja-inset2" class="ja-col column ja-inset2" style="width:<?php echo $this->getColumnWidth('i2') ?>%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?></div>
<?php
//content-mass-bottom
if($this->hasBlock('content-mass-bottom')) :
$block = &$this->getBlockXML ('content-mass-bottom');
?>
<div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
</div>
</div>
<!-- //CONTENT -->
<?php if (($l = $this->getColumnWidth('l'))): ?>
<!-- LEFT COLUMN-->
<div id="ja-left" class="column sidebar" style="width:<?php echo $l ?>%"><?php if (!$this->getParam ('hide_content_block', 0)): ?>
<div id="ja-content-main" class="ja-content-main clearfix">
<?php echo $this->showBlock ('content') ?>
</div>
<?php endif ?>
<?php
//left-mass-top
if($this->hasBlock('left-mass-top')) :
$block = &$this->getBlockXML ('left-mass-top');
?>
<div id="ja-left-mass-top" class="ja-mass ja-mass-top clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
<?php
$cls1 = $cls2 = "";
if ($this->hasBlock('left1') && $this->hasBlock('left2')) {
$cls1 = "ja-left1";
$cls2 = "ja-left2";
}
if ($this->hasBlock('left1') || $this->hasBlock('left2')):
?>
<div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_l'); ?>">
<?php if ($this->hasBlock('left1')):
$block = &$this->getBlockXML('left1');
?>
<div id="ja-left1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('l1')?>%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif ?>
<?php if ($this->hasBlock('left2')):
$block = &$this->getBlockXML('left2');
?>
<div id="ja-left2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('l2')?>%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif ?>
</div>
<?php endif ?>
<?php
//left-mass-bottom
if($this->hasBlock('left-mass-bottom')) :
$block = &$this->getBlockXML ('left-mass-bottom');
?>
<div id="ja-left-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
</div>
<!-- //LEFT COLUMN-->
<?php endif; ?></div>
<?php if (($r = $this->getColumnWidth('r'))): ?>
<!-- RIGHT COLUMN-->
<div id="ja-right" class="column sidebar" style="width:<?php echo $r ?>%">
<?php
//left-mass-top
if($this->hasBlock('right-mass-top')) :
$block = &$this->getBlockXML ('right-mass-top');
?>
<div id="ja-right-mass-top" class="ja-mass ja-mass-top clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
<?php
$cls1 = $cls2 = "";
if ($this->hasBlock('right1') && $this->hasBlock('right2')) {
$cls1 = "ja-right1";
$cls2 = "ja-right2";
}
if ($this->hasBlock('right1') || $this->hasBlock('right2')): ?>
<div class="ja-colswrap clearfix <?php echo $this->getColumnWidth('cls_r'); ?>">
<?php if ($this->hasBlock('right1')):
$block = &$this->getBlockXML('right1');
?>
<div id="ja-right1" class="ja-col <?php echo $cls1;?> column" style="width:<?php echo $this->getColumnWidth('r1')?>%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif ?>
<?php if ($this->hasBlock('right2')):
$block = &$this->getBlockXML('right2');
?>
<div id="ja-right2" class="ja-col <?php echo $cls2;?> column" style="width:<?php echo $this->getColumnWidth('r2')?>%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif ?>
</div>
<?php endif ?>
<?php
//right-mass-bottom
if($this->hasBlock('right-mass-bottom')) :
$block = &$this->getBlockXML ('right-mass-bottom');
?>
<div id="ja-right-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>
</div>
<!-- //RIGHT COLUMN-->
<?php endif; ?>
<?php $this->genBlockEnd ($this->getBlocksXML ('middle')) ?>
</div>
<?php
//Add fix height for main area
if (T3Common::node_attributes ($this->getBlocksXML ('middle'), 'fixheight')) {
$this->showBlock ('fixheight');
}
?>
<!-- //MAIN CONTAINER -->
<?php
$blks = &$this->getBlocksXML ('bottom');
$blocks = &T3Common::node_children($blks, 'block');
foreach ($blocks as $block) :
if (T3Common::getBrowserSortName() == 'ie' && T3Common::getBrowserMajorVersion() == 7) echo "<br class="clearfix"/>";
$this->showBlock ($block);
endforeach;
?>
</div>
<?php if ($this->isIE6()) : ?>
<?php $this->showBlock('ie6/ie6warning') ?>
<?php endif; ?>
<?php $this->showBlock('debug') ?>
</body>
</html>freissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
October 28, 2011 at 9:32 pm #422238No response? :((
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 29, 2011 at 3:40 am #422286Hi
I’m working on it please allow me for a time.
Thank you
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 29, 2011 at 11:05 am #422312Hi,
Are you using the original layout now? II’s kinda hard for me to check what is wrong in the file after looking into for awhile, so can you let me know exactly what you want to change in the layout then I will try a new solution for you because it would be easier for me than fixing that messed code.
Thanks
Viet Vufreissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
November 4, 2011 at 3:53 pm #423227Hi Viet Vu,
OK; than let’s start over again. I simply need to achiev to bring the “main-content-area” from the right-lower side to the left top side. Please see the attachend screenshot.
Thats all… 😉So what is your proposal to get there?
Hope to get a quick response as already have some weeks on this issue..If you need further information do not hesitate to tell me.
freissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
November 10, 2011 at 9:11 am #423975Hi Viet Vu,
any ideas yet? Do you need further information?
What can I do to move the main-content from right-bottom to left top?
Frankfreissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
November 20, 2011 at 2:35 pm #425488? any ideas??
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 20, 2011 at 10:44 pm #425590So you actually want the left and right module positions below the main content?
freissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
November 21, 2011 at 11:03 am #425674hi phil- yes thats all..ideas so that customizations work as well on sub-pages (not only homepage).
Thanks in advance for any help!freissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
November 25, 2011 at 2:00 pm #426389hi phil, any ideas yet?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 25, 2011 at 3:16 pm #426405<em>@freissmann 284916 wrote:</em><blockquote>hi phil, any ideas yet?</blockquote>
I have tried a few things and it is actually a bit more complicated that I first thought. It would be more of a template re-build than a simple modification.
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 3 voices, and was last updated by Phill 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Layout costomization issue – move main content
Viewing 13 posts - 1 through 13 (of 13 total)