Customer Center - Adding a new page

Hello

Is it possible ta add a new page in Customer Center? I want to have two "newTicket.html" pages. One standard and one with some more logic built in. The new page should have a link in frameWork.html same as the standard pages.

-Frode

Re: Customer Center - Adding a new page

Sure thing. Just create an .html file along the others, and access it with customer.exe?action=specialForm&template=filename.html

Then you can just add that link in framework.html.

Sverre

By: Sverre Hjelm 17 Sep 2010

Re: Customer Center - Adding a new page

Thank you for answering. It sort of worked Smile I had to add "/no/customer/newEmp.html" as the name of the template (href="%AuthProgram%&action=specialForm&template=/no/customer/newEmp.html"
)

When clicking on the link, newEmp.html didn't open "within" customer center context so the framework.html menu-items disaperad and so on. Any suggestions on how to get the page to open within the Customer Center context?

-Frode


By: Frode Follerås 17 Sep 2010

Re: Customer Center - Adding a new page

&withFrame=1 in your url. This also removes the need for the path to the file.

Sverre

By: Sverre Hjelm 17 Sep 2010

Re: Customer Center - Adding a new page

Hi!
A little off topic:
Did you also know that you can use pure ejScript goodness in the customer centre?

The action is then called parse and you use the following syntax to call a script on customer.exe 

customer.exe?action=parse&includeId=yourscriptID&key=yourscriptKey&withFrame=1
(fill inn yourscriptId and yourscriptKey with the correct values).

Why use a script instead of html files, you wonder?

Easier to maintain. The html files are placed as files and you need file access to modify them. If you use scripts, you can modify them within the user interface of eJournal.



By: Hans Oluf Waaler 17 Sep 2010

Re: Customer Center - Adding a new page

Hey.

Thanks for the tip! I'm going to follow your adwise Smile

-Frode

By: Frode Follerås 22 Sep 2010