Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • ceva Friend
    #177543

    Hi, how can I hide the toolbar?
    On the start I would like to disable all the items in the toolbar.
    See the picture:

    Beste regards
    ceva


    1. jalens_toolbar_hide
    scubastevejh Friend
    #454906

    They are in your modules:
    Disable:
    – categories
    – timeline

    To hide page name:
    Menu – Main Menu – Home – Page Display Options – Show Page Heading – NO

    Wall Crasher Developer
    #454987

    Hi there,

    The area you marked in attached image that is called toolbar. You can customize toolbar in templates/ja_lens/index.php from line 155 to line 192 and turn off Page heading in Home menu manager.

    I hope it helps!

    kubii Friend
    #468101

    I would like to hide tho two boxes (Linear/Grid view) aswell?

    I already disbled the timeline as you mentioned.
    Does anyone of you have an Idea?

    Maybe you also know how to hide the date and item counter. 🙂

    Thanks in advance!


    1. Boxes-
    Stork11 Friend
    #468362

    <em>@kubii 339666 wrote:</em><blockquote>I would like to hide tho two boxes (Linear/Grid view) aswell?

    I already disbled the timeline as you mentioned.
    Does anyone of you have an Idea?

    Maybe you also know how to hide the date and item counter. 🙂

    Thanks in advance!</blockquote>
    Hello kubii,

    To remove toolbar button, you can remove code in “templates/ja_lens/index.php”, from line 161 to 169
    [PHP]
    <?php if (jaTpl_check (‘islayoutview’)) { ?>
    <li id=”toolbar-layout”>
    <dl>
    <dt>Layout</dt>
    <dd id=”toolbar-layout-l” class=”first”><span title=”Linear Layout”>Linear Layout</span></dd>
    <dd id=”toolbar-layout-g” class=”last”><span title=”Grid Layout”>Grid Layout</span></dd>
    </dl>
    </li>
    <?php } ?>
    [/PHP]

    To get rid of the year, you can remove code in “/templates/ja_lens/html/com_k2/ja_lens/category_item.php”, from line 76
    [PHP]<h2><?php echo $timeline; ?></h2>[/PHP]

    Regards.

    kubii Friend
    #468408

    Dear Stork,

    again, thank you very much.
    I could remove the button, and it worked like a charme.

    With the code you described I could only get rid of the date (I know, thats what I asked :-* )
    What i wanted, is to hide the whole box.

    I managed it by changing line 70 of “/templates/ja_lens/html/com_k2/ja_lens/category_item.php” to:
    [PHP] $addTimelineBox = false;[/PHP]

    Thanks, a lot, you really helped me very fast and easy!

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

This topic contains 6 replies, has 5 voices, and was last updated by  kubii 12 years, 1 month ago.

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