UBBFriend: Email This Page to Someone!
  CalendarScript Support Forum
  Hacks and Mods
  advanced searching capability (Page 1)

Post New Topic  Post A Reply
profile | register | preferences | search

This topic is 2 pages long:   1  2  next newest topic | next oldest topic
Author Topic:   advanced searching capability
beneath_the_ashes
unregistered
posted January 07, 2003 05:11 PM           Edit/Delete Message
hi..i am trying to find a way that i can have a link somewhere, that always does the same search, and provides a list of search results. For example...a link that says "click here for upcoming shows" and when you click it, it automatically just provides a dynamic list of search results.

Also...i notice the search results are sorted alphabetically....is there a way to make them show up chronologically?

thanks much
ryan

IP: Logged

DanO
Member
posted January 07, 2003 06:04 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** ...a link that says "click here for upcoming shows" and when you click it, it automatically just provides a dynamic list of search results. **

I think that will only be possible if you can make a dynamic link too. The search works from between 2 dates, you would have to have those dates change in the link to keep the results up to date.

You could link directly to the ssi.html template as that is basically what it does (ie. show upcoming events).

Dan O.

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

IP: Logged

beneath_the_ashes
unregistered
posted January 08, 2003 03:32 AM           Edit/Delete Message
if the url string contains date range variables, i can just set them to drastic extremes to make sure i get everything...but do you know what the url string format is?

and also for sorting chronologically...

ryan

IP: Logged

DanO
Member
posted January 08, 2003 03:27 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** if the url string contains date range variables, i can just set them to drastic extremes to make sure i get everything **

Doesn't do much for upcoming events. I would think linking to the ssi.html template would be a better idea, you can modify its design to display any way you like. Plus the search results do not always show recurring events which the SSI template does.

** do you know what the url string format is? **

calendar.pl?view=Search&end_month=2&start_date=8&calendar=default&start_year=2003&start_month=1&end_date=8&template=default.html&command=search&end_year=2003&FIELD_descrip tion=Search_Term

It will vary depending on what field you are searching on though.

** and also for sorting chronologically... **

All search results I've seen are by date. Maybe the template I'm using has been modified but don't remember?

If you find the code in the default.html template file following:

<% IF SEARCH RESULTS EXIST %>

Add

<% @$SEARCH_RESULTS = sort {$a->{schedule}->{start} <=> $b->{schedule}->{start} } @$SEARCH_RESULTS; %>

right before:

<TABLE BORDER="1" CELLPADDING="1" CELLSPACING="0">

That might do it.

Dan O.

[This message has been edited by DanO (edited January 08, 2003).]

IP: Logged

TubaDave
Member
posted January 08, 2003 07:16 PM     Click Here to See the Profile for TubaDave   Click Here to Email TubaDave     Edit/Delete Message
Oooh, there's a quick'n'easy plugin. Gimme an hour

------------------
David Whittaker
http://bama.ua.edu/~whitt013

IP: Logged

beneath_the_ashes
unregistered
posted January 08, 2003 07:58 PM           Edit/Delete Message
both worked beautifully...thanks much
ryan

IP: Logged

DanO
Member
posted January 08, 2003 08:50 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** both worked beautifully **

Glad to hear it.

Dan O.

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

IP: Logged

DanO
Member
posted January 14, 2003 04:03 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
I just uploaded a plugin that will allow direct linking to the calendar search results page without the need for specifying a date in the link. The search results will display results from the present day forward and can be specifically requested for a certain numbers of days. You can also search only specific event fields, in all event fields or just display all results in that time period.

You can find it and other plug-ins at the www.much2.com web site.

Dan O.

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

IP: Logged

beneath_the_ashes
Member
posted January 16, 2003 05:56 AM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
ok...plugin installed, but i dont fully understand how to utilize it...

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

IP: Logged

DanO
Member
posted January 16, 2003 07:41 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** i dont fully understand how to utilize it... **

What do you want to know?

Dan O.

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

IP: Logged

