unfortunately i0m building my web site on localhost.
i hope i did revolve in this way: mainbody-copy
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<?php
/**
* Mainbody 3 columns, content in center: sidebar1 - content - sidebar2
*/
// positions configuration
$sidebar1 = 'sidebar-1';
$sidebar1 = $this->countModules($sidebar1) ? $sidebar1 : false;
// detect layout
if ($sidebar1) {
$this->loadBlock('mainbody/myone-sidebar', array('sidebar1' => $sidebar1));
} else {
$this->loadBlock('mainbody/myno-sidebar');
}
myno file:
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Mainbody 1 columns, content only
*/
?>
<div id="t3-mainbody" class="container t3-mainbody">
<div class="row">
<!-- MAIN CONTENT -->
<div id="t3-content" class="t3-content col-xs-12">
<jdoc:include type="modules" name="<?php $this->_p('slideshow') ?>" style="T3Xhtml"/>
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<jdoc:include type="component" />
</div>
<!-- //MAIN CONTENT -->
</div>
</div>
myone file:
<?php
/**
* @package T3 Blank
* @copyright (
http://www.joomlart.com/forums/member.php?u=103450) Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Mainbody 3 columns, content in center: sidebar1 - content - sidebar2
*/
?>
<div id="t3-mainbody" class="container t3-mainbody">
<div class="row">
<!-- MAIN CONTENT -->
<div id="t3-content" class="t3-content col-xs-12 col-sm-8 col-sm-push-4 col-md-9 col-md-push-3">
<jdoc:include type="modules" name="<?php $this->_p('slideshow') ?>" />
<?php if($this->hasMessage()) : ?>
<jdoc:include type="message" />
<?php endif ?>
<jdoc:include type="component" />
</div>
<!-- //MAIN CONTENT -->
<!-- SIDEBAR 1 -->
<div class="t3-sidebar t3-sidebar-left col-xs-12 col-sm-4 col-sm-pull-8 col-md-3 col-md-pull-9 <?php $this->_c($vars['sidebar1']) ?>">
<jdoc:include type="modules" name="<?php $this->_p($vars['sidebar1']) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 1 -->
</div>
</div>
i hope this solution is write.
just last question:
when in firebug i see this path: less.boostrap.less , i can find that file
in t3-assets folder or in
plugin folder. is this correct or i don't understand something?
i mean, how can i change taht file or override that in less folder?
thank you