Help Desk and PC Inventory Software by Gritware   Gritware Support Forums
Gritware Support Forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
jdouglas

Member
Registered:
Posts: 4
Reply with quote  #1 
Good afternoon,

I am attempting to streamline the user home page in Web Tracks 2012 (version 9.0.2) to provide a clean and efficient look for my organization. To this end, I wanted to replace the link for creating a new service request with a button.

I tried using the following code, which was deleted immediately upon saving my work:

Quote:
<FORM METHOD="LINK" ACTION="servicedesk/ticket_detail.aspx?id=new">
<INPUT TYPE="submit" VALUE="New Service Desk Request">
</FORM>


Given that a "form" is likely used to allow me to edit Dashboard Objects, I can understand why my use of those tags would cause issues. What are the limits of HTML when editing dashboard objects, and is a Button even possible?

Thanks for your help.
thoese

Moderator
Registered:
Posts: 486
Reply with quote  #2 
Hi,

It won't allow you to add form elements to the html.  You could create your own graphical button using the img tag.  Here is an example using the help desk image...


Quote:
<a href="/WebTracks/servicedesk/ticket_detail.aspx?id=new">
<img style="border:none;" title="my button" src="/WebTracks/images/menu/helpdesk.png" />
</a>


You could also style the link to look more like a button...

Quote:
<a style="BORDER-BOTTOM: #777777 1px solid; BORDER-LEFT: #000000 1px solid; PADDING-BOTTOM: 0px; PADDING-LEFT: 1em; WIDTH: 5em; PADDING-RIGHT: 1em; DISPLAY: block; HEIGHT: 2.5em; COLOR: #000000; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #333333 1px solid; TEXT-DECORATION: none; PADDING-TOP: 0px" href="/WebTracks/servicedesk/ticket_detail.aspx?id=new">My Link </a>


Thanks,

__________________
Todd @ Gritware
Other resources
Gritware.com
Knowledge Base
Web Tracks Help
jdouglas

Member
Registered:
Posts: 4
Reply with quote  #3 
Sorry for the delayed reply. I finally got around to re-addressing the issue, and I've got it working satisfactorily via an image.

Thanks, Todd, for your quick reply and assistance.
thoese

Moderator
Registered:
Posts: 486
Reply with quote  #4 
I'm happy to hear you found a suitable workaround.  

The restriction to not allow form elements was put in most of the HTML editors for security reasons.  However, only admins can edit the html markup for dashboard objects so this restriction could/should be removed. 

It looks like a quick and simple change so I'll add it to the TODO list for the next minor update.

Thanks!

__________________
Todd @ Gritware
Other resources
Gritware.com
Knowledge Base
Web Tracks Help
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.