test
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • freestore Friend
    #169883

    Hello!

    I was wondering if it is possible to display the frontpage of my website without using an article. I want to show only modules in frontpage. That is because no matter what I do a white rectangle still bothers me (see picture), even when there is no text in it. I am using JA Blazes.

    Thanks!
    Monica


    1. print.screen
    jooservices Friend
    #420596

    Hi
    This issue could do via template modify . You can check if you are on frontpage and don’t load component 😉
    Thank you
    Viet Vu

    freestore Friend
    #420690

    Hi, jooservices, thank you for answering!

    Can you tell me how to do that? Because I have no idea :-[

    jooservices Friend
    #420692

    If you don’t want to show articles in all pages, simply put this code to /css/template.css file:

    #ja-mainbody {
    display: none;
    }

    But if you just want to hide it in only the home page, it would be a hard work :((

    freestore Friend
    #420696

    <blockquote>But if you just want to hide it in only the home page</blockquote> -> That is exactly what I want =x

    Can you please let me know how to do that?
    Thank you

    jooservices Friend
    #420700

    okay so let me check if I can do something for you, I need to dig up the code now

    jooservices Friend
    #420704

    I got the solution now 😀

    #1. Check ID of your home menu item. (ID column at administrator/index.php?option=com_menus&view=items&menutype=mainmenu)

    #2. Open: /templates/ja_blazes/page/default.php

    #3. Find

    <!-- CONTENT -->
    #4. Add before:

    <?php if($_REQUEST['Itemid']!=YOUR_ID_NUMBER){?>
    #5. Find:

    <!-- //CONTENT -->
    #6. Add after:

    <?php }?>

    Thanks
    Viet Vu

    freestore Friend
    #420712

    Sorry to bother you so much, but I could not find this -> <blockquote>/templates/ja_blazes/page/default.php</blockquote>

    Are you sure that is the path?

    jooservices Friend
    #420813

    can you PM me your FTP access? Actually I tried with another template.
    Thanks
    Viet Vu

    freestore Friend
    #421277

    Hello!

    Well, I have here exactly what you find in the JA Blazes package.

    Thanks

    jooservices Friend
    #421451

    Hi,
    Do you mean that the issue is resolved now?
    Thanks
    Viet Vu

    freestore Friend
    #423565

    Not really, I could not find the path you sent me previously.

    lula86 Friend
    #494415

    Hi,

    I am facing the same issue. I would like to have a Home page without any articles, just modules published on it.
    Actually I wasn’t able to find the path /templates/ja_blazes/page/default.php (there is no “page” folder in ja_blzes template).
    How can I resolve?

    Thanks in advance.

    Laura

    Ninja Lead Moderator
    #494577

    Hi lula86,

    Create page folder in /templates/ja_blazes/ path and copy plugins/system/jat3/jat3/base-themes/default/page/default.php file

    And you can work to continue with this solution

    Remember to clear cache from Admin area after changing the file.

    Regards

    quatgio Friend
    #494988

    I must disable all module article and menu article , then you active module display and set for homepage,

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

This topic contains 15 replies, has 5 voices, and was last updated by  quatgio 11 years, 6 months ago.

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