|
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
Autor |
Nachricht |
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 09:16 Titel: Help to add a second Event4U |
|
Hi,
I've have added Event4U to my (test)site and it works just fine It's just what I wanted.
But I would like to add a second Event4U-calender, so I have to different calenders (Dualigual site - so one calender for Danish and one for English language).
I tried to change all hits of "event4u" to "event4u2" - inside the files and the file-/directorynames. It didn't work - the site becomes unavailable.
Who can I do this?
Thanks,
Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 09:19 Titel: Re: Help to add a second Event4U |
|
By the way - I have of cause also added the need two tables to my DB, also called "event4u2"-something.
- Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
Ertan Webmaster
Offline Dabei seit: Mar 19, 2004 Beiträge: 1264 Wohnort: Germany
|
Verfasst am: 18.08.2004 17:19 Titel: Re: Help to add a second Event4U |
|
hhmmm
so i would do :
1. search (case sensitive) for "_events4u" replace it with "_events4u2" / here the 2 tables name
2. search (case sensitive) for "Events4U" replace it with "Events4U2" / thats the module_name=>foldername
3. search (case sensitive) for "$events4u" replace it with "$events4u2" /
good luck
ertan
if error post it here
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 20:50 Titel: Re: Help to add a second Event4U |
|
I'm sad to say - it still dosn't work.
The site works fine until I (administrator) logs in. Then you only gets the header.
I also tried to make the tables manually - with the sql-file. No luck.
When i again delete all the files added to the admin-folders, the site works again.
Can the error be something about CPGnuke tries to install the module?
Thanks,
Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
Ertan Webmaster
Offline Dabei seit: Mar 19, 2004 Beiträge: 1264 Wohnort: Germany
|
Verfasst am: 18.08.2004 21:03 Titel: Re: Help to add a second Event4U |
|
you have to rename the files
admin/modules/events4u.php
=>events4u2.php
case.events4u.php =>case.events4u2.php
and so on ....
then
search (case sensitive) for things with events4u.php in it and replace it with "events4u2.php"
thats the concept
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 21:31 Titel: Re: Help to add a second Event4U |
|
I did all that
If I could I would attach the files here - but it seams that I can't attach file to the posts.
I searched and replaced the three like you wrote.
I renamed all the files and directories
I searched and replaced "events4u.php" with "events4u2.php" also
Still no luck
Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 21:51 Titel: Re: Help to add a second Event4U |
|
I found if I delete the file /admin/links/adlnk_events4u2.php
the site will run - but of cause with out the second calender.
So I guess the "error" is in this file.
I have posted the code of this file below:
PHP:
<?php /************************************************************************/ /* Events4U2 */ /* ==================================================================== */ /* ported cpgnuke germany 26.03.2004 */ /* www.cpgnuke.de @ EA */ /* ==================================================================== */ /* CPG-NUKE: Advanced Content Management System ******************************************** Copyright (c) 2004 by CPG Dev Team cpgnuke.com*/ /* ==================================================================== */ /* based on Calendar Module for vkpMx 2.x & phpNuke 5.5-7.0 */ /* Copyright (c) 2004 by A.Ellsel (kalender@pragmamx.org) */ /* www.pragmamx.org & ww.shiba-design.de */ /* -------------------------------------------------------------------- */ /* KalenderMx is based on EventCalendar 2.0 */ /* Copyright (c) 2001 Originally by Rob Sutton */ /* smart.xnettech.net (Nuke Site) */ /* Development continued by Aleks A.-Lessmann */ /* Included some ideas and changes by: */ /* flobee, bulli-frank, kicks, kochloeffel, FrankySz, Jubilee */ /* -------------------------------------------------------------------- */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 or a newer version. */ /************************************************************************/
// require_once("modules/Events4U2/includes/functions.php"); if ((calIsAdmin()) or ($radminsuper)) { $menuitems['_AMENU9'][_EVENTS4U]['URL'] = adminlink('CalendarAdmin'); $menuitems['_AMENU9'][_EVENTS4U]['IMG'] = "events4u2.gif"; }
?>
Or am I all wrong
Sorry to ask all this questions, but I really like this calender and I need two of them on one site.
Hope you can help
- Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 21:59 Titel: Re: Help to add a second Event4U |
|
New development
I have the module running now - I did everything once again and now the module is running.
And i have deleted the file mentioned in my last post. Therefore I have no config-page for Events4u2-module.
So thanks so far - but how do I get the admin-part to work also?
- Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 18.08.2004 22:17 Titel: Re: Help to add a second Event4U |
|
Maybe just a little to fast - it's not working.
I can see the block (of events4u2), but if I click them - back to square 1 (again a page with only the header).
So maybe the "error" is in the functions.php-file??
- Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 20.08.2004 20:42 Titel: Re: Help to add a second Event4U |
|
Hi again,
Do no one have any ideas - because I would love to get it to work
Hopes from
Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
Ertan Webmaster
Offline Dabei seit: Mar 19, 2004 Beiträge: 1264 Wohnort: Germany
|
|
Nach oben |
|
|
taxviper Investigator
Offline Dabei seit: Aug 12, 2004 Beiträge: 9
|
Verfasst am: 21.08.2004 19:10 Titel: Re: Help to add a second Event4U |
|
Have done that - thanks
Taxviper
taxviper please enter your server specs in your user profile!
|
|
Nach oben |
|
|
|