View Full Version : Installation CSS Problems
martyn
11-09-2009, 02:01 PM
I am looking to install on a CMS based site ... I have followed the instructions and failed :1book: I added the the one line of php code into the <head> and hitting those pages just returns a blank screen. I have tried variations on the path including an absolute one going right back to the root of the site and back out.
Could somebody take a look at the page source of www.cardiffcameraclub.co.uk (http://www.cardiffcameraclub.co.uk) and advise exactly WHAT and WHERE I should put the CSS code to enable a correct display.
Meantime the test page for the calendar is at http://www.cardiffcameraclub.co.uk/EasyPHP
thanks :)
ve9gra
11-09-2009, 06:35 PM
You have a problem with the theme that you have selected. Make sure to choose "default" and not "index.htm".
As for your integrated page, you've simply included the demo page itself. This causes you to have an invalid page. Follow the instructions and use the filesystem path, not the website path.
martyn
11-11-2009, 03:34 PM
OK I am now seriously thinking about giving up ... life is too short and I have spent hours trying to get this working in an embedded CMS site ~ to the extent of obtaining an extended trial licence.
The calendar is without question the best I have found both for appearance and admin back end. However...
My site is fully CMS calling all content from a MySQL database into template pages containing spaces for "plugins"which are content calling items. I have modified the <head> of the page template then have several ways in which I can call a file created externally:~
At http://www.cardiffcameraclub.co.uk/EasyPHP I have created a "plugin" the contents of which are
<?php$TOC=1; require ("/www/cardiffcameraclub.co.uk/calendar/calendar.php"); ?>
which as may be seen fails, the short relative path also failed.
At http://www.cardiffcameraclub.co.uk/EasyPHP2 I have left the above command in place and then added a command to include a file ~ calendar/calendar.php which does at least call some sort of display into place.
I know the calendar is there and working of sorts ~ at least the demo is, see http://www.cardiffcameraclub.co.uk/calendar/
I have tried i-frames, direct links from the page template rather than a plugin and am now at the give up point ~ Can anybody help?? PLEASE
Martyn
martyn
11-11-2009, 06:01 PM
OK further to the above and before chucking in the towel completely I have really dug in further and managed to get things working enough to confirm that I shall be purchasing :) but I do need a little more help here
http://www.cardiffcameraclub.co.uk/EasyPHP now displays an events schedule ... I am calling the file demo.php ~ is that REALLY correct?? If it is in fact correct I am getting a number of errors
1. Despite including the code <?php $OL=1; require("calendar/calendar.php"); ?> as the first line of my <body> I get no roll over pop up
2. I am stuck with the list of events beneath the display of the full month
3. I have a complete row of next months dates that are not required
4. using either the month selector or the forward / backward month navigation returns me to the site homepage
martyn
11-11-2009, 07:07 PM
I'm on a roll :D
!. roll overs issue is IE8 ~ in firefox it functions correctly ~ IE8 gives me the following reportWebpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Timestamp: Wed, 11 Nov 2009 23:01:41 UTC
Message: 'undefined' is null or not an object
Line: 190
Char: 1
Code: 0
URI: http://www.cardiffcameraclub.co.uk/calendar/overLIB/overlib_mini.js
Message: Object doesn't support this property or method
Line: 182
Char: 105
Code: 0
URI: http://www.cardiffcameraclub.co.uk/calendar/overLIB/overlib_mini.js
Message: 'undefined' is null or not an object
Line: 190
Char: 1
Code: 0
URI: http://www.cardiffcameraclub.co.uk/calendar/overLIB/overlib_mini.js
Message: 'undefined' is null or not an object
Line: 190
Char: 1
Code: 0
URI: http://www.cardiffcameraclub.co.uk/calendar/overLIB/overlib_mini.js
Message: 'undefined' is null or not an object
Line: 190
Char: 1
Code: 0
URI: http://www.cardiffcameraclub.co.uk/calendar/overLIB/overlib_mini.js
Message: 'undefined' is null or not an object
Line: 190
Char: 1
Code: 0
URI: http://www.cardiffcameraclub.co.uk/calendar/overLIB/overlib_mini.js
2. List of events resolved
3. Unwanted dates resolved
4. Navigation issues still present ... in Firefox & IE8
ve9gra
11-11-2009, 07:22 PM
Calling demo.php is not correct... That is a full page on its own, and integrating that inside of another full page renders it invalid. More than likely the reason why you're having issues with IE8.
I see you have the $CSS and $OL lines at their proper place, now all you need is to find the proper path to put in your plugin. What you need is the relative path between your plugin and the calendar.php files. Or, you need the full system path from root.
It might be easier to find the full path as it should be saved in your calendar.php file already. Look for $serverPath. Take that path, and add calendar.php at the end. That's what should be in your require().
martyn
11-12-2009, 02:05 PM
Gervais ~ thanks for the assistance so far .... I am definitely getting there, albeit slowly.
I took your advice above and the results can be seen at http://www.cardiffcameraclub.co.uk/EasyPHP .....
1. Roll overs in IE are now working correctly :D
4. Navigation errors still present BUT when rolling over the navigation "buttons" is showing an apropriate link ~ e.g. http://www.cardiffcameraclub.co.uk/index.php?mo=12&yr=2009 however using that function still takes us to the homepage :(
I did make a number of attempts at placing the full path in place including a number of possible variations ... they all returned a blank where the calendar presently appears.
ve9gra
11-12-2009, 06:17 PM
Above the require in your plugin, add this line:
$thisFile="/EasyPHP";
This should make the calendar generate a URL that works properly.
martyn
11-12-2009, 07:11 PM
YESSSSSSSS we have functions :D:D:D
Many thanks
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.