Page 12 of 16
Posted: Fri 30. Sep 2005, 00:30
by StudioZ
Kosse, your hack sounds good.

Did not tried it yet tough.
Don,t know if I'll ever do.

When I see this:
11 pages of discussions regarding this Calendar
Sounds like it is a highly popular feature.
Hoping Oliver to come up with a fully integrated solution soon...
Cheers,
Posted: Fri 30. Sep 2005, 13:02
by Kosse
StudioZ wrote:Kosse, your hack sounds good.

Did not tried it yet tough.
Don,t know if I'll ever do.

When I see this:
11 pages of discussions regarding this Calendar
Sounds like it is a highly popular feature.
Hoping Oliver to come up with a fully integrated solution soon...
Cheers,
Yes, that would be nice

And as for the hack, well I don't know if it will work for everybody, but it does for me...
The ' is a big issue as u know... we french speaking pple use it quite often, and mysql doesn't like it...
Cheers
Posted: Tue 8. Nov 2005, 16:53
by StudioZ
For anyone interested,
Volkman has made his Ioronrock's Calendar hack available.
Details here:
http://www.phpwcms.de/forum/viewtopic.php?p=52126#52126
Cheers,
Small add-on
Posted: Tue 8. Nov 2005, 22:40
by volkman
Sorry, the installation-help is missing one topic to be edited. for those of you who already downloaded the mod, please check
http://www.phpwcms.de/forum/viewtopic.php?p=52163#52163
I have sent StudioZ an new archive with the corrected set
Sorry for the inconvenience, I've been too tired
volkman
Posted: Tue 8. Nov 2005, 22:52
by Kosse
Hi volkman, congrats nice job,
One question, did u inlcude the hack that was made for the special characters in your version? (
http://www.phpwcms.de/forum/viewtopic.p ... &start=152)
Thanks.
Cheers
Posted: Tue 8. Nov 2005, 23:39
by volkman
hi kosse,
thanks for the hint, yes, the cal-week starts on mondays, not on sundays.
If i had the time, there is soo much to clean from leftovers of ionrocks version he made for a customer.
cewenet pointed me to the file /inc_tmpl/header.php where still a javascript function for editing and deleting of calendar-users sits (from ionrocks customer). This one can be deleted. I had never opened that file before
have a good one
volkman
Posted: Thu 10. Nov 2005, 16:36
by pico
Hi
I'm testing the newest Version of this Calendar mod and I find out, that the
FCKeditor (what else

) won't start - also have tested to set to HTMLarea doesn't work too
So I look into the Code and have done the followin modifikation in
mod_calendar/inc_tmpl/calendar.event.forms.php
Code: Select all
switch($_SESSION["wysiwyg_editor"]) {
to
Code: Select all
switch($_SESSION["WYSIWYG_EDITOR"])
{
for the new FCKeditor 2.1 the Call has changed - so this
Code: Select all
//load FCKeditor
case 2:
include(PHPWCMS_ROOT."/include/inc_lib/fckeditor.editor.inc.php") ;
$oFCKeditor = new FCKeditor ;
$oFCKeditor->ToolbarSet = 'phpwcms' ;
$oFCKeditor->Value = stripslashes($values['description']) ;
$oFCKeditor->CreateFCKeditor( 'description', '100%', '350' ) ;
break;
has to be changed to
Code: Select all
//load FCKeditor
case 2:
include(PHPWCMS_ROOT."/include/inc_ext/FCKeditor2/fckeditor.php");
$oFCKeditor = new FCKeditor('description');
$oFCKeditor->ToolbarSet = 'phpwcms' ;
$oFCKeditor->Width = '436';
$oFCKeditor->Height = '400';
$oFCKeditor->Value = stripslashes($values['description']) ;
$oFCKeditor->BasePath = '/include/inc_ext/FCKeditor2/' ;
$oFCKeditor->Create('description') ;
break;
tested with phpWCMS Version 1.2.6 DEV - CSV
Posted: Thu 10. Nov 2005, 17:39
by volkman
horst,
you are my heroe! I was trying to find out why even the damm HTMLarea did not work, just writing in capitals - now it works here (DEV 1.2.5), thank you!
Thx aswell for the hint on FCKeditor
I am still not using FCKEditor cause it screws up my Umlauts (öäü). After editing the summary displays ä instead of ä if I open the complete view of an article.
see
http://www.phpwcms.de/forum/viewtopic.php?p=47389
and
http://www.phpwcms.de/forum/viewtopic.p ... highlight=
I'd love to use FCKeditor, had em installed (your version), but...
volkman
Posted: Thu 10. Nov 2005, 19:06
by pico
@volkmann
goto ../include/inc_tmpl/articlecontent.list.tmpl.php ~line 46
change
Code: Select all
<td valign="top" class="v10"><?php echo html_specialchars(strip_tags($article["article_summary"])); ?>
to
Code: Select all
<td valign="top" class="v10"><?php echo strip_tags($article["article_summary"]); ?></td>
maybe this solve your Problem

Posted: Fri 11. Nov 2005, 13:55
by pico
@Volkmann
to solve a Error when creating a monthly/week Event (undefined function get_ordinal_day(...) in Line ... )
you have to move the Function from Line ~509 to the top of the File right after <?php
Code: Select all
function get_ordinal_day($ord, $nthday, $evtime)
{
$currenttime=$evtime;
$i=0;
while ($i<$nthday) {
if ($ord==date("w", $currenttime)) $i++;
if ($i<$nthday) {
$currentarray=explode("-", date("Y-m-d", $currenttime));
$currenttime=mktime(0,0,0,$currentarray[1], $currentarray[2]+1, $currentarray[0]);
}
}
return $currenttime;
}
if you use a prpend in your Database you can set it in ../mod_calendar/inc_lib/main.config.php
and modify the cal_mod.sql everywher
and
befor running in SQL for creating the Tables.
Posted: Fri 11. Nov 2005, 14:12
by volkman
wow horst, thanks a lot. maybe i never ran into this cause i never used that feature...
i have to finish a big print-publishing job right now (need some money

). after that, i will try to incorporate all the rechent changes and do some codecleaning. will work on the backend localisation aswell, there is still some stuff left. i like the calendar, its plain and easy.
volkman
Posted: Sat 19. Nov 2005, 21:27
by sixtonveit
hello,
i hav installed the Calender Mod 3.0...it is looking good. But i have a question.
On the calender in the left (or right) frame you can click on the date to open
allevents...like here :
http://thekhabeleschool.org/cms/index.php
But how can i do this, at my Website it is not possible to open the "allevent of the month"....what can i do ?
My project site is:
http://tus-lintfort.de.s522.evanzo-server.de/
thanks.
Posted: Sat 19. Nov 2005, 21:28
by sixtonveit
hello,
i hav installed the Calender Mod 3.0...it is looking good. But i have a question.
On the calender in the left (or right) frame you can click on the date to open
allevents...like here :
http://thekhabeleschool.org/cms/index.php
But how can i do this, at my Website it is not possible to open the "allevent of the month"....what can i do ?
My project site is:
http://tus-lintfort.de.s522.evanzo-server.de/
thanks.
Posted: Sat 19. Nov 2005, 22:14
by volkman
open /inc_lib/calendar.classes.php and go to line 149/150. I did not need that functionality, so I commented it out. The necessary line is still there of cause.
Delete the to comment-characters // in front of line 149 and put them in front of line 150 and you are done.
volkman
Posted: Mon 21. Nov 2005, 00:09
by sixtonveit
Hello again,
thank you, i have done this. Now i can klick on the days but the "allevent" don´t open. Can you take a look on my Project above ?