New Calendar Mod: QCalendar with Ajax [Updated v1.0.8]

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
User avatar
Paradroid
Posts: 176
Joined: Fri 19. Mar 2004, 13:14
Location: Wuppertal
Contact:

Post by Paradroid »

JensZ wrote:So it works as expected!

Without the {EVENTS} tag in your template (default.cal.tmpl) you will not see any events!
Now I understand .... :?

I will test it when I come home, thanks for your help !!!
ParaDroid

knquadrat edv + marketing
http://www.knquadrat.de

phpWCMS Dokumentation | Deutsch | English
User avatar
Paradroid
Posts: 176
Joined: Fri 19. Mar 2004, 13:14
Location: Wuppertal
Contact:

Post by Paradroid »

Aaaargh, new problem :oops:

I updated the installation from 1.3.0 to 1.3.3. Now the {QCAL} Tags are not parsed, they appear in as they are written in the frontend.

Backend works finde, checked the config.inc.php, uploaded the qcal files again, but still no change.
ParaDroid

knquadrat edv + marketing
http://www.knquadrat.de

phpWCMS Dokumentation | Deutsch | English
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

I took a look at the new 1.3.3 and it seems like OG has added two more variables that control rendering of modules. I think it should work if you add the following to include/inc_module/mod_qcal/module.default.php:

Code: Select all

// simple switch to allow fe render or fe init
$_module_fe_render		= true;
$_module_fe_init		= true;
Let me know if it works and I shall add it to the next release of QCal.

JZ
User avatar
Paradroid
Posts: 176
Joined: Fri 19. Mar 2004, 13:14
Location: Wuppertal
Contact:

Post by Paradroid »

Yes, this works perfectly !!!

Thank you very much for your kind help !
ParaDroid

knquadrat edv + marketing
http://www.knquadrat.de

phpWCMS Dokumentation | Deutsch | English
nehemia
Posts: 118
Joined: Mon 11. Sep 2006, 21:19
Location: Fürth
Contact:

qcal 1.0.6 in phpwcms 1.3.3 - ('!')

Post by nehemia »

I made a testinstallation of qcal 1.0.6 in phpwcms 1.3.3 with MAMP on my local Server and it is correctly displayed in the backend. Now I want to get it working for me and I do it by trying and error. Here are some questions, which came up to me:

1. When I create a new event in the backend, it is properly displayed in the backend. But when I want to delete this event, there seems to be no possibility to do so. So how can I delete a created event in the backend?

2. For use of the Replacement-Tag in the frontend it ist asked for the calendar ID. How can I know and see the ID of the calendar category, when my calendar is named e.g. "Meetings"?

3. It is asked for the css. What does that mean? Could someone please give an example for that

For any help thanks in advance,
Martin
nehemia
Posts: 118
Joined: Mon 11. Sep 2006, 21:19
Location: Fürth
Contact:

qcal 1.0.6 in phpwcms 1.3.3 ('!')

Post by nehemia »

Further problems came up:

1. When I created an event in the backend, it seems not only impossible to delete the event, but impossible to edit the event too.

2. In the Replacement-Tag it makes no difference, if I take the ID 0, 1 or 2 for the category of the calendar. It is always displayed the same way.

Could someone give advice? Thanks in advance,
Martin
jamesmbradley
Posts: 3
Joined: Sun 6. May 2007, 14:37

Post by jamesmbradley »

Hi,

I have just installed the latest version of PHPWCMS with the latest version of this mod. I can however not find the option to edit/delete events once they are in the calendar. How can I do this?

Kind regards,

James
User avatar
Paradroid
Posts: 176
Joined: Fri 19. Mar 2004, 13:14
Location: Wuppertal
Contact:

Post by Paradroid »

I second the questions from Martin.

I tried to apply a custom css file, but it is not processed.

Here is my RT:
{QCAL:2:de:default.cal.tmpl:de.frontend.event.tmpl}
This works perfectly. When I change this to
{QCAL:2:de:default.cal.tmpl:de.frontend.event.tmpl:norma.css}
there are no styles applied. (norma.css exists and is placed in same directory as qcalendar.css)

Here ist a part of my source code :

Code: Select all

