Search found 13 matches

by Uashbjo
Mon Feb 19, 2018 2:12 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 14051

Re: User roles and rights redesign

Could there be a SuperManager that could have the manager's rights but for multiple teams without being an admin?
by Uashbjo
Tue Jan 23, 2018 4:50 pm
Forum: Time Tracker
Topic: Hide field depending on dropdown
Replies: 9
Views: 3897

Re: Hide field depending on dropdown

Does anybody know how I could change the code to check the value instead of the index in the dropdown menu? In the line I want to change the "6" to a string value.

Code: Select all

else if (project_dropdown.value == [b]6 [/b]) 
Thank you!
by Uashbjo
Tue Jan 23, 2018 1:09 pm
Forum: Time Tracker
Topic: Backdating time
Replies: 2
Views: 1238

Re: Backdating time

Hi,

There is a locking feature :

https://www.anuko.com/time_tracker/user ... ocking.htm

Is it what you we're looking for?
by Uashbjo
Thu Jan 18, 2018 12:24 pm
Forum: Time Tracker
Topic: Hide field depending on dropdown
Replies: 9
Views: 3897

Re: Hide field depending on dropdown

No problem. But I'm a newbie so there might be better ways to do it more efficiently.
by Uashbjo
Tue Jan 16, 2018 3:15 pm
Forum: Time Tracker
Topic: Hide field depending on dropdown
Replies: 9
Views: 3897

Re: Hide field depending on dropdown

In the file "time_script.tpl" I added this at line 106. It makes the custom field visible or hidden depending on the activity dropdown field. function handleCustomFieldControl() { var project_dropdown = document.getElementById("project"); var cf1_field = document.getElementById("cf_1"); var cf1_labe...
by Uashbjo
Tue Nov 28, 2017 5:52 pm
Forum: Time Tracker
Topic: Replace calendar with Date picker
Replies: 0
Views: 1640

Replace calendar with Date picker

Hi!

I want to replace the main calendar on the time page by a date picker like the one on the report page. Did anyone tried it?
by Uashbjo
Tue Nov 21, 2017 7:34 pm
Forum: Time Tracker
Topic: Hide field depending on dropdown
Replies: 9
Views: 3897

Re: Hide field depending on dropdown

Finally found a way to do it with trial and error.
by Uashbjo
Sun Nov 12, 2017 6:24 pm
Forum: Time Tracker
Topic: Hide field depending on dropdown
Replies: 9
Views: 3897

Hide field depending on dropdown

Hi, does anybody have an idea how to make the custom field visible only if a specific option is selected in the dropdown menu?

Thank You!
by Uashbjo
Wed Oct 25, 2017 8:14 pm
Forum: Time Tracker
Topic: hide menu item "users" (names & roles)
Replies: 3
Views: 1914

Re: hide menu item "users" (names & roles)

Think I found something. In the template directory, There a file Header.tpl. To hide the user menu so that only the manager and the comanager can see it, I changed the following : {if !$user->isClient()} to {if $user->canManageTeam()} Looks like this (line 118 to 120) : {if $user->canManageTeam()} &...
by Uashbjo
Wed Oct 25, 2017 4:32 pm
Forum: Time Tracker
Topic: Custom Fields
Replies: 9
Views: 8254

Re: Custom Fields

Hi narvind,

Could you share the code? Did it evolve since your last post?

Thank You!
by Uashbjo
Wed Oct 25, 2017 4:28 pm
Forum: Time Tracker
Topic: hide menu item "users" (names & roles)
Replies: 3
Views: 1914

Re: hide menu item "users" (names & roles)

Hi!

Did you find a way to do it?

Thanks!
by Uashbjo
Wed Oct 25, 2017 4:15 pm
Forum: Time Tracker
Topic: dbInstall Error: MDB2
Replies: 2
Views: 1022

Re: dbInstall Error: MDB2

I just found the problem. It wasn't creating new users and teams because the Timestamp field seems to be mandatory. I changed the default value to "CURRENT_TIME" in the timestamp column of every table of the database.
by Uashbjo
Tue Oct 24, 2017 9:45 pm
Forum: Time Tracker
Topic: dbInstall Error: MDB2
Replies: 2
Views: 1022

dbInstall Error: MDB2

Hi! I have this message when using dbInstall. All tables are created but when it tries to create the admin account I get this error. INSERT INTO `tt_users` (`login`, `password`, `name`, `team_id`, `role`) VALUES ('admin', md5('secret'), 'Admin', '0', '1024') error: MDB2 Error: unknown error Does any...