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 CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)Displaying List Of events - SSI query
Pages: [1]   Go Down
Print
Author Topic: Displaying List Of events - SSI query  (Read 579 times)
0 Members and 1 Guest are viewing this topic.
Tony
Guest
« on: July 11, 2005, 12:49:00 PM »

Hi all,

I know that there are a number of threads dealing with this already here. But I have to be honest, this seems to be a slightly confusing area for those of us who have neevre dealt with ssi's before and I haven't yet discovered a way of doing what I need to do.

essentially I need for people to choose a link and it will open a page that lists all EVENTS that have been entered in the main calendar. What I need are the EVENTS text and links not just a list of EVENT TITLES.
www.thebedford.co.uk/listings.htm  is how the calendar looks www.thebedford.co.uk/index2.shtml  is what I am trying to do..you can see that not only do I only get a series of titles but also this randomly appears at the bottom
,
• - :


?calendar=">View Calendar

I have just about got my head around the fact that I copy and paste the ssi.html code into the code for another page (in this case index2.html) and then upload it to my server.

I am not sure if I then have to edit anything in the cgi-bin, and I am not sure who to edit the index2.html code to make it display the CONTENTS of each day as it is listed.

I hope this is making some sense.

Dan O I have tried following the links taht you have suggested elsewhere, but nothing seems to either address what I am trying to do..or I am being very thick.

I am a paid up user of this script, but I do think that the documentation could have some more "ssi for dummies" examples of how to set things up, as the assumption is that we are familiar with ssi, and not all of us are.

Aside from that...I think it is a sensational bit of software.

All the best

Tony

PC uploading to server running Unix


Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: July 11, 2005, 01:07:00 PM »

**  have just about got my head around the fact that I copy and paste the ssi.html code into the code for another page (in this case index2.html) and then upload it to my server. **

That is not how SSI works. You can find several links dealing with the subject if SSI in the 'Links' section of the Unofficial CalendarScript - Mods and Plugins site. If you're unfamiliar with SSI, I suggest you start with the BigNoseBird.Com's Server Side Include Page which is linked there.

** a page that lists all EVENTS that have been entered in the main calendar. What I need are the EVENTS text and links not just a list of EVENT TITLES. **

I'm afraid I don't know of a template that does that. Either the ssi.html template would have to be modified to add the event links or maybe you could just link to the 'List' view of the calendar and maybe specify a duration of a year (or more) or link to the search result view* showing events of your choice? The "Search Link" plug-in may allow you to accomplish the latter.

Note: *The search routine of CalendarScript does not display recurring events properly. It only displays the very first occurrence of that event, not each date it is scheduled on.

JFYI

Dan O.


[This message has been edited by DanO (edited July 11, 2005).]

Logged
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 11, 2005, 08:19:00 PM »

** What I need are the EVENTS text and links not just a list of EVENT TITLES. **

* I'm afraid I don't know of a template that does that. *

Wrong-o!

There is a template which is a modified version of the original ssi.html template but with the titles linked to the event details. Look at the "SSI template" listed just above the "Headlines (SSI templates)" templates at the Unofficial CalendarScript - Mods and Plugins site in the template section.

Now you've just got to figure out how to use SSI.          

JFYI

Dan O.


[This message has been edited by DanO (edited July 11, 2005).]

Logged
Tony
Guest
« Reply #3 on: July 12, 2005, 12:52:00 PM »

Ok...Getting there...But still haven't achieved "cigar" status!

For new users..the way this SSI business works is very confusing until you get to grips with it...however...

I am trying to display Event DETAILS in a different page so that customers of my venue can see AT A GLANCE a whole list of all the upcoming performers and shows taking place.

So far I have set up a page called test.shtml

In it I have put one simple line, the SSI call
<!--#include virtual="/cgi-bin/calendar.pl?template=ssi.html&duration=45d&calendar=default"-->

I have downloaded and copied the SSI Template (above Headlines from the plug ins site)into the default calendar template folder in my CGI bin.

So far so good...when I view test.shtml (http://www.thebedford.co.uk/test.shtml) - it calls in 45 days worth of events. I see all the event titles, and they are "clickable" to open each individual event section to display the details. But...and here's where the cigar should arrive, I can't LIST the details of the events in this way, only the event TITLES.

Now I am sure there must be a bit of Perl or SSI or something that can be added to the SSI.html or SSI.txt in order to access the details that have been input for each event.

After many years of developing, advising and customising Calendar Script there must be someone who has an idea about doing this. I am sure it is a commonly asked question and I am sure there must some calendars out there that do this.

So I am waiting on someone's good grace to give me a clue as to what I need to add in order to get the results I need...

I am not a programmer, but I am fairly computer literate, yet this last step still sems to be evading me.

Thank you all very much in advance.

Tony


Logged
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 12, 2005, 01:30:00 PM »

** I can't LIST the details of the events in this way, only the event TITLES. **

You mean it only lists the event titles (and linked like how you wanted) but you also want the event details displayed? Sorry, I didn't see that was one of your original requirements.

** I am sure it is a commonly asked question **

It is a fairly common question which is asked and is likely answered in a number of posts here in the forums. But to save you from searching the forums for it (although a lot can be learned by reading previous messages) ...

Edit the template and put the tag
<%= EVENT FIELD(description) %>
where you want the details displayed.

BTW. Any of the other event records can be printed in the same manor by changing the description part in the <%= EVENT FIELD(description) %> tag to the appropriate record field key.

JFYI

Dan O.

[This message has been edited by DanO (edited July 12, 2005).]

Logged
Tony
Guest
« Reply #5 on: July 12, 2005, 01:50:00 PM »

DAN...you are a genius..thank you

TOny

Logged
Pages: [1]   Go Up
Print
Jump to: