Developer forum

Forum » Templates » Copied page dosen't work

Copied page dosen't work


Reply
I have copied a page, but the functionality on the original page doesn't work on the copied page.

On this page:
http://brockstedt.net.dynamicweb.dk/en-US/Medarbejdere/Juridiske-medarbejdere.aspx
i have a group of employees in an eCom. I have made a list and the emplaoyees are the products. A little javaScript makes sure, that the list stays on the page as the employees are shown in the content area.

I have copied the page to this page:
http://brockstedt.net.dynamicweb.dk/en-US/Medarbejdere/Kopi-af-Juridiske-medarbejdere.aspx
Even though the page is an exact copy, the functionality doesen't work as the empoyee in the content area doesn't change when the different names are clicked. Can anyone explain why?

/Iben Louise

Replies

 
Nicolai Høeg Pedersen
Reply

In your product list template, BRListeProductList02.html you have a reference to a custom field on the ecommerce group:
<!--@ Ecom:Group:Field.afsnit.Value -->

That contains an ID of the paragraph where the employee is shown.

When you make a copy, the paragraph ID changes and then the script will not work.

The PID parameter makes sure that only that paragraph with the id is rendered - thats why you do not see anything.

 

You must be logged in to post in the forum