beneath_the_ashes
Member
posted January 16, 2003 11:53 PM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
Is there something in the admin menu that i am missing? Where do i find the URL i use...or do i structure it myself and pass specfic variables to it? And if so what are they?

Or do i just use the URL string from the search page and add something to it? Im not sure how to interact with the plugin...

ryan

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

IP: Logged

DanO
Member
posted January 17, 2003 03:48 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
Did you read the _installation.txt file?

** Where do i find the URL i use **

From that file:

You can now link to the calendar's search results page using a link URL like the following:

calendar.pl?view=Search&command=search&FIELD_title=search+text&duration=14&calendar=default

** do i structure it myself and pass specfic variables to it? **

You can. From that file:

quote:
The calendar=default is optional and can point to the specific calendar to be searched.

duration=14 is optional but will set the duration in days from present for the calendar to display results from. If not supplied, a default of 7 days will be used.

You can search specific event fields using FIELD_title=search+text where "title" is the
event field to be searched and "search+text" is the text to be searched for.
NOTE: to separate multiple search terms use a "+" or "%20" (without the quotes) between the terms. Eg FIELD_title=search+text or FIELD_title=search%20text

Alternately, you can search all event fields using SEARCH_ALL=search+text

If no search term is supplied, all results that fall within the duration requested will be returned.


** Im not sure how to interact with the plugin... **

All you need to do (besides enabling the plug-in) is call the calendar using a URL with the wanted query string elements in it. All that has to be included is:
calendar.pl?view=Search&command=search

That will display all events from the current time forward 7 days.

Let me know if you have any other questions.

Dan O.


[This message has been edited by DanO (edited January 17, 2003).]

IP: Logged

tw1000
Junior Member
posted January 17, 2003 05:36 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
Dan Thanks for the plug-in! I have downloaded the file a few times but the file seems to be corrupt and will not unzip.

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

IP: Logged

DanO
Member
posted January 17, 2003 05:47 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** I have downloaded the file a few times but the file seems to be corrupt and will not unzip. **

I just uploaded a fresh copy making sure the upload was in binary (just in case it wasn't the last time). Let me know if you are successful now.

Dan O.

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

IP: Logged

beneath_the_ashes
Member
posted January 17, 2003 06:32 PM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
Jebus...i thought i had looked at it...but apparently not...

but even with the info i have now, its not displaying anything, just a blank screen.
i am using:

calendar.pl?view=Search&command=search&calendar=default&duration=365&FIELD_description=beneath+the+ashes

and if i take of the search terms completely, the page comes up, ,but it says the Search query must not be blank!

does anything look wrong? it seems like its not running through your plugin...

[This message has been edited by beneath_the_ashes (edited January 17, 2003).]

IP: Logged

DanO
Member
posted January 17, 2003 07:52 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** it says the Search query must not be blank! **

If it says that, either the SearchLink plug-in is not activated in the administration section or you have another plug-in installed that is using the display_before_search script hook. In the latter case, you'll have to see if there's a conflict elsewhere.

Dan O.

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

IP: Logged

tw1000
Junior Member
posted January 17, 2003 10:05 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
Thanks Dan! The file unzipped OK

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

IP: Logged

beneath_the_ashes
Member
posted January 18, 2003 12:41 AM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
well the plugin definetely shows that it is enabled, but i wouldnt know where to start looking for something else using that same hook, but i would just assume the chances of it are low.

I even moved the plugin to the very top og the list, and disabled all the other plugins, and i get the same thing.

Where would i look?

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

IP: Logged

DanO
Member
posted January 18, 2003 12:37 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** Where would i look? **

You could look in each of the directories that is off the plugins directory to see if any contain a file named "display_before_search.pl" but moving that plugin to the top should have over ruled others if present. So that may not be the cause.

It could possibly be that the file is corrupted and the script is not even attempting to execute its code at all. Maybe try downloading a fresh version, unzipping it locally then reuploading it making sure it is done in ascii mode.

Dan O.

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

IP: Logged

beneath_the_ashes
Member
posted January 18, 2003 01:19 PM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
i searched the entire plugins directory, and SearchLink is the only one with that hook...also i re-uploaded a fresh download in ascii mode, and the same thing. I thought it might have been the wysiwyg editor, but even when i search on feilds that done use it, it does the same thing...

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

IP: Logged

DanO
Member
posted January 18, 2003 02:40 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** even when i search on feilds that done use it, it does the same thing **

That plug-in replaces the original search routine so all searches will (try to) use it if the plug-in is enabled.

I don't know what else to tell you, it works fine on my system and I can't see why it wouldn't on any other. Can you provide the URL to your calendar?

Also, maybe tw1000 will post if he was able to utilize the plug-in successfully or not?

Dan O.

[This message has been edited by DanO (edited January 18, 2003).]

IP: Logged

beneath_the_ashes
Member
posted January 18, 2003 06:55 PM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
sure...my calendar is @
http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar.pl

BTW - the search field is messed up because of the wysiwyg editor. Also trying to get fixed...
------------------

the exact link i am using to search is: http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar.pl?view=Search&command=search&calendar=default&duration=365&FIELD_description=beneath+the+ashes

Its a different outcome if you take off the field description var like:
http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar.pl?view=Search&command=search&calendar=default&duration=365

Thanks much
ryan

[This message has been edited by beneath_the_ashes (edited January 18, 2003).]

IP: Logged

tw1000
Junior Member
posted January 18, 2003 08:29 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
I have installed the plug in and it works OK on an individual calendar.
Several issues have arisen, however, with several calendars created.
1. I have meta calendars installed, and if Meta is instlled above Search, then only a white screen apears when search is called.
2. If Search is above Meta then Meta and search appear to work with a few exceptions.
a. Search works on only one calendar at a time.
b.Search will not work on the calendar designated Meta( a search screen loads that reports no matches)
c. if no calendar is specified, a search screen loads that reports no matches

Is it possible to work around the Meta/Search issue?

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

IP: Logged

DanO
Member
posted January 19, 2003 12:43 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** BTW - the search field is messed up because of the wysiwyg editor. **

That may be the whole problem. If I get a chance in the next couple of days I'll see if I can find if anything in that hack could effect the Search Link plug-in.

Have you been able to get the wysiwyg editor to work at all?

Dan O.

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

IP: Logged

DanO
Member
posted January 19, 2003 12:57 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** I have meta calendars installed, and if Meta is installed above Search, then only a white screen apears when search is called. **

Those plug-ins won't work together because they both use the same CalendarScript hook (display_before_search).

** Is it possible to work around the Meta/Search issue? **

It will require the two different display_before_search.pl files to be combined. I'll see if I can do that and make it available for download, it probably won't be until the middle of next week. I'll post a note here when it's ready.

BTW. How does the Meta Calendar mod work for you otherwise?

Dan O.

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

IP: Logged

DanO
Member
posted January 19, 2003 05:05 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
quote:
It will require the two different display_before_search.pl files to be combined. I'll see if I can do that and make it available for download.

tw1000, it didn't take as much time as I thought, just some copying and pasting. A replacement display_before_search.pl is now available for download from www.much2.com and is located with the original Meta Calendar's plug-in link.

Let me know how it works.

Dan O.

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

IP: Logged

tw1000
Junior Member
posted January 19, 2003 05:09 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
Thanks Dan, the Meta plugin works perfectly so far. I will try the new file later tonight. Thanks again for all the help!

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

IP: Logged

tw1000
Junior Member
posted January 19, 2003 07:13 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
Dan , you are amazing! Everything appears to be working OK, both meta and search are functioning. I have not thoroughly tested but so far so good!

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

IP: Logged

DanO
Member
posted January 19, 2003 07:58 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
ryan,

I haven't yet figured out what's going on on your calendar but in the mean time you can correct the "Invalid input type: 'wysiwyg'!" by doing the following.

Go to the modified DBFileUtil.inc used for the 'wysiwyg' display and change one line towards the end of it. In the sub GetSearchFieldInput find the line following
# Define input field based on type
which is:

if (($type =~ /^text(?!area)/) | | ($type =~ /^password/) | | ($type =~ /^textarea/)) {

and change it to:

if (($type =~ /^text(?!area)/) | | ($type =~ /^password/) | | ($type =~ /^textarea/) | | ($type =~ /^wysiwyg/)) {

See if that makes any difference. Be sure to make a backup of the original!

Dan O.

BTW. This forum inserts a space between each | | in the code above so those spaces will have to be removed before pasting the code into that file.

[This message has been edited by DanO (edited January 19, 2003).]

IP: Logged

beneath_the_ashes
Member
posted January 20, 2003 12:33 AM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
yes, the wysiwyg editor works fine...and that fix worked fine as well for the search page, but the searchlink path still doesnt work.

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

IP: Logged

tw1000
Junior Member
posted January 20, 2003 04:28 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
The links to the Grid view and List view do not work properly from the search page.

The link from List is:
calendar.pl?view=Search&calendar=default&style=List

The Link fron Grid is:

/calendar.pl?style=Grid&selected_datestring=20030120&calendar=default&view=Search&datestring=20030120&style=Grid

Is there a way to have the Grid view link take the user back to the default grid you or to the previous grid?

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

IP: Logged

DanO
Member
posted January 20, 2003 09:21 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** The links to the Grid view and List view do not work properly from the search page. **

As there is only one view available for the search results, those links don't have much to do. It works the same on the demo calendar from te search view.

I have no idea why each of those links have different length URLs on your calendar. On my calendar they're both exactly the same except the &style=List or &style=Grid at the end.

Here are examples of mine after using a Search Link:

calendar.pl?calendar=move&view=Search&duration=14&style=Grid
calendar.pl?calendar=move&view=Search&duration=14&style=List

Here are examples after a regular search:

calendar.pl?duration=14&end_year=2003&start_date=20&fromTemplate=&start_month=1&end_date=22&calendar=move&view=Search&end_month=1&start_year=2003&style=Grid

calendar.pl?duration=14&end_year=2003&start_date=20&fromTemplate=&start_month=1&end_date=22&calendar=move&view=Search&end_month=1&start_year=2003&style=List

Are you sure you looked at them from the same screen and not one before a search and one after? Or more likely, one from before a search and one after moving to the search view page from viewing the Day view of 20030120?

** Is there a way to have the Grid view link take the user back to the default grid **

Sure if you want to code the page that way. But unless you use some if/else statements, it will work the same from all the calendar views.

** or to the previous grid? **

You mean the calendar view they were at before moving to the Search View in the first place? Doubtful, or at least I can't think of an easy way to accomplish it. It wouldn't be done through the plug-in.

Dan O.

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

IP: Logged

tw1000
Junior Member
posted January 20, 2003 10:49 PM     Click Here to See the Profile for tw1000   Click Here to Email tw1000     Edit/Delete Message
Thanks, It is not a critical issue and I can live with it , but anything I can do to reduce potential questions from a public user will save me work in the long run.

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

IP: Logged

DanO
Member
posted January 21, 2003 01:23 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** anything I can do to reduce potential questions from a public user will save me work **

You can remove those options altogether on the search view by editing the default.html template file and putting their code inside an if $view eq "search" (or "Search", I forget which) conditional.

Dan O.

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

IP: Logged

DanO
Member
posted January 21, 2003 07:03 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** I'll see if I can find if anything in that WYSIWYG hack could effect the Search Link plug-in. **

I don't see anything in that hack that should effect the Search Link plug-in.
It looks like the script is not processing the Search Link's display_before_search.pl
file and I have no idea why that would be.

I have had that happen with other plug-in files but that was caused by an error in the
script (which could include it being uploaded incorrectly). It works on my system
so I'm fairly sure an error in the coding isn't causing it.

I don't know what else to suggest. Sorry.

What are you using to upload that plug-in's files? Maybe you could try uploading the zip
file in binary mode and unzipping it on the server?

Dan O.

[This message has been edited by DanO (edited January 21, 2003).]

IP: Logged

beneath_the_ashes
Member
posted January 27, 2003 05:44 AM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
where would be a good place to start looking at in my code to resolve this? thanks

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

IP: Logged

DanO
Member
posted January 28, 2003 01:30 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** where would be a good place to start **

What are you using to upload that plug-in's files? Maybe you could try uploading the zip file in binary mode and unzipping it on the server?

Dan O.

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

IP: Logged

beneath_the_ashes
Member
posted January 29, 2003 05:24 AM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
i am using my same FTP prog that i use for everything. I have tried in both ascii and binary just to test it. How would i unzip the zip file from the server?

But here is the code for the Search View section in default.html...im not sure if this code matters at all, but i am pretty lost.


<textarea name="ta" cols="50" rows="25"><% } elsif ($VIEW eq "Search") { %><font size="1"> </font></font>
<FORM NAME="mainform" ACTION="<%= $CGI_URL %>" METHOD="POST">
<font size="1" face="Verdana">
<INPUT TYPE="hidden" NAME="QUERY_STRING" VALUE="<%=$QUERY_STRING%>">
<INPUT TYPE="hidden" NAME="fromTemplate" VALUE="<%=$thisTemplate%>">
<INPUT TYPE="hidden" NAME="command" VALUE="search">
<INPUT TYPE="hidden" NAME="view" VALUE="Search">
</font>
<TABLE BORDER="0">
<% if ($userMessage ne "") { %><font face="Verdana" size="1"> </font>
<TR>
<TD></TD>
<TD ALIGN="left" VALIGN="top">
<FONT COLOR="red">
<%= $userMessage %><font face="Verdana" size="1"> </font>
</FONT>
</TD>
</TR>
<% } %><font size="1">
<%
$fieldnames = &main: BGetSearchFields($db);
foreach $field (@$fieldnames) {
%> </font>
<TR>
<TD ALIGN="RIGHT"><SPAN CLASS="text"><B><%= $db->{'properties'}->{$field}->{'name'} | | $field %><font face="Verdana" size="1">
</font><font face="Verdana" size="1">: </font> </B></SPAN>
</TD>
<TD><%= &main::GetSearchFieldInput($db->{'properties'}->{$field},$field,$search_params) %></TD>
</TR>
<% } %><font size="1"> </font>
<TR>
<TD ALIGN="RIGHT"><font face="Verdana" size="2"><SPAN CLASS="text"><B>
Between:</B></SPAN></font><span class="text"><b><font face="Verdana" size="2"><br>
And:</font></b></span><font face="Verdana" size="2"><SPAN CLASS="text"><B> </B></SPAN>
</font></TD>
<TD>
<p align="left">
<font size="1" face="Verdana">
<SELECT NAME="start_month" style="font-family: Verdana; font-size: 10pt"><%= &HTML::monthNameOptions($in{start_month} | | $TODAY_MONTH) %></SELECT>
<SELECT NAME="start_date" style="font-family: Verdana; font-size: 10pt"><%= &HTML::dateOptions($in{start_date} | | $TODAY_DATE) %></SELECT>
<SELECT NAME="start_year" style="font-family: Verdana; font-size: 10pt"><%= &HTML::yearOptions($in{start_year} | | $TODAY_YEAR) %></SELECT><br>
<SELECT NAME="end_month" style="font-family: Verdana; font-size: 10pt"><%= &HTML::monthNameOptions($in{end_month} | | $TODAY_MONTH) %></SELECT>
<SELECT NAME="end_date" style="font-family: Verdana; font-size: 10pt"><%= &HTML::dateOptions($in{end_date} | | $TODAY_DATE) %></SELECT>
<SELECT NAME="end_year" style="font-family: Verdana; font-size: 10pt"><%= &HTML::yearOptions($in{end_year} | | ($TODAY_YEAR+1)) %></SELECT>
</font>
</TD>
</TR>
<TR>
<TD ALIGN="CENTER" COLSPAN="2">
<font face="Verdana">
<font size="1">
<INPUT CLASS="button" TYPE="submit" VALUE="Search"> </font>
</TD>
</TR>
<% IF SEARCH RESULT %><font size="1"> </font>
<TR>
<TD COLSPAN="2" ALIGN="center">
<SPAN CLASS="text">
<font face="Verdana" size="1">
<u><B>Search Results</B></u><BR>
<% IF SEARCH RESULTS EXIST %>
No Matches
<% ELSE %> </font>
<% @$SEARCH_RESULTS = sort {$a->{schedule}->{start} <=> $b->{schedule}->{start} } @$SEARCH_RESULTS; %>
<TABLE BORDER="1" CELLPADDING="5" CELLSPACING="0" width="100%" style="border-collapse: collapse">
<TR>
<TH><font face="Verdana" size="1"><SPAN CLASS="text">Date</SPAN></font></TH>
<TH><font face="Verdana" size="1"><SPAN CLASS="text">Title</SPAN></font></TH>
<TH><font face="Verdana" size="1"><SPAN CLASS="text">Description</SPAN></TH>
<TH><SPAN CLASS="text"><font face="Verdana" size="1">Location</font></TH>
<TH><SPAN CLASS="text"><font face="Verdana" size="1">Price</font></TH>
<TH><SPAN CLASS="text"><font face="Verdana" size="1">Time</font></TH>
</TR>
<% FOREACH SEARCH RESULT %><font size="1"> </font>
<TR>
<TD valign="top">
<SPAN CLASS="text">
<% IF NEXT OCCURRENCE EXISTS %><font face="Verdana" size="2">
<%=$MONTH_NAMES->[$EVENT->{schedule}->{nextoccurrence}->{month}-1]%>
</font> <%=$EVENT->{schedule}->{nextoccurrence}->{date}%><font face="Verdana" size="2">, <%=$EVENT->{schedule}->{nextoccurrence}->{year}%>
<% ELSE %>
None
<% /IF %> </font>
</SPAN>
</TD>
<TD valign="top"><font face="Verdana" size="1"><A HREF="<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%= EVENT FIELD(id) %>&datestring=<%=$DAY->{datestring}%>" STYLE="text-decoration:underline;" CLASS="text"><%= EVENT FIELD(title) %></A></font></TD>
<TD valign="top"><font face="Verdana" size="1"><SPAN CLASS="text"><%= EVENT FIELD(description) %></SPAN></font></TD>
<TD valign="top"><font face="Verdana" size="1"><SPAN CLASS="text"><%= EVENT FIELD(location) %></SPAN></font></TD>
<TD valign="top"><font face="Verdana" size="1"><SPAN CLASS="text"><%= EVENT FIELD(price) %></SPAN></font></TD>
<TD valign="top"><font face="Verdana" size="1"><SPAN CLASS="text"><%= &Date::formatTime($EVENT->{schedule}->{start_time}, $Config->get("time_format")); %></SPAN></font></TD>
</TR>
<% /FOREACH %><font size="1"> </font>
</TABLE>
<% /IF %><font size="1"> </font>
</SPAN>
</TD>
</TR>
<% /IF %><font size="1"> </font>
</TABLE>
</FORM>

<% } %><font size="1"> </font></textarea>

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

IP: Logged

beneath_the_ashes
Member
posted January 29, 2003 05:25 AM     Click Here to See the Profile for beneath_the_ashes   Click Here to Email beneath_the_ashes     Edit/Delete Message
well that worked horribly...it was supposed to be a text area...i didnt notice that it said HTML is OFF until after...sorry.
ryan

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

IP: Logged

DanO
Member
posted January 29, 2003 09:07 PM     Click Here to See the Profile for DanO   Click Here to Email DanO     Edit/Delete Message
** How would i unzip the zip file from the server? **

You require shell access. If you don't have it you'd have to ask your host's support if they will do it for you.

** im not sure if this code matters at all **

No it doesn't. The code that would be important if it had an error or were corrupted would be the
display_before_search.pl from the plugin. And posting its code here would not likely help to determine if it
was corrupted or not.

Dan O.

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

[This message has been edited by DanO (edited January 29, 2003).]

IP: Logged

This topic is 2 pages long:   1  2 

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

CalendarScript Home