cmCalendar lässt sich nicht aktivieren

Hier bekommst Du deutschsprachigen Support bezüglich offizieller Module für phpwcms. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
kmstario
Posts: 396
Joined: Thu 27. Jul 2006, 11:34
Location: Berlin
Contact:

cmCalendar lässt sich nicht aktivieren

Post by kmstario »

Hallöchen,

habe heute etwas rumgespielt und irgendwie läuft der cmCalendar von Breitsch nicht.

Ich klicke den Link unter Module und es werden auch die DB Tabellen installiert, aber die Meldung

Code: Select all

	
cmCalendar setup
cmCalendar setup successful. Please click the module link again to start working with the module!
geht leider nicht mehr weg. Hat sich was geändert, funktioniert der Kalender nicht mehr mit einer neuen Version?

Warum nicht den inkludierte Standartkalender? Weil ich einen "mini calendar" benötige. Oder gibs im Standartkalender mittlerweile sowas :?:

Vg Andreas
--------------------------------------------

Alles Gelingen hat sein Geheimnis, alles Mißlingen seine Gründe.
PHPWCMS ist einfach nur großartig!
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by juergen »

Hallo

benenne mal das setup Verzeichnis um, oder lösche es. Das sollte reichen.
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: cmCalendar lässt sich nicht aktivieren

Post by breitsch »

neee, es gibt kein setup-verz. bei diesem Modul.

Versuch mal die backend.default.php im root des Moduls auszutauschen mit dem hier:

Code: Select all

<?php

// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
   die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------

// first check if exists
if(isset($phpwcms['modules'][$module]['path'])) {
  //module default stuff
	// put translation back to have easier access to it - use it as relation
	$BLM = & $BL['modules'][$module];
	define('MODULE_HREF', 'phpwcms.php?do=modules&module='.$module);
  //get functions for module (backend nodule section only)
  include_once($phpwcms['modules'][$module]['path'].'inc/cm.functions.inc.php');
	include_once($phpwcms['modules'][$module]['path'].'inc/calendar.classes.php');
	$BE['HEADER']['module_calendar.css'] = '	<link href="'.$phpwcms['modules'][$module]['dir'].'template/css/backend.calendar.css" rel="stylesheet" type="text/css">';
	$plugin = array();

  //where to?
	$controller	= empty($_GET['controller']) ? 'cp' : strtolower($_GET['controller']);

	if(isset($_GET['edit'])) {
		$action	= 'edit';
	} elseif(isset($_GET['editset'])) {
		$action	= 'editset';
	} elseif(isset($_GET['update'])) {
		$action	= 'update';
	} elseif(isset($_GET['verify'])) {
		$action	= 'status';
	} elseif(isset($_GET['verifyset'])) {
		$action	= 'statusset';
	} elseif(isset($_GET['upload'])) {
		$action	= 'upload';
	} elseif(isset($_GET['delete'])) {
		$action	= 'delete';
	} elseif(isset($_GET['deleteset'])) {
		$action	= 'deleteset';
  } else {
		$action		= '';
	}

		switch($controller) {
		case 'cal':	$controller	= 'cal';
    				break;
		case 'events':	$controller	= 'events';
						break;
		case 'cp':	$controller	= 'cp';
						break;
		case 'lang':	$controller	= 'lang';
						break;
		case 'about':	$controller	= 'about';
						break;
		default:		$controller	= 'cp';
	}

		// processing
	if( $action ) {
		include_once($phpwcms['modules'][$module]['path'].'inc/processing.' . $controller . '.inc.php');
	}

	// header
	include_once($phpwcms['modules'][$module]['path'].'inc/tabs.inc.php');

	// listing
	if($action) {
		include_once($phpwcms['modules'][$module]['path'].'inc/'.$action.'.' . $controller . '.inc.php');
  } else {
		include_once($phpwcms['modules'][$module]['path'].'inc/listing.' . $controller . '.inc.php');
	}
}
?>
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
kmstario
Posts: 396
Joined: Thu 27. Jul 2006, 11:34
Location: Berlin
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by kmstario »

Hallöchen zusammen,

vielen dank breitsch, hat funktioniert, zumindest kann ich jetzt alles aufrufen.
Weiter schaue ich morgen.

herbstliche Grüße aus Potsdam, Andreas

P.S. Was macht das Slidermodul? :wink:
--------------------------------------------

Alles Gelingen hat sein Geheimnis, alles Mißlingen seine Gründe.
PHPWCMS ist einfach nur großartig!
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: cmCalendar lässt sich nicht aktivieren

Post by breitsch »

kmstario wrote:P.S. Was macht das Slidermodul?
Weiss auch nicht so recht, hab's schon länger nicht mehr gesehen, wird wohl irgendwo faul rumliegen :wink:
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: cmCalendar lässt sich nicht aktivieren

Post by update »

breitsch wrote:wird wohl irgendwo faul rumliegen
I see. Lass mich faul daneben liegen ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by juergen »

Räusper, ich habe mir das calendar Modul sofort installiert ...
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by juergen »

..und jetzt wieder ... im Backend geht plötzlich der Teil nicht mehr, der die Terminauswahl für das neu einzutragende Event zulässt.

Im Backend wütet mootools gegen jquery. Vermute mal dass hier ein Update helfen würde, da allem Anschein nach mootools dann weg sind ?!
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by juergen »

include/inc_module/mod_cm_calendar/template/tp//src/ui.timepickr.js

alles auf jquery umgestellt, und jetzt fällt mir dieser Link auf, der vermutlich zeigt was nicht ok ist.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by juergen »

Monolog:

obige Ungereimtheit befindet sich in :

edit.events.inc.php

Zeile 38

ich nehme das mal raus, wird wohl nix ausmachen ;)
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: cmCalendar lässt sich nicht aktivieren

Post by juergen »

Das Problem ist das jquery-ui !

Im IE wirft es richtig schöne Errors, in Chrome ignoriert es den Kalender, in FF versieht es seinen Dienst.
Post Reply