ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old September 7th, 2003, 12:44 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
okay im an *IDIOT*

i dont know how, but i screwed something up... my calender looks like its graphical side is all gone, and the admin panel doesnt work. I have NO idea what happened.

www.washujsu.com ... click on Calender in the menu

Reply With Quote
  #2  
Old September 7th, 2003, 12:45 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

oh, and none of the clicking on days works, at all

Reply With Quote
  #3  
Old September 7th, 2003, 03:41 PM
mhodgson mhodgson is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 44 mhodgson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 55 m 50 sec
Reputation Power: 2
RE: okay im an *IDIOT*

Have you checked the paths. It looks like you lost the link to the css file for starters.
If you have installed into subfolders within your site you will need to change the paths, I dhad the same problem at first.
In the cal_header find the line
php Code:
Original - php Code
  1.  
  2. echo "<LINK REL="stylesheet" TYPE="text/css" HREF="ltw_style.css">n";

change the HREF="ltw_style.css" to HREF="../my calendarfolder/ltw_style.css"

You may need the slashes the other way (mine's on a windows system)and include further subfolders if there are any. And if you renamed the css file cahnge 'ltw_style.css' to 'yourname.css'

The non working links are probably for the same reason. Check those paths, particularly if you changed any file names.
Hope that helps

Reply With Quote
  #4  
Old September 7th, 2003, 07:10 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

I feel like I messed something up when I added my own javascript - I think I deleted something that was supposed to be there, and certainly the "There is an error on this page" message indicates that has some validity.

I haven't changed any file names, but I'll double check on that.

Reply With Quote
  #5  
Old September 7th, 2003, 07:23 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

Do you think that is my problem as well?
I am trying to interface the calendar in this page:
http://www.myyarnshop.com/schedule.php
Here is the normal calendar page:
http://www.myyarnshop.com/calendar/calendar.php

I put this calendar on before the upgrade and don't want to change it yet, so can you help me with the 4.0 version?

Thanks,
Pat

Reply With Quote
  #6  
Old September 7th, 2003, 08:31 PM
mhodgson mhodgson is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 44 mhodgson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 55 m 50 sec
Reputation Power: 2
RE: okay im an *IDIOT*

You've both got the same problem it seems.
Replace the original Java script or even reistall the original scripts is all I can suggest (That was what cured my original problems), sorry.

prrk47002 will probably have the answer, I can vouch for his helpfullness.

As for v4, I've only just started looking at it but its probably worth upgrading if you have to start from scratch. The updated code should help reduce errors when indstalling in different directories.
And the new features look great.

Reply With Quote
  #7  
Old September 7th, 2003, 10:25 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

where is the original javascript? I looked for it... can't find it. I'm sure i accidentally deleted it when i added my own javascript.

Reply With Quote
  #8  
Old September 8th, 2003, 12:26 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

I kept the orginial before I made changes:

echo "<SCRIPT LANGUAGE="JavaScript" type="text/javascript">n";
echo "<!--n";
echo "function launchsmall(url) {n";
echo "window.name = 'opener';n";
echo "remote = open(url, "", "resizable,status,scrollbars,width=" . $ltw_config['popup_small_width'] . ",height=" . $ltw_config['popup_small_height'] . ",left=" . $ltw_config['popup_small_left'] . ",top=" . $ltw_config['popup_small_top'] . "");n";
echo "}n";
echo "function launchbig(url) {n";
echo "self.name = "opener";n";
echo "remote = open(url, "", "resizable,scrollbars,width=" . $ltw_config['popup_big_width'] . ",height=" . $ltw_config['popup_big_height'] . ",left=" . $ltw_config['popup_big_left'] . ",top=" . $ltw_config['popup_big_top'] . "");n";
echo "}n";
echo "// -->n";
echo "</SCRIPT>n";


This didn't work for me either though.
Pat

Reply With Quote
  #9  
Old September 8th, 2003, 12:57 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

Hello, there I got my to work! It was a directory issue. I had all my calendar files in the calendar directory and copied them to the main directory where my Schedule page is:
http://www.myyarnshop.com/schedule.php

One other thing, for the Java script to open correctly I had to change it to this:

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

instead of this:
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

Take a look at my code on my schedule page.

Hope you can get it to work!
Pat

Reply With Quote
  #10  
Old September 9th, 2003, 07:31 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: okay im an *IDIOT*

The difference between having this:

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

and this:

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

is where you place it in the file. When echoing a string in a PHP block, you must escape the quotes or echo thinks the string is done.

So if your header file is:
<html>
<head>
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
<!-- some code here -->
</SCRIPT>
</head>
<body>
<?php echo "body is here"; ?>
</body>
</html>
You would NOT escape the quotes.

But if it is set up like this:
<?php
echo "
<html>
<head>
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
<!-- some code here -->
</SCRIPT>
</head>
<body>
body is here
</body>
</html>
"; ?>
Then you must escape the quotes...

Does that help?






Reply With Quote
  #11  
Old September 9th, 2003, 10:46 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: okay im an *IDIOT*

Thanks for your help. 2 things were wrong: the javascript and the css

I copy and pasted the javascript you provided, but i couldnt figure out what was wrong with the css... so I just copy and pasted it into my general page-wide CSS, and it looks fine. I still get an error, although nothing appears to be wrong. I say problem solved... but it still looks bad to have it say javascript error at the bottom

Again, www.washujsu.com if you feel like looking. Thanks for your help chums.

Reply With Quote
  #12  
Old September 14th, 2003, 11:46 PM
patdpoo patdpoo is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 7 patdpoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: okay im an *IDIOT*

Hello. I took a look at your page and you have two Java Scripts running on your page. I recently had a problem using more than one Java Script per page, and I would get java script errors. So what I did was put one into an SSI, and then everything was worked fine. Maybe you can experiment and put your slide show into an include and see if it clears up your calendar js error.
Just a thought - maybe someone will tell you I am wrong.

Pat

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > okay im an *IDIOT*


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway