Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • canadatom Friend
    #174057

    Hi guys,

    I think in all 2.5 template, the format has been changed, instead of having a <jdoc:include type=”component” />, it’s being divided somehow in XML and configuration files, anyone can give me some tips on how to disable it in front page only? I only found in template configuration to disable content block for all pages, but I can’t just disable it for homepage only. Please advise.

    Blaine Friend
    #438973

    Is it calling an article? if so make sure it is not set to featured.
    if I am not understanding what you wish then please clarify for me.
    thanks!

    canadatom Friend
    #438987

    Hi Blaine, thanks for your quick reply, it’s quite common requirement for a home/frontpage not showing a component, doesn’t matter it’s an article or whatever component will be, in non-T3 framework, simply we go to index.php add an if statement saying if it’s frontpage then don’t display component. But in T3 framework positions/component are composed in xml layout files, how can I have a condition if it’s frontpage, then don’t display a component?

    Blaine Friend
    #439120

    You can create a new profile in template parameters and then, set override for content block to hide for specific profile

    Then, You can assign this profile for homepage.

    Please try following steps:
    1.Go to joomla backend/Extensions menu/Template Manager/your Template
    2.Select profiles tab,create new profile.
    3.Select your new profile,check the checkbox at the right side of the ‘Hide main content block’ then select ‘yes’ from its combobox
    6.select Global tab
    7.In ‘Profile Override Setting’,select all home menu items and click on select link
    8.note that for all pages your default profile is selected and for home page new profile is selected
    9.Apply the changes and ckeck on the front page

    canadatom Friend
    #439142

    Thank you Blaine for your enlightenment, I got it works by using profile, but from your step 6, I couldn’t find them.

    Instead, I used Language & Page Assignments on Profiles tab, associate with main-menu->welcome page to new profile with Hide Main content block is true. Hope this will help with others.

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

This topic contains 5 replies, has 2 voices, and was last updated by  canadatom 12 years, 9 months ago.

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