Page 1 of 1

Calendar module enhanced by Vectrus for r304+

Posted: Fri 13. Feb 2009, 00:35
by caramello
The much appreciated phpwcmscalendar.class.php provided by oliver for use with the backen calendar module wasn't quite finished but was a great start for which i owe many thanks.

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}
Now you can provide ....w h c and q in the reptag. (I included the example in the zip)

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

Re: Calendar module enhanced by Vectrus for r304+

Posted: Thu 14. May 2009, 14:51
by culda_a
Can you pls tell us how it works some step by step information how to use it... is this for the calendar module that Oliver is working on ?

Re: Calendar module enhanced by Vectrus for r304+

Posted: Thu 14. May 2009, 15:18
by caramello
Yes, it's oli's. Just added some details to get it working more like a proper module. Also removed some nasty errors and the ability to add images. Since i needed something with multiple calenders, that held different types of calendar items. I also added some tagmode options like 'NOT" to be able to for instance show all items exept the items tagged as birthday.

The RT now has NOT as extra TAGMODE option (it was only, AND and OR)

The RT now has functions to define image width, height, crop and quality using the proper PHPWCMS way.

Let me know if you decide to use it, due to lack of interest I havent kept this post up to date with the latest version.

Julius

Re: Calendar module enhanced by Vectrus for r304+

Posted: Thu 14. May 2009, 15:27
by culda_a
I want to know more about it how to use it, I have download thie calendar from here:

http://forum.phpwcms.org/viewtopic.php? ... 28#p116628

and also I have no ideea how ro use it, this one have overite Oli calendar

Can you tell me how to use your version? and how to install it again coz now in the module I have the one above... maybe how to keep both of them

Re: Calendar module enhanced by Vectrus for r304+

Posted: Sat 16. May 2009, 10:49
by culda_a
can pls send me and e-mail ..I don\t know why the message module from the bord is not active by me, my email is culda_a@yahoo.com

Re: Calendar module enhanced by Vectrus for r304+

Posted: Mon 18. May 2009, 13:34
by baklavoni
WOW, I have missed this topic. :oops:
I had a request for calendar, and because Oliver's calendar had no frontend, I implemented phpicalendar.

I definitely will try this one!

Re: Calendar module enhanced by Vectrus for r304+

Posted: Mon 18. May 2009, 21:50
by culda_a
did you mange to make it work?

Re: Calendar module enhanced by Vectrus for r304+

Posted: Mon 18. May 2009, 22:16
by juergen
Hey culda_a,

trying to sent you a pm, but no pm system here :?

Re: Calendar module enhanced by Vectrus for r304+

Posted: Mon 18. May 2009, 22:17
by culda_a
I know I don't know why my pm is not there ... is only by me the problem or someboady else have this problem????

Re: Calendar module enhanced by Vectrus for r304+

Posted: Mon 18. May 2009, 22:19
by update
me too - seems to be disabled board-wide...

Re: Calendar module enhanced by Vectrus for r304+

Posted: Thu 28. May 2009, 20:51
by culda_a
well how is with the calendar module...I don't know why is not showing the full article!