Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)search with .shtml not working
Pages: [1]   Go Down
Print
Author Topic: search with .shtml not working  (Read 451 times)
0 Members and 1 Guest are viewing this topic.
msyracuse
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: July 02, 2004, 11:17:00 AM »

I am testing Calenderscript for deployemnt and have it  running within an .shtml page successfully except for the 'Search' function and 'Login/Admin'.

At most concern is the 'Search' function, it doesn't return to the correct point to execute the search.

It returns to the same .shtml page, but no parameters are passed to it, hence I get an "The page cannot be displayed" message.

------------------
/\/\att

Logged

//att
msyracuse
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: July 02, 2004, 11:36:00 AM »

I guess the real question is, what is the correct URL of the 'results page' - and why isn't it passed correctly?

------------------
/\/\att

Logged

//att
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #2 on: July 02, 2004, 12:33:00 PM »

The only CalendarScript page which can display and work properly from within an SSI parsed page is the display generated by the ssi.html template and it doesn't have any "search" functions.

What is happening in your installation is impossible to say without seeing it for ourselves. (Hint: post a link to it).

Dan O.

------------------

Logged
msyracuse
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: July 02, 2004, 12:38:00 PM »

Try this...
http://www.akrondentalsociety.org/cal/index.shtml?view=Search

------------------
/\/\att

Logged

//att
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #4 on: July 03, 2004, 03:18:00 AM »

** what is the correct URL of the 'results page' **

http://www.akrondentalsociety.org/cal/calendar.pl


** and why isn't it passed correctly?

The way you have it set up, that form is passing POST variables to the SSI page which will not accept them as the error message states.

** Try this...  **

Your SSI call is not working correctly. When called that way, all event data should be displayed like can be seen at this link: http://www.akrondentalsociety.org/cal/calendar.pl?template=ssi.html

Frankly, I don't see how it's functioning at all the way you currently have it.

Dan O.

[This message has been edited by DanO (edited July 03, 2004).]

Logged
msyracuse
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: July 06, 2004, 09:11:00 AM »

Dan,
I followed the instructions for using SSI's to keep the calendar within the site's navigation system and look.  I need to have it stay within the site's navigation...how can this be done for the 'search' function? It must return to the index.shtml page with the appropriate parameters.

Thanks!

------------------
/\/\att

Logged

//att
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #6 on: July 06, 2004, 11:33:00 AM »

** I need to have it stay within the site's navigation... **

If you want your calendar to include your site's navigation, you should edit the default.html template file and add it there.

As I showed, when called via SSI only a list view of upcoming events should be displayed. The whole calendar is not designed to be displayed within an SSI page.

What you're seeing is a fluke and not the way the calendar is designed to work. I have no idea how you can get the search to malfunction too although you can try setting the search's <form tag to method GET but you will likely loose other functionality if you continue to display the whole calendar inside an SSI page.

Dan O.

------------------

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #7 on: July 08, 2004, 10:07:00 AM »

msyracuse,
I know what you are trying to do, but taking a different approach will make it work.

Rather than trying to include the calendar via ssi in your navigation page, include your navigation page (via a call) in your default template (or whichever one you use).

You can create a file called "navigation.html" and place it inside your default templates folder. Then call it in your default template with <!--include file="navigation.html"-->
Very convenient because you can change the navigation content without editing your default template.

You can see an example here, however I use a modified Doublecal template with no search or login function. There is no reason search and login shouldn't work, though, with the default template. http://littletonmusic.org

------------------

[This message has been edited by musicvid (edited July 08, 2004).]

Logged
msyracuse
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: July 08, 2004, 02:30:00 PM »

Nice implementation! I like the layout and small cal on the right. I'll try it the way you mentioned.

Typically our sites have three includes per page, top, sidenav and footer. I'll have to tweak the template for each site based on the sites' layout. I was hoping to just 'include' the calendar as part of the site instead (the easier way, I thought). I'm looking to implement this on 5 sites right away.

PS. Littleton is a great town, I've been there!

------------------
/\/\att

Logged

//att
Pages: [1]   Go Up
Print
Jump to: