-
AuthorPosts
-
dizajn75 Friend
dizajn75
- Join date:
- December 2008
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 21
- Thanked:
- 3 times in 1 posts
January 31, 2014 at 12:52 am #194303Hi,
I need to hide some module positions and I find it hard.
I checked this:
http://www.joomlart.com/documentation/joomla-templates/ja-muzicand this documentation is not correct. Some module positions does not exist, for example Main-Body.
How can I hide position WHATS NEW ?
Thank you!
dizajn75 Frienddizajn75
- Join date:
- December 2008
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 21
- Thanked:
- 3 times in 1 posts
January 31, 2014 at 11:46 am #520626None reply so far. I hope this is not static content.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
January 31, 2014 at 1:54 pm #520631Hi
What’s new is the main content area of the site you cannot hide it but you can create a new layout and use it for specific menu items
You can do in this way
create a new layout copying default.php in this folder muzictemplatesja_muzictpls and rename it default2 or what you like
edit the default2.php and remove this part of code .<?php $this->loadBlock ('mainbody-sidebar') ?>
save the file and reload the layout in template manager you will see the layout without the mainbody part
1 user says Thank You to pavit for this useful post
dizajn75 Frienddizajn75
- Join date:
- December 2008
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 21
- Thanked:
- 3 times in 1 posts
January 31, 2014 at 6:48 pm #520671<em>@pavit 408711 wrote:</em><blockquote>Hi
What’s new is the main content area of the site you cannot hide it but you can create a new layout and use it for specific menu items
You can do in this way
create a new layout copying default.php in this folder muzictemplatesja_muzictpls and rename it default2 or what you like
edit the default2.php and remove this part of code .<?php $this->loadBlock ('mainbody-sidebar') ?>
save the file and reload the layout in template manager you will see the layout without the mainbody part</blockquote>
Ok, thank you.
dizajn75 Frienddizajn75
- Join date:
- December 2008
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 21
- Thanked:
- 3 times in 1 posts
February 3, 2014 at 1:15 am #520879<em>@pavit 408711 wrote:</em><blockquote>Hi
What’s new is the main content area of the site you cannot hide it but you can create a new layout and use it for specific menu items
You can do in this way
create a new layout copying default.php in this folder muzictemplatesja_muzictpls and rename it default2 or what you like
edit the default2.php and remove this part of code .<?php $this->loadBlock ('mainbody-sidebar') ?>
save the file and reload the layout in template manager you will see the layout without the mainbody part</blockquote>
This block
<?php $this->loadBlock ('mainbody-sidebar') ?>
does not exist. 😮
But it exist this block which I commented
<?php $this->loadBlock ('mainbody') ?>
Actually I should edit default.php and keep copy under default2.php
It works. Thanks
1 user says Thank You to dizajn75 for this useful post
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by dizajn75 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum