An Event Calendar Mod

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
TheSearch
Posts: 97
Joined: Thu 22. Dec 2005, 09:56
Location: Lauenau / Willich
Contact:

Update to 1.2.8

Post by TheSearch »

If I update my phpwcms installation from 1.2.5 to 1.2.8 must I reinstall the calender mod?

---
Wenn ich mein phpwcms von 1.2.5 nach 1.2.8 update muss ich den calender-mod neu einbinden?

Thx.
tacka
Posts: 13
Joined: Mon 19. Sep 2005, 00:32

How can I get the Calendar Mod to work for 1.2.8??

Post by tacka »

Hi,

I am running a brand new installation of 1.2.8 - I have become a little confused as to how I can get the Calendar mod installed and working on 1.2.8...

What do I need to install? The multiple versions of Ionrock?

Please help if you can, I'd really like to get this on my site!

Thanks in advance!
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

@theSearch
yes you must - like every Hack ;)

@take
take the latest one - but the Install-Docu is not up-to-Date so you must have a little PHP knowledge to find the right Lines for changing
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Monz@
Posts: 34
Joined: Fri 18. Feb 2005, 17:10
Location: Balzers / Liechtenstein
Contact:

Post by Monz@ »

Important information for all people who can see the module-link but when they click on, just nothing happens:

when you change / add the lines in the phpwcms.php it's necessary to put the "default"-lines of coding at the end of the cases lines. If you don't you'll only see the default-message! here an example of an correct code:

Code: Select all

      	case "modules":	//Modules
      	switch ($p) {
      		case 2:	 // Graphical Text MOD
      		if($phpwcms["gt_mod"]) { //enabled/disable GT MOD
      		include_once("include/inc_module/mod_graphical_text/main.inc.php");
      		}
      	break;

		case 3: // Calendar Mod 
		if ($phpwcms["calendar_mod"]) { //enabled/disable calendar mod 
		include_once("./include/inc_module/mod_calendar/main.inc.php"); 
		} 
	break;


		case 5: //Gallery Mod
		if ($phpwcms["gallery_mod"]) {
		include_once("./include/inc_module/mygallery/main.inc.php");
		}
	break;
     		
		default: echo 'Thanks to J&eacute;r&ocirc;me for his <a href="phpwcms.php?do=modules&p=2">Graphical Text MOD</a>.';
 		echo '<br>&nbsp;<br>Other modules might follow. GT MOD will be moved to admin section.';
	      	}
      	break;
greetz Monz@
general_
Posts: 24
Joined: Wed 6. Jul 2005, 22:16

Post by general_ »

//solved.
general_
Posts: 24
Joined: Wed 6. Jul 2005, 22:16

Post by general_ »

Is it possible to let the user in the frontend choose which categorie he wants to see? (perhaps as a dropdown, such as the months) I only discovered the possibility to show the events of all categories.

:?:
volkman
Posts: 179
Joined: Wed 13. Jul 2005, 12:52
Location: Hamburg, Germany

Post by volkman »

uncomment

Code: Select all

/*		$menu .= $categories;  
around line 260 in calendar.classes.php


volkman
#Wumpscut#
Posts: 32
Joined: Mon 27. Mar 2006, 21:43

Re: It dosn't work...

Post by #Wumpscut# »

TGO wrote:Hello! Maybe it's not to boring all the time this damn rookie questions, but I can't find the mistake...

I use phpwcms v1.2.3-DEV and the calendar_mod_v2.01_ionrock. I install all files and added everything, but when I will install the calendar, I only get this:
Error creating the events table: Query was empty
I can't find the mistake. I do all steps exactly like in the manual from calendar_mod_v2.01_ionrock.

Maybe someone knows, where is the mistake!

Thank you!
ist bei mia auch der fall..

meine phpwcms.php :
case "modules": //modules
$wcsnav["modules"] = "".$wcsnav["modules"]."";
if($phpwcms["gt_mod"]) { //enabled/disable GT MOD
$subnav .= subnavtext($BL['be_subnav_graphicaltext_mod'], "phpwcms.php?do=modules&p=2", $p, "2", 0);
}

// you take this line and add it to your /include/inc_conf/conf.inc.php file
$phpwcms["calendar_mod"] = 1; // enable calendar mod = 1, disable = 0

if ($phpwcms["calendar_mod"]) { // enabled/disable Calendar Module
$subnav .= subnavtext("Calendar Module", "phpwcms.php?do=modules&p=3", $p, "3", 0);
}
break;
und weiter unten...
case "modules": //Modules
switch ($p) {
case 2: // Graphical Text MOD
if($phpwcms["gt_mod"]) { //enabled/disable GT MOD
include_once("include/inc_module/mod_graphical_text/main.inc.php");
}
break;
default: echo 'Thanks to J&eacute;r&ocirc;me for his <a href="phpwcms.php?do=modules&p=2">Graphical Text MOD</a>.';
echo '<br>&nbsp;<br>Other modules might follow. GT MOD will be moved to admin section.';

case 3: // Calendar Mod
if ($phpwcms["calendar_mod"]) { //enabled/disable calendar mod
include_once("./include/inc_module/mod_calendar/main.inc.php");
}
break;


}
break;
und die main.config.php
<?php
// main config for calendar mod

// table names
$prefix = "db_wcms";
$tables['cal_events'] = $prefix . "phpwcms_cm_events";
$tables['cal_categories'] = $prefix . "phpwcms_cm_categories";

$GLOBALS['tables'] = $tables;

?>
wo steckt der fehler? :(
sp1r
Posts: 25
Joined: Thu 21. Sep 2006, 13:20

Post by sp1r »

Its been quiet for some time now. But i have 2 questions.

1. How do you change the look of the agenda, i can't figger it out. The css is not attached to any template it seems.

For example, how can i use my own buttons to replace with the < > buttons.

2. Is it possible to only show events from one category? (with the replacement tag?) so you can use more agenda's for your site?
Last edited by sp1r on Mon 9. Oct 2006, 13:16, edited 1 time in total.
sp1r
Posts: 25
Joined: Thu 21. Sep 2006, 13:20

Post by sp1r »

sorry double post..
dastel
Posts: 72
Joined: Wed 18. May 2005, 09:34

suche in calendar mod

Post by dastel »

hallo leute, ist es irgendwie möglich, dass auch die calendar mod einträge bei der suche ausgegeben werden???

DANKE :-)
tobsolution
Posts: 10
Joined: Fri 8. Dec 2006, 11:07

Post by tobsolution »

Hello, is there a possibility to set yearly events like birthdays?

And I´ve a problem with the monthly events. I got an error iv ei want to create it.

Thanks!


---
Hallo, wie kann ich jährliche Events wie Geburtstage etc. einbinden?

Vielen Dank,
Tobias
User avatar
spazcer
Posts: 5
Joined: Mon 22. Oct 2007, 22:30
Location: Amesbury, MA
Contact:

Updated Calendar Installation doc for 1.3.3

Post by spazcer »

http://bishport.com/phpwcmsdev/

I dont know if this exists anywhere else so i added the changes i needed to make granted the tutorial is still mostly Volker's work

thanks again volker
User avatar
Mr.Flash
Posts: 50
Joined: Thu 3. May 2007, 19:17
Contact:

Post by Mr.Flash »

hey volker,
great tutorial!
i didn't install it yet, but just read over it.
looks very good!
rettungjim
Posts: 14
Joined: Wed 17. Oct 2007, 12:30

Post by rettungjim »

Post Reply