test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • Xinxeta Multimedia Friend
    #162776

    Can i remove the content position only in the main page??
    And i want to add 3 modules positions in the template (see the picture).

    Thanks


    1. Unknown
    Xinxeta Multimedia Friend
    #386519

    I need to know how to fix it. any suggestion?
    Thanks

    Phill Moderator
    #386521

    To delete the main content you can make a copy of the profile you are using but in that copy of the profile set the option “Hide main content block” to “Yes”. We then need to assign that profile to the frontpage. That is done in the general tab in the “Profile Override Settings” section. Add a new item to the list with your home menu in the left column and your new profile name in the right column (dropdowns will appear when you hit the “click to add” boxes). Save your settings and clear your jat3 cache and in some cases your cookies too.

    We can look at the new module positions when you have that bit sorted.

    Xinxeta Multimedia Friend
    #386535

    Ok!! Works perfectly…

    And now, how to add the new module positions?

    Phill Moderator
    #386561

    Are you using the J1.5 version or the J1.6 version?

    Xinxeta Multimedia Friend
    #386568

    Joomla 1.5

    Phill Moderator
    #386572

    From the template manager open the layouts tab and edit your layout by adding the 2 lines I have highlighted in red below.

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="top-panel" type="modules" style="raw" main-inner="1">top</block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="slideshow" type="modules" style="raw">slideshow</block>
    <block name="topsl" type="spotlight" style="raw" main-inner="1">user1,user2</block>
    </blocks>
    <blocks name="middle" colwidth="20">
    <block name="content-mass-top" style="raw">content-mass-top</block>
    <block name="inset1" style="jaxhtml">left</block>
    <block name="right1" style="jaxhtml">right</block>
    <block name="content-bottom" type="spotlight">content-bottom</block>
    <block name="content-mass-bottom" type="spotlight">bottom1,bottom2</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl-2" type="spotlight" main-inner="1">user4</block>
    <block name="botsl-1" type="spotlight" main-inner="1">user5,user6,user7,user8,user9,user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer" main-inner="1"></block>
    </blocks>
    </layout>

    Xinxeta Multimedia Friend
    #386829

    When i apply the changes, the page trunks and i receive this error:

    XML Parsing Error at 19:100. Error 76: Mismatched tag

    Phill Moderator
    #386871

    Sorry, there was a minor typo in the above code. The second bit in red should have ended in </block>. I somehow put “</blocks>” by mistake. Please remove the extra “s”.

    Xinxeta Multimedia Friend
    #386892

    Ok, thanks

    jpal1982 Friend
    #402744

    Hello,
    I am also trying to delete the main content on the frontpage only. I would like 2 side by side module positions to go in the location where the main content goes.

    I followed all of the steps above, but the content displays below where the main content would go
    Would someone be able to help me out with this. Attached in how I would like to have the positions.

    Thanks for any help!


    1. screenshot
    Phill Moderator
    #403076

    Please try adding the line in red below.

    <blocks name="middle" colwidth="20">
    <block name="content-mass-top" style="raw">content-mass-top</block>
    <block name="content-top" style="spotlight">top1,top2</block>
    <block name="inset1" style="jaxhtml">left</block>
    <block name="right1" style="jaxhtml">right</block>
    <block name="content-bottom" type="spotlight">content-bottom</block>
    <block name="content-mass-bottom" type="spotlight">bottom1,bottom2</block>
    </blocks>

    Which should give you the two module positions top1 and top2

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

This topic contains 12 replies, has 3 voices, and was last updated by  Phill 13 years, 5 months ago.

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