mini calendar and template/sef url

  • unknown
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #50116 by unknown
mini calendar and template/sef url was created by unknown
hi there,
I have publish the minicalendar on every page on my site. the links/sef-urls to the events on every page are different:
(j3.3.4, eb 1.6.6, apache sef ebabled)

on homepage (itemid=101):
www.mydomain.de/component/eventbooking/ [eventcategory]/[eventname]?itemid=101

on page upcoming events (default layout):
www.mydomain.de/ [menuitem-alias upcomng-events]/[eventcategory]/[eventname]

on page archived events (default layout):
www.mydomain.de/ [menuitem-alias archived-events]/[eventcategory]/[eventname]

on page contact form:
like Homepage but another item id

is it possible, that minicalendar links to upcoming events page for upcoming events and to archived page for archived events?
or minicalendar links directly to the events detail page.
www.mydomain.de/ [eventcategory]/[eventname]
What is to do?

btw: is it possible to turn off the (date-)link to the main calendar. I have deleted the <a> in mini.php, but it takes no effect.

thank you in advanced (and sorry for my english :) )

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #50139 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic mini calendar and template/sef url
Hi

In the mini calendar, there is param called Itemid . In this case, I think you can :

1. Create two instances of mini calendar module. One module assigned to up-coming events menu and one module assigned to archived events menu.

2. Edit the mini calendar module, look for Itemid paramater :

- If that module is on up-coming events page, set that param to ID of up-coming events menu item

- If that module is on archive page, set that param to ID of the event archive menu item

Please try that setup and it should work well

Tuan

Please Log in or Create an account to join the conversation.

  • unknown
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago - 11 years 6 months ago #50213 by unknown
Replied by unknown on topic mini calendar and template/sef url
hi tuan,
with id it works for me (and google ;) ). special thanks.
Last edit: 11 years 6 months ago by unknown.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #50270 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic mini calendar and template/sef url
Great. Thanks for confirming Marco

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc