Now, I"m having some formatting issues, the calendar isn’t displaying properly.
The instructions (http://docs.easyphpcalendar.com/) say that I need to have css inserted into my page in order for it to display correctly. I think this is where my problem is, can’t get the code in the right position on the page.
The code directions read:
There must be a link to the CSS file in the header (just before the tag) of any page that displays the Easy PHP Calendar script.
*Replace “calendar/” with the actual path to the calendar directory relative to the directory of your web page.
If you use the mouse-over option, make sure the code below is in the BODY section of any PHP page that will display the Easy PHP Calendar script (preferably the first line below the tag.
<?php $OL=1; require("calendar/calendar.php"); ?>
*Replace “calendar/” with the actual path to the calendar directory relative to the directory of your web page.
I thought I knew how to do this using page/html markup but it’s not working for me. Can anyone kindly offer some advice?
Thanks for the comments Dan. I think it does have something to do with calling the CSS template that adds in the style. I haven’t quite figured out how to call that template from the files that are on the server. There is a eestyle.css file and I think that renders the code I need. I’m figuring this out without a complete understanding of php…muddling through.
Remove the extra ‘sandiegoafa’ reference in the path and you should be
set.
Regards,
Tim.
On 25 Jun 2009, at 07:52, Bill McCarroll wrote:
Thanks for the comments Dan. I think it does have something to do
with calling the CSS template that adds in the style. I haven’t
quite figured out how to call that template from the files that are
on the server. There is a eestyle.css file and I think that renders
the code I need. I’m figuring this out without a complete
understanding of php…muddling through.
Remove the extra ‘sandiegoafa’ reference in the path and you should
be set.
Regards,
Tim.
On 25 Jun 2009, at 07:52, Bill McCarroll wrote:
Thanks for the comments Dan. I think it does have something to do
with calling the CSS template that adds in the style. I haven’t
quite figured out how to call that template from the files that are
on the server. There is a eestyle.css file and I think that
renders the code I need. I’m figuring this out without a complete
understanding of php…muddling through.
Hi Bill,
Looking at the source code for your calendar page (http://sandiegoafa.org/calendar.php
) I can see that the link to the CSS file is malformed;
/sandiegoafa/calendar/theme/index.htm/esstyle.css
The reference to index.htm in the middle of the URL is a bit of a
giveaway that the link is probably broken.
After a bit of scratching around I finally found a stylesheet at;
/calendar/theme/default/esstyle.css
I suspect there are a few more folders in the theme directory for each
of the other styles so your stylesheet link may be;
/calendar/theme/(the theme name)/esstyle.css
Regards,
Tim.
On 25 Jun 2009, at 18:34, Bill McCarroll wrote:
Hi Tim,
Still no luck…can’t get anything from changing the reference links.
Hi Bill,
Looking at the source code for your calendar page (http://sandiegoafa.org/calendar.php
) I can see that the link to the CSS file is malformed;
Your examples all use absolute paths from the server root. Try
changing these to relative paths from the php file and see if that
makes any difference. For example;
<?php $CSS=1; require("calendar.php"); ?>
If it looks like I’m guessing then… it’s because I am!
Thanks,
Tim.
On 25 Jun 2009, at 19:28, Bill McCarroll wrote:
Not sure where to make the edits. I have this code to pull in the
calendar and stylesheets:
Hi Bill,
Looking at the source code for your calendar page (http://sandiegoafa.org/calendar.php
) I can see that the link to the CSS file is malformed;
I’m going to have to play with it a bit. I’m getting the calendar to
render (http://sandiegoafa.org/calendar.php) but it’s still not seeing
the css code for background colors and other styles.
I’m tenacious so will keep trying but I appreciate your great
suggestions.
Your examples all use absolute paths from the server root. Try
changing these to relative paths from the php file and see if that
makes any difference. For example;
<?php $CSS=1; require("calendar.php"); ?>
If it looks like I’m guessing then… it’s because I am!
Thanks,
Tim.
On 25 Jun 2009, at 19:28, Bill McCarroll wrote:
Not sure where to make the edits. I have this code to pull in the
calendar and stylesheets:
Hi Bill,
Looking at the source code for your calendar page (http://sandiegoafa.org/calendar.php
) I can see that the link to the CSS file is malformed;