Taking out the change font size / breadcrumb bar

GK User
Sat Nov 27, 2010 7:31 pm
Please advise as to how to take away the change font size tool bar / breadcrumb bar in the pages.

Thanks!
User avatar
Fresh Boarder

GK User
Sat Nov 27, 2010 7:57 pm
In template configuration you have Customize tools for page in Features menu. In this field you can select where the menu tools are not show, for example the menu Itemid is 22, so you need to write 22=disabled then in this menu the font size tool bar will not appear.
User avatar
Platinum Boarder

GK User
Sat Nov 27, 2010 9:21 pm
bkrztuk wrote:
In template configuration you have Customize tools for page in Features menu. In this field you can select where the menu tools are not show, for example the menu Itemid is 22, so you need to write 22=disabled then in this menu the font size tool bar will not appear.


Thanks! Is it possible to just turn tools off in general? So I don't have to specify every itemid?
User avatar
Fresh Boarder

GK User
Sat Nov 27, 2010 9:41 pm
Yes, you need to delete lines from 75-79
Code: Select all
<?php if($this->getTools()) : ?>
  <div id="gk-tools">
  <?php $this->loadBlock('usertools/tools') ?>
  </div>
  <?php endif; ?>

from file main.php in your template folder.
User avatar
Platinum Boarder

GK User
Sat Nov 27, 2010 10:54 pm
bkrztuk wrote:
Yes, you need to delete lines from 75-79
Code: Select all
<?php if($this->getTools()) : ?>
  <div id="gk-tools">
  <?php $this->loadBlock('usertools/tools') ?>
  </div>
  <?php endif; ?>

from file main.php in your template folder.


Thank! That did the trick.
User avatar
Fresh Boarder

GK User
Sun Nov 28, 2010 1:37 am
Hi

I recommend that you comment instead, like this:

Code: Select all
<!--<?php if($this->getTools()) : ?>
<div id="gk-tools">
<?php $this->loadBlock('usertools/tools') ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>-->


It not the best solution to delete. ;)
User avatar
Platinum Boarder

GK User
Mon Nov 29, 2010 12:38 pm
Just in case anyone is wondering the main.php file is located in the layouts/blocks folder and I believe --> should be placed after the first endif closing tag not the second.
User avatar
Fresh Boarder


cron