Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • wlfmarcus Friend
    #139683

    Hi,
    how can remove “you are here” and body?

    Thank

    Arvind Chauhan Moderator
    #298711

    If you want to remove the whole Breadcrumbs body along with the search module :

    Take backup of your template index.php before trying this :

    OPen your templates/ja_opal/index.php and around line 163 :

    Remove the following block of code :

    [PHP]<!– PATHWAY –>
    <div id=”ja-pathway” class=”wrap”>
    <div class=”main”>
    <div class=”inner clearfix”>

    <div class=”ja-pathway-text”>
    <strong>You are here:</strong><jdoc:include type=”module” name=”breadcrumbs” />
    </div>

    <?php if ($this->countModules(‘user4’)) { ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”user4″ style=”raw” />
    </div>
    <?php } ?>

    </div>
    </div>
    </div>
    <!– //PATHWAY –>[/PHP]

    wlfmarcus Friend
    #298712

    Ok, but in this way i have eliminate only “you are here”, now i can remove the body module?

    Thank you

    Arvind Chauhan Moderator
    #298715

    <em>@wlfmarcus 121100 wrote:</em><blockquote>Ok, but in this way i have eliminate only “you are here”, now i can remove the body module?

    Thank you</blockquote>

    I am not sure if removing the body is a good idea, thats the main container to publish and display article and body is not a module.

    May be telling us what you plan to do with your body, may help in finding options for you.

    wlfmarcus Friend
    #298717

    i want to remove because for now it no necessary, if in the future i want it, replace index.php with the original.

    Arvind Chauhan Moderator
    #298720

    <em>@wlfmarcus 121106 wrote:</em><blockquote>i want to remove because for now it no necessary, if in the future i want it, replace index.php with the original.</blockquote>

    To make it clear it to you, if you remove body from your template, you wont be able to show any articles / news in the body area and its the body where all your main articles are shown.

    Still if you want to confirm it yourself try this after taking backup of your index.php around line 186
    [PHP]

    <!– CONTENT –>

    <div id=”ja-mainbody”>
    <jdoc:include type=”message” />

    <div id=”ja-current-content” class=”clearfix”>
    <jdoc:include type=”component” />
    </div>[/PHP]

    Change it to

    [PHP]
    <!– CONTENT –>

    <div id=”ja-mainbody”>
    <div id=”ja-current-content” class=”clearfix”>
    </div>
    [/PHP]

    Now try to open any article and you wont see it coz the body area is gone.

    Trust me removing body area will not work for any template, if you wish to show articles.

    wlfmarcus Friend
    #298721

    Ok very very very Thanks

    Arvind Chauhan Moderator
    #298723

    If i was you, i would not have tried this or even though of this, you have made me very curious about what you plan to do with the template. Once you ar done developing / crashing your site, do post a live url, would love to see what you are upto.

    I hope you have taken backup of your files. Best of luck and cheers.

    wlfmarcus Friend
    #299135

    It is possible only hyde body in home page?

    thanks

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

This topic contains 9 replies, has 2 voices, and was last updated by  wlfmarcus 15 years, 8 months ago.

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