Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • moghees Friend
    #189791

    How to hide the main content (article) in T3 templates (I’m using JA MERO). I just want to show the logo, slideshow and some components. But I don’t want to show any articles or blogs on the frontpage.


    1. screen
    pavit Moderator
    #502508

    Hi

    You need to assign the default layout to your page look HERE
    The default.php file has no mainbody-home block inside it templatesja_merotpls

    moghees Friend
    #502649

    I already have that set? (see attachment)


    1. screen
    pavit Moderator
    #502656

    You are using the Ja_Mero Light as default layout

    You need to make the default layout as default and assign to it the light theme

    moghees Friend
    #502662

    Okay so far I have the “light theme” enabled in THEME. Then I have the “default” enabled in LAYOUT. Then in ASSIGNMENT (Main Menu) I have ticked “Home” and Light Color”. Is that correct? Or am I missing something? If that is the correct setting I have then the article content is still appearing which is wrong! Sorry if I have misinterpreted you!

    pavit Moderator
    #502681

    Please send me via PM (Private Message) a temp super user account to your backend i will try to check it

    pavit Moderator
    #502700

    Hi

    Go to this folder templatesja_merotpls

    Take a backup copy of the default.php file and edit it in this way :

    <head>
    <jdoc:include type="head" />
    <?php $this->loadBlock ('head') ?>
    </head>

    <body>

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

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

    <?php $this->loadBlock ('mainbody-content-left') ?> << -----Remove this block

    <?php $this->loadBlock ('spotlight-3') ?>

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

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

    </body>

    </html>

    Save the file, try and let me know if this solve your issue

    moghees Friend
    #502702

    Sorry that didn’t work! It just comes out as a blank page but leaving the menu and logo in at the top (see attachment)


    1. screen
    pavit Moderator
    #502706

    Sorry don’t know what to say just tried on my localhost and it worked fine

    i tried also to change it with extplorer but i cannot save the modified file

    moghees Friend
    #502707

    So I’m stuck! did you have a look at my back-end administrator?

    pavit Moderator
    #502709

    <em>@moghees 385542 wrote:</em><blockquote>So I’m stuck! did you have a look at my back-end administrator?</blockquote>

    Yes i checked it – and also installed extplorer component to make changes on default.php file but component doesn’t let me save the file

    at this point send me also via PM your ftp account so i will try to modify it

    pavit Moderator
    #502711

    Please restore the home page it has a 404 error now pointing to /index

    i will wait to login

    moghees Friend
    #502713

    404 error now pointing is okay. But article is still there!

    pavit Moderator
    #502716

    Try to reinstall again the template i don’t know if files were modified because i tested it on localhost and worked as should

    my changes applied to your template was not working so i suppose some dependancies file was modified

    you can solve installing again the template

    moghees Friend
    #502743

    I have PM you!!

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

This topic contains 18 replies, has 2 voices, and was last updated by  pavit 11 years, 3 months ago.

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