-
AuthorPosts
-
tamirzzz2 Friend
tamirzzz2
- Join date:
- January 2013
- Posts:
- 53
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
September 19, 2013 at 8:07 pm #190749Hi,
I have installed the JA Beranis template. I noticed that the default content presented in the frontpage is very narrow.
I entered the template settings in layout I deleted the sidebar-1, sidebar-2 settings and still it had no effect.
I am attaching screenshot of the template layout and my site homepage.
Can you please advise?
Tnx
-
tamirzzz2 Friend
tamirzzz2
- Join date:
- January 2013
- Posts:
- 53
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
September 21, 2013 at 7:58 am #506552Can someone please reply? tnx
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 21, 2013 at 8:41 am #506553If you want to remove sidebar-1, sidebar-2 position in JA Beranis Template, you can customize it this way
Open templates/ja_beranis/tpls/blocks/mainbody.php file
+ Set config change to layout with no_sidebar
Find
$layout = $layout_config->$layout;
Change to
$layout = 'no_sidebar';
$layout = $layout_config->$layout;+ Remove both position on the template
Find and remove this script in mainbody.php file
<?php if ($this->countModules($sidebar1)) : ?>
<!-- SIDEBAR 1 -->
<div class="t3-sidebar t3-sidebar-1 <?php echo $this->getClass($layout, $col) ?><?php $this->_c($sidebar1)?>" <?php echo $this->getData ($layout, $col++) ?>>
<jdoc:include type="modules" name="<?php $this->_p($sidebar1) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 1 -->
<?php endif ?><?php if ($this->countModules($sidebar2)) : ?>
<!-- SIDEBAR 2 -->
<div class="t3-sidebar t3-sidebar-2 <?php echo $this->getClass($layout, $col) ?><?php $this->_c($sidebar2)?>" <?php echo $this->getData ($layout, $col++) ?>>
<jdoc:include type="modules" name="<?php $this->_p($sidebar2) ?>" style="T3Xhtml" />
</div>
<!-- //SIDEBAR 2 -->
<?php endif ?>
Let me know if it helps
1 user says Thank You to Ninja Lead for this useful post
tamirzzz2 Friendtamirzzz2
- Join date:
- January 2013
- Posts:
- 53
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
September 22, 2013 at 10:20 am #506615Thank you.
I can do that, but isn`t it against the all principle of Joomla in which modules positions should be defined by the modules and collapse otherwise?
In other words, shouldn`t such an obvious task not be done by hacking?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
tamirzzz2 Friendtamirzzz2
- Join date:
- January 2013
- Posts:
- 53
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
September 23, 2013 at 6:09 pm #506779Are you sure there isn`t a way of doing that without hacking?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 25, 2013 at 7:36 am #506991<em>@tamirzzz2 390788 wrote:</em><blockquote>Are you sure there isn`t a way of doing that without hacking?</blockquote>
Sure mate, this is fixes from php code and not hack on your site.
tamirzzz2 Friendtamirzzz2
- Join date:
- January 2013
- Posts:
- 53
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 2 times in 1 posts
December 28, 2013 at 6:26 pm #516756Hi,
Can you please test on your end?
http://support.joomlart.com/index.php?/Tickets/Ticket/Update/146474
tnx
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 30, 2013 at 4:00 pm #516880@tamirzzz2: Can you tell me what problem are you trying to do? I’m not sure what you are implying.
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 2 voices, and was last updated by Ninja Lead 10 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum