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 3rd, 2003, 01: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
ltw Calendar installation

I am have used install scripts that have sql, so I am not sure how to "Run ltw_stall.php" as in the instructions. How to I get this going in phpAdmin?

Thanks,
Pat

Reply With Quote
  #2  
Old September 3rd, 2003, 05:35 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: ltw Calendar installation

never mind, figured it out.
I don't know however, how to fit it into my existing web page. I did change the .css file for color, size, etc. And my calendar is working great.

Pat

Reply With Quote
  #3  
Old September 4th, 2003, 02:17 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: ltw Calendar installation

Can you provide the URL to the web page? and the exact problems you are having?

Reply With Quote
  #4  
Old September 5th, 2003, 04:43 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: ltw Calendar installation

Yes, I am sorry. The calendar is installed here:
http://www.myyarnshop.com/calendar/calendar.php

I want to interface it with the design of the site maybe here:
http://www.myyarnshop.com/schedule.php

Appreciate the help!
Thanks, Pat

Reply With Quote
  #5  
Old September 5th, 2003, 11:24 AM
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: ltw Calendar installation

Nice looking site!

I'm going to assume that you know some HTML and PHP. I'm also going to refer to specific line numbers in the HTML SOURCE from I got from going to the http://www.myyarnshop.com/schedule.php link.

It looks like the "content" is the only thing that changes and is placed in the table cell that starts on line 57 and ends on line 83.

So, the question is, is there a single file or two that controls the HTML that is generated in lines 1 to 56 and then 83 to 100 (the end).

If it is two files, then set the ltw_config['html_header_file'] to the top and ['html_footer_file'] to the bottom. And remember, that the config file points to where they are relative to where you have the calendar installed. You will also have to add the <SCRIPT>...</SCRIPT> section from the ltw_header shipped with the program to your header file to get the popups to work.

If the format is controlled by one file, then you want to do the following:
1) add the <SCRIPT>...</SCRIPT> section from the ltw_header shipped with the program to your header file to get the popups to work.
2) in the calendar code, find the statements that include $ltw_config['html_header_file'] &
$ltw_config['html_footer_file'] and comment them out.
3) in schedule.php, do a fopen (I think)("http://www.myyarnshop.com/calendar/calendar.php
") where you want the calendar to display. fopen handles "remote files"

That should pretty much do it.



Reply With Quote
  #6  
Old September 5th, 2003, 01:58 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: ltw Calendar installation

Hi, Yes I do know HTML and a little PHP. I will follow your instructions and let you know. Thanks so much!

Pat

Reply With Quote
  #7  
Old September 5th, 2003, 05:24 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: ltw Calendar installation

Ok, I am having a bit of a problem. An answer to your question is that there is a single file and I will be using your one file instructions.

This is the page I want it on - I added the script for the pop up windows in the head, but may it is wrong:
http://www.myyarnshop.com/schedule.php

2. In the calendar code I commented out - but maybe this is wrong as well.
Here is a little section of that code for the header and I did the same for the footer:

case 'month':
default:
<!-- include_once($ltw_config['html_header_file']); -->
if(!isset($_REQUEST['month']) || $_REQUEST['month'] < 1 || $_REQUEST['month'] > 12 || !isset($_REQUEST['year'])) {
$timestamp = time();


3. In Schedule.php I am not real familar with fopen so I looked on this forum and put this:

php Code:
Original - php Code
  1. <?php $fp = @fopen("http://www.myyarnshop.com/calendar/calendar.php"); ?>


I am getting this error on the calendar:
http://www.myyarnshop.com/calendar/calendar.php


I have done a lot of php ssi, and my mind is thinking that's all this should be, but I not very good at this.

Thanks, Pat

Reply With Quote
  #8  
Old September 5th, 2003, 06:59 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: ltw Calendar installation

Your comment syntax is wrong for PHP.

<!-- include_once($ltw_config['html_header_file']); -->

should be

// include_once($ltw_config['html_header_file']);

(You used HTML commenting in a PHP block )

Also, change the line for the 'html_footer_file'


Additionally, you may need to add an fpassthru()to get the calendar displayed (Not sure, never tried it)

<?php
$fd=fopen("http://www.myyarnshop.com/calendar/calendar.php",'r'); fpassthru($fd); ?>

Reply With Quote
  #9  
Old September 5th, 2003, 09:33 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: ltw Calendar installation

Hello, Oh I am sorry I am being such a pain! Here is what I got now: (I think we're getting closer!)
Here's the page I want it to display from:
http://www.myyarnshop.com/schedule.php
Here is the normal calendar page:
http://www.myyarnshop.com/calendar/calendar.php

Thanks, Pat

Reply With Quote
  #10  
Old September 9th, 2003, 10:06 AM
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: ltw Calendar installation

Pat. I haven't forgot about you. Just been really busy, plus lost the P/S in my computer for a few days.....

Reply With Quote
  #11  
Old September 9th, 2003, 01:07 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: ltw Calendar installation

Hello, sorry to hear about that. Thanks for all your help. Now, I copied all the calendar files in the same directory as:
http://www.myyarnshop.com/schedule.php
But getting errors if I click on the month ahead or before. Also, can't login from there.

Now, I still have a folder for "calendar" with the same files. Do you think I need to delete that? Because right now that one is working fine and I can log in and add to the calendar.
http://www.myyarnshop.com/calendar/calendar.php

I thought I was out of the woods, but still quirky.

Thanks,
Pat

Reply With Quote
  #12  
Old September 9th, 2003, 07:02 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: ltw Calendar installation

1) On the login, you have a typo in the javascript definition in your header file:

function launchsmall(url) {
window.name = 'opener';
eremote = open(url,.............
^
drop the "e", it should be "remote"

2) On the formatting when going to another month. I'm not sure if there is an easy answer. The calendar was really designed to work as "calendar.php" and that is hardcoded into the script (in version 3).

If not too long, can you post schedule.php, or email it to me? I can make a better determination as to what it will take to fix this if I can see that code.

Reply With Quote
  #13  
Old September 9th, 2003, 07:56 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: ltw Calendar installation

Hello, I sent you an email with the code. Hope you get it alright. I did fix the e in front of remote.

Pat

Reply With Quote
  #14  
Old September 11th, 2003, 12:10 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: ltw Calendar installation

Pat:
I did not get an eMail. Please register here so I can send you a private message with my home eMail address so you can send it directly.

Thanks!

Reply With Quote
  #15  
Old September 11th, 2003, 04:17 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: ltw Calendar installation

Hello, I registered and sent you another email.

Pat

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > ltw Calendar installation


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