Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • chizuoka Friend
    #197346

    I have run through the forum for this.. it says to go to template manager – profiles and turn off main content… however my template manager does not even seem to have that profiles tab… may i know how i can turn it off for the home page then?

    chizuoka Friend
    #533401

    Just a further question to this.. the reason i am turning it off is because it opens articles inline with the home page. I was told in another topic that i needed to create a new menu item for that article to open in article page… how ever its a blog entry.. i cant be creating a new menu item everytime an article goes there..

    Is there another solution?

    Thanks.

    * How do you create a hidden menu item btw?

    MoonSailor Friend
    #533622

    <blockquote>
    it says to go to template manager – profiles and turn off main content…
    </blockquote>
    You mean the configuration option as in this screenshot?

    If that’s the case, this feature is available only in T3V2 framework. With new version of T3, it has been deprecated. In new T3, to remove main content, you need to change directly in source code. It depends on specific template, the modification might vary. Please let me know what’s your template, I will give you suggestion then.

    <blockquote>
    the reason i am turning it off is because it opens articles inline with the home page. I was told in another topic that i needed to create a new menu item for that article to open in article page… how ever its a blog entry.. i cant be creating a new menu item everytime an article goes there..
    </blockquote>

    Sorry for not getting the idea on this. Could you explain in more detail again?


    1. 4913959484
    aeniselmomoh Friend
    #534512

    Hello,

    Some question for me: how can I disable mainbody content only on the home page?

    I have tried

    .t3-mainbody {
    padding-bottom: 40px;
    padding-top: 40px;
    display: none;
    }

    But mainbody is disabled on every page on ja_beranis template.

    Thanks

    Ninja Lead Moderator
    #534561

    @aeniselmomoh: You can try workaround below

    Create templates/ja_beranis/css/custom.css file and add new rule:

    .home .t3-mainbody {
    display: none;
    }

    MoonSailor Friend
    #534565

    <em>@aeniselmomoh 426460 wrote:</em><blockquote>Hello,

    Some question for me: how can I disable mainbody content only on the home page?

    I have tried

    .t3-mainbody {
    padding-bottom: 40px;
    padding-top: 40px;
    display: none;
    }

    Thanks</blockquote>

    In the case, you need to clone layout “default.php” of template for home page. Open the “templates/ja_beranis/tpls/” folder, duplicate the file “default.php” and rename it to “home.php”. Open the new file, and remove code:


    <?php $this->loadBlock ('mainbody') ?>

    Go to administrator->templates -> JA Beranis, tick the check box to select ” ja_beranis – Default” style, then click to “duplicate”. See this screenshot:

    Go to duplicated style, in tab “Assignment”, choose menu “Home”.

    In tab “layout”, assign “Position & Responsive Configuration” option with “Home”


    1. 5-12-2014-11-21-12-AM
    2. 6753182094
    3. 4887863163
    aeniselmomoh Friend
    #534715

    <em>@Ninja Lead 426530 wrote:</em><blockquote>@aeniselmomoh: You can try workaround below

    Create templates/ja_beranis/css/custom.css file and add new rule:

    .home .t3-mainbody {
    display: none;
    }

    </blockquote>

    it works! Thank you & MoonSailor too 🙂

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

This topic contains 7 replies, has 4 voices, and was last updated by  aeniselmomoh 10 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum