WordPress Problem too - Post ID 182874

User 342020 Photo


Registered User
5 posts

On my site http://www.nextlevelsitesonline.com

I have my calendar on nextlevelsitesonline.com/calendar-page. I can not get it to show up

I loaded the calendar folder to the root directory

I have loaded the following to the header Also tried without the domain name

<script src="http://www.nextlevelsitesonline.com/calendar/javascript/jquery-1.4.2.min.js"></script>
<link media="screen" rel="stylesheet" href="http://www.nextlevelsitesonline.com/calendar/stylesheets/colorbox.css" />
<link media="screen" rel="stylesheet" href="http://www.nextlevelsitesonline.com/calendar/stylesheets/monthstyles.css" />
<script type="text/javascript" src="http://www.nextlevelsitesonline.com/calendar/javascript/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="http://www.nextlevelsitesonline.com/calendar/javascript/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="http://www.nextlevelsitesonline.com/calendar/javascript/behavior.js"></script>

I added the following to the body

<!-- this is where the calendar's html will be inserted -->
<div id="cc_webcalendar">
</div>

<!-- this loads the calendar -->
<script type="text/javascript">

// The latest date that can be displayed
var maxdate=new Date("03/01/2013");

// The earliest date that can be displayed
var mindate=new Date("12/01/2011");

loadTodaysCalendar(mindate,maxdate,'calendar-page//');
</script>

Help I have to have this working by Monday- what am I doing wrong?

Thanks
User 38401 Photo


Senior Advisor
10,951 posts

Hiya Jeffrey,

I looked at your actual web page and you edited the crap out of that code that goes into the content area of your page. You can't put <p> tags around the script as it won't work. Export the script again and put it in there as is and it should work.
User 342020 Photo


Registered User
5 posts

Jo Ann

Thanks - Wordpress added the <p> tags I removed them but still can't get it to work. Added full paths in the header that didn't fix it.

Also looked at the code a couple of posts below- the <p> tags were in his http://www.manorbarnbexhill.co.uk/calendar-page but it still worked.

It has to be something simple but I can't find it Help!!
User 342020 Photo


Registered User
5 posts

Hi

I just tried on a second WordPress site with the standard wordpress theme and minimal plugins still can't get it to work

http://www.nextlevelsitesweb.com/our-calendar/

It has to be something simple but just can't find it
User 187934 Photo


Senior Advisor
20,244 posts

It works for me in FX 10.:D
Attachments:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 342020 Photo


Registered User
5 posts

Problem was is the strcucture of the permalinks. The page structure was postname/ when I changed the permalink structure to postname without the trailing / I was able to get it to work.

I couldn't figure out why it worked on http://www.manorbarnbexhill.co.uk/calendar-page and not on mine until I compared page names and eventually found the difference was /

Thanks

In Firefox however the events in my site and the other do not show correctly (padding and highlight don't display correctly- do you want to handle that issue here or should I make another post?
User 342020 Photo


Registered User
5 posts

I just figured out how to fix the padding and highlight using a little css so I'm happy with the display
User 187934 Photo


Senior Advisor
20,244 posts

Great! Isn't it awesome to learn this stuff.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

Glad you got it working, have fun with it, it's a pretty slick little application :)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.