I was wondering if anyone knows how to make this theme work all throughout OsTicket. I installed this theme but it only works on the client side. The agent side still looks like the old theme.
I have installed the DMT theme file (dmt_theme_extended_basic_1.0.3.2.zip) on OSticket v1.9.12 . The system log was generating DB few errors regularly. Basically the errors are generated by invalid column names in the SQL statement. I have replaced two of the SQL statements in the class.ticket.php with the SQL statements from the original class.ticket.php file and DB errors stopped.
This may help if somebody is facing the similar issue.
First, thank you for the excellent theme! It really enhances the experience of the system.
I've got a question though.I would like to change the order of the elements in the 'info' element that's on every Client side ticket page. it looks like the user belongs to a certain department, But the department actually tells who's working on the ticket on admin/agent side. It's a bit confusing for people creating an account and adding a ticket.
Okay, I found the answer. It's in the /include/client/view.inc.php.
Would it be complicated to have custom fields appear in the info box instead of above the main ticket element? As you can see I'm not a php expert at all. ;)
Another small issue. When adding custom fields to the Contact information form they appear shorter on the user registration page, although i've selected "Short Answer" which is the type for the default ones. In the php I can see that the fieldsets have different maxlenghts and sizes. In the CSS I wasn't able to influence this though. Do you know in which php file this can be changed?
@DSecker The length of the fields can be set by clicking on the config button next to the field. Gambling around with "size" will lead you to success. ;o)
The error message is displayed directly under the field: "Email already registered. Would you like to sign in?". Just write a css style for the error message to adopt it to your needs.
Best regards, Jürgen
BTW: Have a look at our new themes available at www.dmt-club.com, with a lot of additional features and improvements in comparison to our free theme. Try the color switches add the bottom and have a look at the information section. ;o)
I would like to add the the Help Topic that was selected by the user during the Ticket creating to be also in the Info field.
I know it must be added in the view.inc.php. <li class="list-group-item"> <b><?php echo __('Ticket Status');?>:</b><br /> <?php echo $ticket->getStatus(); ?> </li>
Is there a way we can use cascading drop-down for our help topics. Right now we have numerous help topics per department and the one drop-down option seems to be a bit overwhelming to the users experience. I am wondering if there is a way I can set up 3 fields or a cascading list that will group the Parent Help topic with it's sub topics, so it looks cleaner and less crowded for our users.
@jferrand11: Its no problem with a little bit of php knowledge, because help topics support subcategories and there is all existing what you need to do this. I will drop it on our request list and we will integrate this feature in our DMT Club themes. Nice idea!
@DMTGMBH: Thank you for your answer, but I still can not find the lines. :-( (I was searching in ticket-view.inc.php) What is the exact name of the file?
@DMTGMBH: Thanks for your help, but I still can not find it. Sorry. I have got the OS-Ticket Version 1.9.12 and I ve only added the german language pack. I ve read the code by a normal Code Editor. Sorry but I am a absolutley beginner. Where is my mistake?
If you have installed custom themes or plugins, each time the core code is updated, the custom code must be updated to the version you have installed on your server, if affected files are implemented in this custom code. In our themes the only affected file from 1.9.13 to 1.9.14 is include/staff/footer.inc.php. We will release in the next days new installation packages for 1.9.14.
Sorry, but there is no other way, because osTicket isn't build for theming...
If you have any questions and like to get a qualified answer please give a detailed description and attach some screenshots.
Comments
I was wondering if anyone knows how to make this theme work all throughout OsTicket. I installed this theme but it only works on the client side. The agent side still looks like the old theme.
Thanks in advance!
First, thank you for the excellent theme! It really enhances the experience of the system.
I've got a question though.I would like to change the order of the elements in
the 'info' element that's on every Client side ticket page. it looks like the user belongs to a certain department,
But the department actually tells who's working on the ticket on admin/agent side. It's a bit confusing for people creating an account and adding a
ticket.
Alternatively could I just hide an element?
Thanks,
Daniel
Would it be complicated to have custom fields appear in the info box instead of above the main ticket element? As you can see I'm not a php expert at all. ;)
Thanks!
Daniel
The length of the fields can be set by clicking on the config button next to the field. Gambling around with "size" will lead you to success. ;o)
Just write a css style for the error message to adopt it to your needs.
Best regards, Jürgen
BTW: Have a look at our new themes available at www.dmt-club.com, with a lot of additional features and improvements in comparison to our free theme. Try the color switches add the bottom and have a look at the information section. ;o)
http://demo.dmt-club.com/osticket_flat_helix.php
http://demo.dmt-club.com/osticket_white_tec.php
I would like to add the the Help Topic that was selected by the user during the Ticket creating to be also in the Info field.
I know it must be added in the view.inc.php.
<li class="list-group-item"> <b><?php echo __('Ticket Status');?>:</b><br />
<?php echo $ticket->getStatus(); ?> </li>
<li class="list-group-item"> <b><?php echo __('Name');?>:</b><br />
<?php echo mb_convert_case(Format::htmlchars($ticket->getName()), MB_CASE_TITLE); ?> </li>
<li class="list-group-item"> <b><?php echo __('Help Topic');?>:</b><br />
??? </li>
<li class="list-group-item"> <b><?php echo __('Department');?>:</b><br />
<?php echo Format::htmlchars($dept instanceof Dept ? $dept->getName() : ''); ?> </li>
<li class="list-group-item"> <b><?php echo __('Email');?>:</b><br />
<?php echo Format::htmlchars($ticket->getEmail()); ?> </li>
<li class="list-group-item"> <b><?php echo __('Create Date');?>:</b><br />
<?php echo Format::db_datetime($ticket->getCreateDate()); ?> </li>
<?php if ($ticket->getPhoneNumber()>""){?>
<li class="list-group-item"> <b><?php echo __('Phone');?>:</b><br />
<?php echo $ticket->getPhoneNumber(); ?> </li>
Für Hilfe wäre ich sehr dankbar.
Daniel
<li class="list-group-item"> <b><?php echo __('Help Topic');?>:</b><br />
<?php echo $ticket->getHelpTopic(); ?> </li>
Best regards,
Jürgen
Where exactly (in which lines) do I have to add your addition?
Thank You.
Für eine Anwort wäre ich sehr dankbar.
Best regards, Jürgen
(I was searching in ticket-view.inc.php)
What is the exact name of the file?
Thank You
@dmtgmbh thanks...I will look around to see if we can make the tweaks.
Have a nice day, Jürgen
I have got the OS-Ticket Version 1.9.12 and I ve only added the german language pack.
I ve read the code by a normal Code Editor. Sorry but I am a absolutley beginner.
Where is my mistake?
Thank You
From 1.9.13. to 1.9.14 are 16 files changed
https://github.com/osTicket/osTicket/compare/v1.9.13...v1.9.14
From 1.9.12 to 1.9.14 are 43 files changed
https://github.com/osTicket/osTicket/compare/v1.9.12...v1.9.14
If you have installed custom themes or plugins, each time the core code is updated, the custom code must be updated to the version you have installed on your server, if affected files are implemented in this custom code. In our themes the only affected file from 1.9.13 to 1.9.14 is include/staff/footer.inc.php. We will release in the next days new installation packages for 1.9.14.
Sorry, but there is no other way, because osTicket isn't build for theming...
If you have any questions and like to get a qualified answer please give a detailed description and attach some screenshots.
Hallo
Will it be for osTicket version v1.10-rc.3 an update be? For me it comes with creating a ticket to errors? (tranlated with Google)
Liebe Grüße / best regards
Harald
Valid CSRF Token Required
Please advise.