Constraint of "Website URL"

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
jonb
Posts: 3
Joined: Wed Jul 30, 2014 8:27 pm

Constraint of "Website URL"

Post by jonb »

What terms did you try when SEARCHING for a solution:
Can't perform meaningful searches because 'Website URL' is unpacked into website and URL and both are too common so search function refuses.

Tried a few Google searches but again the search terms are too generic.

Write your message below:
I want to link to a single instance of HESK from a number of different subdomains (each customer runs the same copy of my application but from a different subdomain). Consequently the 'Website URL' setting for your cookie trail would need to be different for each subdomain.

My plan is to launch HESK in a new tab/window, when user has finished using HESK I would be happy to just close this window, so one possibility is to host HESK in a frame then close the parent window.

Just wondering if anyone else has addressed this problem in a different/better/more elegant way?

jonb
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Constraint of "Website URL"

Post by Klemen »

If you want the same system for several websites, the most elegant solution would be to simply use a common help desk domain for all and link to it for example "mybusinesshelpdesk.com" then use different websites as categories.

Anything other than that would either require a separate installation on each website or having to apply code changes/hacks that would make everything hard to maintain, upgrade and possible introduce other issues along the way.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jonb
Posts: 3
Joined: Wed Jul 30, 2014 8:27 pm

Re: Constraint of "Website URL"

Post by jonb »

Hi - Thanks for the reply.

Unfortunately it seems I wasn't clear. I have a single web application that is used by multiple customers, each customer uses technically the same site (say myapp.com), but access it from their own subdomain, e.g. cust1.myapp.com, cust2.myapp.com, cust3.myapp.com etc. The application then uses their subdomain to select their database and various customisations.

As its the same application I want to run one copy of HESK at one location, say myappsupport.com, for all customers. All of this works great.... The only problem I see is that on the HESK pages you have a 'cookie trail' top left, the 'root' of which is set to the value of 'Website URL' by the administrator. Consequently it is not obvious to me how I can set the 'Website URL' to anything that would be meaningful to any specific customer.

I agree with your point about avoiding hacking the HESK code which is why I posted this here.

Any ideas gratefully accepted :-)

thx, jonb
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Constraint of "Website URL"

Post by Klemen »

Perhaps just remove the "Wesite URL" from all the customer files by deleting this (shouldn't be hard to implement in future updates as well)?

Code: Select all

<a href="<?php echo $hesk_settings['site_url']; ?>" class="smaller"><?php echo $hesk_settings['site_title']; ?></a> >
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jonb
Posts: 3
Joined: Wed Jul 30, 2014 8:27 pm

Re: Constraint of "Website URL"

Post by jonb »

Thanks Klemen - I'll follow your suggestion.

... and hope I remember each time there's a update released :-)

jonb
Post Reply