Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • David 39 posts 119 karma points
    Mar 01, 2013 @ 17:09

    PDCalendar multiple locations

    Hi all,

    I'm currently using PDCalendar for our site and it works well, however we have now added multiple sites for different languages and re-used the PDCalendar for each site.

    We are noticing that we have an issue where an event place under the English version of the site appears on the other sites.

    Is there any way of only showing events for on the specified site (only English on the en. Site, Spanish on de. etc.)

    I'll be very grateful of any assistance.



  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 01, 2013 @ 19:50
    Peter Dijksterhuis

    hi david,

    i think you have 2 options.

    option 1: buy the pro version, in which you can define a startnode to select the events from

    option 2: create a documenttype for events dor each site. that way you will only see events from that particular particular doctype


    does this help?


  • David 39 posts 119 karma points
    Mar 05, 2013 @ 12:08


    Thanks for your reply, but I found a workaround before I saw your reply.

    I have been looking at and have found a solution to this problem; the calendar displays all events using the specific document type not the events that are children of the calendar as I initially thought. Although buying the pro vesion may have been a better option.

    To get around this issue, I created new document types for events (CalendarEvent (ES)) for the separate calendars and added a new property eventes (Spanish) etc. with a type of PDCalendar.

    Next I created a new Macro and XSLT and copied and pasted from the existing XSLT for displaying the calendar and called this PDCalendarES. Within the new XSLT I changed event to eventes to match the property within the new document type.

    A new template was created named Calendar (ES) with the new Macro added.

    Now a new calendar can be created using the new Calendar (ES) template each event will use the new CalendarEvent (ES) document type, so each calendar will show separate events in their respective languages.



Please Sign in or register to post replies

Write your reply to: