Page 1 of 1
calendar page shows word "false"
Posted: Mon Oct 02, 2006 5:19 pm
by beeswax
as you can see from the link -
http://www.silviasjewellery.co.uk/index ... iary-dates the word false appears above the calendar. I can't find it anywhere, and I assume that it's a broken peice of script. Clicking the link "Tatton Park" on the calendar will take you to a test detail page. how do I remove the black border? thanks alot
Edit: solved the second part of the question
Re: calendar page shows word "false"
Posted: Mon Oct 02, 2006 8:58 pm
by Dr.CSS
Found it, Line 83 in the function.displaycalendar.php ...which you will find in modules/calendar
echo "DEBUG inline = ".(!$debug) ? 'false' : 'true' . '';
delete the word false, just the word not the ' ' have no idea where to set debug so this will have to do for now till the Dev for calendar swings around....
Update: the dev. says to just delete the whole line...
Re: calendar page shows word "false"
Posted: Mon Oct 02, 2006 9:16 pm
by calguy1000
You can probably just delete the whole line.
Re: calendar page shows word "false"
Posted: Tue Oct 03, 2006 6:01 am
by beeswax
Hi,
when I go to modules>calendar and open calendar I just get the help files. I know I'm being thick here, but where exactly do I find "thefunction.displaycalendar.php" so that I can make the alteration? I'm using the CMSMS 1.0 beta with calendar 0.7.3. Thanks
Re: calendar page shows word "false"
Posted: Tue Oct 03, 2006 7:10 am
by Dr.CSS
You need to FTP to your site and look in the root for modules>calendar in there is the file...
If you want you can use the one attached here, just replace yours... after removing the .txt of course...
[gelöscht durch Administrator]
Re: calendar page shows word "false"
Posted: Tue Oct 03, 2006 4:30 pm
by beeswax
I can't change the permissions on the calendar folder in modules, and I can't replace the file in the folder because I haven't got permission. I can change permissions on other folders in modules, and modules itself. This is strange. I can access the site, as admin, via ftp://ftp.[sitename] and via dreamweaver, but that folder and its contents are proving a beast. Can you give me some background info on the calendar module, please? As I see it, and I'm not very advanced in this, it's an XML file you upload and install, then you copy and paste the css from the help page into the set of stylesheets with the template you're using. Having done this is the calendar folder created then, or is it created when you install the calendar XML file?
I just can't figure out why I can do whatever I want with everything else, but not the calendar module. I've given myself (admin) permission to modify calendar events, just in case.
I'm using CMSMS 1.0beta and calendar 0.7.3
Re: calendar page shows word "false"
Posted: Tue Oct 03, 2006 4:54 pm
by calguy1000
if you can, there may be a 'change permissions' link in the Extensions->Modules page. You can try that. though the module may have to be uninstalled for that, I can't recall.
Re: calendar page shows word "false"
Posted: Tue Oct 03, 2006 7:07 pm
by Dr.CSS
If you go to Site Admin>Global Settings you will see the Umask: box delete the setting in it and submit, that may give you the permission to edit the calendar files via FTP.
Some times using the .xml files with module manager will lock you out of folders in FTP because the server owns the folders from the installation method, you may have to change the unmask then uninstall calendar and reinstall.
Re: calendar page shows word "false"
Posted: Tue Oct 03, 2006 7:34 pm
by beeswax
thanks for those answers. I'm running against a deadline here (helping out a teacher friend) so I uninstalled and deleted the XML file, then went for the previous version. 0.7.2, which seems to have worked (removing the word 'false'), though I haven't got round to checking the permisions yet. Thanks again
beeswax