Web Site Comments - Emails and Links

Hello, All -

I'm having some problems with the WSC email templates. The #commentPageUrl# isn't displaying the full URL to the correct page. It's simply appending the record number to the domain name.

I'd also like to add the user's full name to the notification emails - but I can't seem to find where to start.

Can you help, please?

:0)

Perch 

Hi, Clare -

Thanks. On this occasion the fullname issue is with a different type of template. The WSC system uses its own integrated email template system.

:0/

Perch

Hi, Clare -

The URL would be made up of several factors: domain/index.php?category=recordNum

Currently it's just returning: domain/recordNum

I need to be able to construct the elements of the query string somehow.

:0/

Perchpole

By claire - January 6, 2015

Okay, one issue at a time. Can you reach the URL normally in the browser if you construct it yourself?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Yes. No problems there.

By claire - January 6, 2015

Can you attach the viewer file here?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Hi, Claire -

Do you mean the page on which the comments are displayed? I want the email to form a URL that links to that page. Why do you need the page code?

Please explain...

:os

Perch

Claire -

For the record, if I include the following code on one of the pages with the comments...

<?php echo htmlencode(thisPageUrl()) ?>

It displays the correct page URL in its entirety. For some, though, this isn't being saved or passed to the email template.

:0/

Perch

Hi, Claire -

You were right. The secret is in the viewer page! I've found the code that makes the URL. Now all I need to do is clean it up!

I'll be back...!

:0)

Perch