Page 5 of 10

Posted: Fri 4. May 2007, 14:55
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 !!!

Posted: Fri 4. May 2007, 15:18
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.

Posted: Fri 4. May 2007, 16:18
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

Posted: Fri 4. May 2007, 18:53
by Paradroid
Yes, this works perfectly !!!

Thank you very much for your kind help !

qcal 1.0.6 in phpwcms 1.3.3 - ('!')

Posted: Sat 5. May 2007, 19:31
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

qcal 1.0.6 in phpwcms 1.3.3 ('!')

Posted: Sat 5. May 2007, 23:09
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

Posted: Sun 6. May 2007, 14:38
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

Posted: Sun 6. May 2007, 14:49
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.

Posted: Sun 6. May 2007, 16:43
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

Posted: Sun 6. May 2007, 17:43
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:

Posted: Sun 6. May 2007, 18:32
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 /> ?

Posted: Sun 6. May 2007, 19:34
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....

Posted: Sun 6. May 2007, 19:50
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]

Posted: Sun 6. May 2007, 19:55
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

Posted: Sun 6. May 2007, 21:18
by fopulu
:wink:
It takes a long time for me too, to understand that mod!