BUT...
I could not use all the fields provided in the backend in templates and the follow up links did do what i wanted for a client. ANd eventhough they rented my time and knowledge the bases is still "OPEN SOURCE" and so is my enhancement.
What did i change?
Well i added a extra part to the {CALENDAR tag :
Code: Select all
{CALENDAR:
items=10
template=home_dates_de.html
lang=
tag=
tagmode=OR
href=index.php?agenda-full
WxHxCxQ=75x100x1x100}
To see what i changed in the script, look around, i tried to comment but i get lame and document stupid things a bit.
Part you might like is that lightbox, zoom, caption, teaser, image_calendar, longtext all work when used in a template.
What you also might like is that, when you you show a list in one article/page, it gives you links to what should be the full text aticle of that specific calendar item. It now does. Using the href tag in the REPTAG, you provide the alternative article/page link to the full article. Using two different pages/articles, with two different calendar-templates you can now easily separate a list article page, from a full article page.
I wanted to add a filedownload posibilty but did not want to change any files in the core of phpwcms, altering a reptag / module is one thing changing the core i would rather not. If oliver ads it in the backend i'll update the class s to say.
Also, important, i do not know how to automaticly add mootools.js stuff needed in the header, the moment a lightbox check is marked. (Olver ?? Some insights ?) So i added those lines in my page template's <header> section.
BONUS
- Since i am dutch I also added dutch language support for the module.
- Template with all the reptags possible.
http://www.vectrus.nl/2009-02-12_calendar_dev.zip
Kind regards,
Julius