Search code examples
duplicatesrepeaterelementkentico

Duplicate elements after clicking in a repeater list item


I've an issue after clicking in repeater list item, I get two items in the detail page instead of one element.

This repeater is for Booking elements and I've added the follow transformation: "Transformation" and "Selected item transformation".

The "Selected item transformation" is applied but I get two elements in the page after apply this transformation.

I tried to add a data list and instead of to get two elements after clicking on an element I get four.

I'm new in Kentico maybe it is a configuration issue.

Below I detail the configuration for the repeater web part:

  • Content/Path:/Events/%
  • Content filter/Page types: CMS.BookingEvent
  • Content filter/Category name: {%SiteContext.CurrentCategory.CategoryName#%}

Do you have any idea about what can be the problem?

If you need more information please let me know and I'll send you.


Solution

  • You can check following below things

    1. Does the listed page & detail page uses same page template (is it inherited)?
    2. Need to check Selected item transformation, is it setup right?.
    3. For testing you can remove category filter and then check.
    4. Make sure are you using <%# GetDocumentUrl() %> in list page Transformation

    Thanks