<div id='quickCalendar'><div id='qEvents' style='display:none;'><div id='qEventTitleBar' class='titlebar'><span id='qEventTitleBarText'></span><span id='qEventTitleBarButtons'><a href='javascript:;' onclick='closeEvent(document.getElementById("qEvents"))' class='qclosewin'><img class='qclosewinimg' src='img/button/close_message.gif'></a></span></div><div id='eventInfo'></div></div><table cellspacing='0' cellpadding='0' class='de.frontend.event.tmpl'><tr>
The code in the end seems very strange, because it uses the name of the event template as a class ?
Please note the comment that the lang code will be appended to the front. I don't know if this is also true if you have specified an event template in the reptag. In that case that is a bug!!
The language code ist not appended to the front, as it seems. I have to specify the whole template name.
ParaDroid

knquadrat edv + marketing
http://www.knquadrat.de

phpWCMS Dokumentation | Deutsch | English
User avatar
lady_witchcraft
Posts: 94
Joined: Sun 14. Nov 2004, 19:19
Location: Austria
Contact:

Post by lady_witchcraft »

hy guys, short question: is it possible to display a list of all events WITHOUT a calendar? and how can i get this work? any suggestions?

i use the calendar in a box for the event overview {QCAL:1:de}, but in the CONTENT box i`d like to display a list of all events per month... tried a lot of things, but the rep-tag only displays that damn calendar or the text entered in the template - no list of the events at all :oops: please help me - THX A LOT IN ADVANCE for your hints!

greets, claudia
Last edited by lady_witchcraft on Sun 6. May 2007, 17:49, edited 1 time in total.
... it's not bad luck, it's a bug ...
User avatar
Paradroid
Posts: 176
Joined: Fri 19. Mar 2004, 13:14
Location: Wuppertal
Contact:

Post by Paradroid »

It seems that event descriptions are scrambled somehow. Even unsing [EXT] rt does not work.

If I enter :

Code: Select all

http://www.phpwcms.de
I get :

Code: Select all

www.http.phpwcmsde
:shock:
ParaDroid

knquadrat edv + marketing
http://www.knquadrat.de

phpWCMS Dokumentation | Deutsch | English
User avatar
Paradroid
Posts: 176
Joined: Fri 19. Mar 2004, 13:14
Location: Wuppertal
Contact:

Post by Paradroid »

And one small problem:

If I enter a description with a 2 seperate rows (Row 1, pressing enter key, Row2) the output of the event template is always Row1<br /><br />Row2

Do you have an idea, where to get rid of the double <br /> ?
ParaDroid

knquadrat edv + marketing
http://www.knquadrat.de

phpWCMS Dokumentation | Deutsch | English
fopulu
Posts: 359
Joined: Tue 2. May 2006, 14:19
Location: Rhein-Main

Post by fopulu »

@lady_witchcraft
Yes, is it possible!

Look at the main frontend template, where {MONTH} and {EVENTS} is in it. Delete {MONTH}! Month shows the calender and Events the listing of the events....
User avatar
lady_witchcraft
Posts: 94
Joined: Sun 14. Nov 2004, 19:19
Location: Austria
Contact:

Post by lady_witchcraft »

@fopulu: thx for the hint, but nothing happens at all... only the code in the template is displayed in the browser...

further hints? :oops:

Code: Select all

{DAY}. {TITLE}
Wann: {TIME}
Wo: {LOCATION}
Was: {DESCRIPTION}
[/code]
... it's not bad luck, it's a bug ...
User avatar
lady_witchcraft
Posts: 94
Joined: Sun 14. Nov 2004, 19:19
Location: Austria
Contact:

Post by lady_witchcraft »

GOT THE SOLUTION - it is NOT possible to use a template for the eventlist WITHOUT using a template for... äh i don*t know what the first template is for, but fopulus hint made it possible to use the RT now :lol:

shame on me, i don't know why it works now exactly, but i don't mind :oops:

my RT

Code: Select all

{QCAL:0:de:pi.event-show.tmpl:pi.events.tmpl}
in the first template i insertet only one line - {EVENT}

and in the second template i used the default things, and now the event list is working fine :?

thx fopulu for your input
... it's not bad luck, it's a bug ...
fopulu
Posts: 359
Joined: Tue 2. May 2006, 14:19
Location: Rhein-Main

Post by fopulu »

:wink:
It takes a long time for me too, to understand that mod!
Post Reply