Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • webbiz Friend
    #146906

    Please tell me how to remove the display of the user tools on the front end. Thank you,:) cheers charles

    brunus Friend
    #326824

    Hi.

    I seen this question answered somewhere is this forum…did you search for this answer ?
    …have a look in layouts/blocks/hearder.php

    donino Friend
    #326875

    in your tempalate folder browse to:
    layoutsblocks
    find file:
    header.php
    Then try commenting these line:
    [PHP] <?php $this->loadBlock(‘usertools/screen’) ?>
    <?php $this->loadBlock(‘usertools/font’) ?>[/PHP]

    it will be like this:
    [PHP]// <?php $this->loadBlock(‘usertools/screen’) ?>
    // <?php $this->loadBlock(‘usertools/font’) ?>[/PHP]

    wolfix Friend
    #332098

    It should actually be like this:

    In your tempalate folder browse to:
    layoutsblocks
    find file:
    header.php
    Then use html comments to hide the code from PHP.

    [PHP]PHP Code:
    <?php $this->loadBlock(‘usertools/screen’) ?>
    <?php $this->loadBlock(‘usertools/font’) ?>[/PHP]

    [PHP]it will be like this:
    PHP Code:
    <!– <?php $this->loadBlock(‘usertools/screen’) ?>
    <?php $this->loadBlock(‘usertools/font’) ? –>[/PHP]

    pikefisher Friend
    #333032

    Try doing the comment out like this

    <--?php $this->loadBlock('usertools/screen') ?-->

    This works fine

    webbiz Friend
    #336943

    Thanks guys , but I have tried all suggestions but none of them work for me. I get code lines appearing in the front page. or the page does not appear all together. Any other links or ideas would be appreciated. cheers. C :confused::D

    pikefisher Friend
    #336952

    Hi webbiz

    If you have located the right file (header.php) with the code you need to change, ensure the each full line is commented out properly, if you get code appearing on the page you have broken the code probably by dropping or adding a character.

    The following lines in the original file are

    Original PHP Code:

    <?php $this->loadBlock('usertools/screen') ?>
    <?php $this->loadBlock('usertools/font') ?>

    make a copy of the original file, delete the original lines in the copy of the header.php then and then copy and paste the two lines below completely where the original was

    Replacement PHP code

    <--?php $this->loadBlock('usertools/screen') ?-->
    <--?php $this->loadBlock('usertools/font') ?-->

    If you copy and paste these two lines where the originals appear, then they should work and the ‘tools’ should not appear.

    Works for me.

    pikefisher

    micrantha Friend
    #336953

    Hello,
    It really is as is written here before: you have to comment out two lines in header.php

    <!--
    <?php $this->loadBlock('usertools/screen') ?>
    <?php $this->loadBlock('usertools/font') ?>
    -->

    Alternative is to rename these files:
    ja_purity-ii/layouts/blocks/usertools/font.php
    ja_purity-ii/layouts/blocks/usertools/screen.php

    If you get code on your webpage you didn’t change the source code in correct way I think.

    Good luck,
    Micrantha

    daoes Friend
    #336988

    thank you micrantha its worked 🙂

    xiemate Friend
    #337351

    <em>@wolfix 164166 wrote:</em><blockquote>It should actually be like this:

    In your tempalate folder browse to:
    layoutsblocks
    find file:
    header.php
    Then use html comments to hide the code from PHP.

    [PHP]PHP Code:
    <?php $this->loadBlock(‘usertools/screen’) ?>
    <?php $this->loadBlock(‘usertools/font’) ?>[/PHP]

    [PHP]it will be like this:
    PHP Code:
    <!– <?php $this->loadBlock(‘usertools/screen’) ?>
    <?php $this->loadBlock(‘usertools/font’) ? –>[/PHP]</blockquote>

    Thank you !!

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

This topic contains 10 replies, has 8 voices, and was last updated by  xiemate 14 years, 8 months ago.

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