-
Notifications
You must be signed in to change notification settings - Fork 4
FAQ
yes, change inside templates/ReportsListView.tpl.php this line:
<input type="text" value="<?php echo date('Y-m-d')?>" id="start" class="date-picker input-large">
with this line:
<input type="text" value="<?php echo date('Y-m-d', mktime(0, 0, 0, date("n"), 1))?>" id="start" class="date-picker input-large">
you can also use first day of current week with this code:
<input type="text" value="<?php echo date('Y-m-d', strtotime('monday this week'))?>" id="start" class="date-picker input-large">
Yes, you can tweak template *.tpl.php files inside templates folder. For most table layouts there will be some hidden columns under comments. You can uncomment additional columns, hide existing columns by putting them inside comment block or rearrange them to fit your specific needs. Be sure to adjust table cell (td) as well as table header (th) elements.
You can identify adjustable layout elements by searching for this string “UNCOMMENT TO SHOW ADDITIONAL COLUMNS”.
You can clear admin password by executing this sql query:
update users set password = '' where username = 'admin';
After that you can login with admin/admin123 and update any other password.
You can do that in RenderHTML function in this file:
timecase/libs/Controller/ReportsController.php:255
Put this on top of your index.php file after php opening tag:
session_set_cookie_params(604800,"/"); // 7 days 60*60*24*7
If you have additional session-related problems, add this as well:
ini_set('session.save_path',realpath('.').'/database');
ini_set('session.gc_maxlifetime',604800);