Hi James, thanks for your reply.
I tried to modify this file: "ocs>templates>trackDirector>submission>directorDecision.tpl"
by adding, in the last few lines, {if $isDirector} ... {/if} to let the director only to view (and push) the file "complete.tpl", containig the "complete" button. This is the code (I used anytime cut© to avoid typing issues):
- Code: Select all
{if $isFinalReview}
{if $isDirector}
<div class="separator"></div>
{include file="trackDirector/submission/complete.tpl"}
{/if}
<div class="separator"></div>
{include file="trackDirector/submission/layout.tpl"}
{/if}
Unluckily it does not seem to work: logging as director or track director it gives me back a negative result (in both cases anything between {if $isDirector} ... {/if} is not visible). I did not add "Director" feature to my profile, so I cannot see this form as Site Administrator.
Hence my boss asked me to apply the same philosophy to the user home, to give different instructions to trackdirectors and reviewers simply by adding different links, I used the same idea, putting these links between {if $isTrackDirector} ... {/if} and {if $isReviewer}...{/if}. So I did the test: I added to the file "ocs>templates>user>index.tpl" the following code lines just before <div id="myAccount"> (easy to know!)
- Code: Select all
{if $isSiteAdmin}
SA
{/if}
{if $isDirector}
D
{/if}
{if $isTrackDirector}
TD
{/if}
{if $isReviewer}
R
{/if}
(the letter are just identifier for the user role).
Once uploaded, I logged in with four different account kind (Site admin, Director, Track director and reviewer). The only letters I read was "SA" when I was logged as Site admin.
That's all. Really, first, it seemed to be to much easier and till now I don't have the key of the problem (or simply the way is just a little bit harder for my tpl un-knowledge).
Thanks,
Gabriele