List:Eventum General Discussion« Previous MessageNext Message »
From:M  IN BLR SISL Srivathsan Date:September 11 2009 10:13am
Subject:RE: Hide blocks in the page "View Issue Details"
View as plain text  
Hi Evan,

Yes, to a fair extent you could hide / show sections based on the current role of the
currently logged in user.  Infact, you could do certain other things which are slightly
more complicated than "hide-and-show" but probably you should go step-by-step.

Thanks and rgds,
Watson

________________________________
From: Evan Papaioannu [mailto:ebah80@stripped]
Sent: Fri, 11-Sep-2009 15:34
To: Srivathsan, M IN BLR SISL; eventum-users@stripped
Subject: Re: Hide blocks in the page "View Issue Details"

THANKS YOU VERY MUCH WATSON!!!
It works great! Eventum rocks (Y)!!!

Does the following code:
if $current_role > $roles.customer

means that it's possible to hide the blocks also configuring permissions correctly?

How can I do that?

Kind Regards,
Evan
2009/9/11 Srivathsan, M IN BLR SISL
<M.Srivathsan@stripped<mailto:M.Srivathsan@stripped>>
Hi Evan,

Edit <Eventum-path>/templates/view.tpl.html.  Look out for lines containing
"{include *.tpl.html}".  Those are Smarty syntax.  Comment out those lines that include
the Time Tracking / Phone Calls / Drafts section - just enclose them with "{*
<original-code> *}".  You should not be seeing them

Thanks and rgds,
Watson

-----Original Message-----
From: Evan Papaioannu [mailto:ebah80@stripped<mailto:ebah80@stripped>]
Sent: Fri, 11-Sep-2009 13:44
To: eventum-users@stripped<mailto:eventum-users@stripped>
Subject: Hide blocks in the page "View Issue Details"

Hi all,
I just installed Eventum to try some features especially the custom fields
and it seems to work really great!

I'd like to hide some of the blocks in the "View Issue Details" page for all
users:

  - Time Tracking
  - Phone Calls
  - Drafts

I want to hide these fields since I don't use them and in order to make more
clear the view.
Is there a way to hide these blocks from GUI or should I put hands on the
code?

Thanks in advance for your help!

BR,
Evan


Thread
Hide blocks in the page "View Issue Details"Evan Papaioannu11 Sep
  • RE: Hide blocks in the page "View Issue Details"M  IN BLR SISL Srivathsan11 Sep
    • Re: Hide blocks in the page "View Issue Details"Evan Papaioannu11 Sep
      • RE: Hide blocks in the page "View Issue Details"M  IN BLR SISL Srivathsan11 Sep