Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • dizajn75 Friend
    #194303

    Hi,

    I need to hide some module positions and I find it hard.
    I checked this:
    http://www.joomlart.com/documentation/joomla-templates/ja-muzic

    and 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 Friend
    #520626

    None reply so far. I hope this is not static content.

    pavit Moderator
    #520631

    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

    dizajn75 Friend
    #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 Friend
    #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

Viewing 5 posts - 1 through 5 (of 5 total)

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