0
Welcome Guest! Login
0 items Join Now

Page without an article.

    • Sani181's Avatar
    • Sani181
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Page without an article.

    Posted 13 years 11 months ago
    • Hello,

      I want to create page without article, see here http://www.marmosro.eu/index.php/material . Down the bottom there is an article because i have to publish one. I have no idea how can I do that? Just want to click from the main menu and see the page with just modules in it.

      Thanks
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page without an article.

    Posted 13 years 11 months ago
    • For Gantry templates:
      You must use the frontpage-component (or featured in J1.6) and in the template-settings you must turn "Display component" to OFF ...
    • Sani181's Avatar
    • Sani181
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Re: Page without an article.

    Posted 13 years 11 months ago
    • Hello,

      thanks for the answer but I wanna do that only on certain pages not on all of them.

      thanks
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page without an article.

    Posted 13 years 11 months ago
    • It will only hide the component on menuitems that are linked to the frontpage component.
      That is the toggle for this. You can also use the per-menu-item-configuration for this to hide that only on certain pages.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page without an article.

    Posted 13 years 11 months ago
    • Sani181's Avatar
    • Sani181
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Re: Page without an article.

    Posted 13 years 11 months ago
    • I think you are mistaken, if I switch off display component, even in the specific menu, than it switches of only front page article. As you can see on my site www.marmosro.eu , the article I'm trying to hide is not front page.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page without an article.

    Posted 13 years 11 months ago
    • You can link every menu item to the frontpage component ...
      When you do that only on this menu item you will only see modules and no articles.
      Don't think from the articles perspective ... think about it starting from the menu-item.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Page without an article.

    Posted 13 years 11 months ago
    • it's not hide "article xy".
      It's about hide the compoent area on menu "item xy"

      In the body_mainbody.php (your-template/html/layouts/...)
      you find this php-condition:
      $display_component = !($gantry->get("component-enabled",true)==false && (JRequest::getVar('option') == 'com_content' && JRequest::getVar('view') == 'frontpage'));

      you can choose the type in the menu-item-setting ...
    • Sani181's Avatar
    • Sani181
    • Jr. Rocketeer
    • Posts: 42
    • Thanks: 0

    Re: Page without an article.

    Posted 13 years 11 months ago
    • Thanks, got it now. Made top menu items as front page blog layout, then just filled with modules. Appreciate your help.

Time to create page: 0.075 seconds