View your ticket button

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

View your ticket button

Post by bastiaan.c »

Was trying to do something like this in custom-text.php

$hesklang['view_your_ticket']='<a class="btn btn-success">
<span class="glyphicon glyphicon-plus-sign"></span>
View your ticket </a>';

But it did not work. The button will appear. However > not clickable :o
Can you please advise me what to do?

Thanks
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: View your ticket button

Post by mkoch227 »

The problem is you're assigning an anchor (a) tag without a location (href). If all you want is to make to make the link a button, use a "span" tag instead of an "a" tag so the actual link isn't lost.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: View your ticket button

Post by bastiaan.c »

How awesome :-)

It works :-)

Thanks so much :-) :!: :!: :!: :!:
Post Reply