WordPress Problem too


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


Senior Advisor
10,505 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.
Jo Ann

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



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!!


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


Senior Advisor
13,631 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
This is a site I built for use in my job.
http://pestlogbook.com


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?


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


Senior Advisor
13,631 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
This is a site I built for use in my job.
http://pestlogbook.com


Senior Advisor
10,505 posts

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

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



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.