Jump to content

custom message


ozmo

Recommended Posts

I currently only allow registered clients to open support tickets. But I would like non members to be able to contact us even if they don't see the pre-sales question link on the Support page.

 

So I was wondering if it would be possible to add the "If you have pre-sales questions, click here to contact us." link to the Submit support ticket template?

 

I would also like to add a similar link to the Affiliate section.

 

Is this possible?

 

Thanks,

Rob

Link to comment
Share on other sites

  • WHMCS CEO

This can be achieved using the logged in variable, for example:

 

{if $loggedin}
Display support ticket departments
{else}
If you have pre-sales questions, please click here.
{/if}

 

This would need to go in the submitticket-stepone.tpl file.

 

Matt

Link to comment
Share on other sites

Sorry for the noobism..... but I added the code to the supportticketsubmit-stepone.tpl (see below) and I removed the cached file but nothing is showing up? Any idea?

 

Thanks,

Rob

 

 

 

{$LANG.supportticketsheader}</p>

 

{if $loggedin}

Display support ticket departments

{else}

If you have pre-sales questions, please click here.

{/if}

 

<ul>

{foreach key=num item=department from=$departments}

[*]{$department.name} - {$department.description}

{/foreach}

Link to comment
Share on other sites

  • 3 weeks later...

You need to put this:

 

{if $loggedin} 
<ul> 
{foreach key=num item=department from=$departments} 
[*][url="{$SERVER.PHP_SELF}?step=2&deptid={$department.id}"][b]{$department.name}[/b][/url] - {$department.description} 
{/foreach} 
[/list]
{else} 
If you have pre-sales questions, please click here. 
{/if}

 

 

Should work then. The "Display support ticket departments" is just a description not a command

 

Ad

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated