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
Pages: [1]   Go Down
Print
Author Topic: Remembering Search List  (Read 397 times)
0 Members and 1 Guest are viewing this topic.
Lindau
New Member
*

Karma: 0
Offline Offline

Posts: 30


WWW
« on: June 03, 2004, 04:08:00 PM »

When I am editing a series of events, I go to Edit Events, Search for "Harbor", and get a list of events with Harbor (all that is OK).

When I edit an event and save it, I am returned to the original list of events  and I have to enter the Harbor in the search box again.

Is there any way to have CalendarScript take me back to the
list of Harbor events?

Logged
FUMA_Dan
New Member
*

Karma: 0
Offline Offline

Posts: 0

Communications & Public Relations


WWW
« Reply #1 on: June 21, 2004, 09:13:00 PM »

Two clicks of the Back button on my browser works for me.

Dan

------------------
"Behind every big man is a big behind."

Logged

"Behind every big man is a big behind."
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #2 on: May 30, 2005, 03:58:00 PM »

You can try adding the following lines to the forms found on the add_edit_event.html, schedule_event_non_recur.html, schedule_event_recurring.html and schedule_oneclick_non_recurring.html (if used) templates.

<INPUT TYPE="hidden" NAME="year" VALUE="<%= $main::in{year} %>">
<INPUT TYPE="hidden" NAME="month" VALUE="<%= $main::in{month} %>">
<INPUT TYPE="hidden" NAME="search" VALUE="<%= $main::in{search} %>">

     This code is untested so use you at your own risk.

If it works, please post letting others know.

Dan O.


[This message has been edited by DanO (edited May 30, 2005).]

Logged
Lindau
New Member
*

Karma: 0
Offline Offline

Posts: 30


WWW
« Reply #3 on: May 30, 2005, 04:16:00 PM »

Do you mean I should replace the INPUT lines in the form?

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

Logged
Lindau
New Member
*

Karma: 0
Offline Offline

Posts: 30


WWW
« Reply #4 on: May 30, 2005, 05:28:00 PM »

DanO,

Seems to work fine.

What I did:

In calendarscript\templates\admin\English\,

for the files:

add_edit_event.html
schedule_event_non_recur.html
schedule_event_recurring.html

I replaced:

<INPUT TYPE="hidden" NAME="year" VALUE="<%=$main::in{year}%>">
<INPUT TYPE="hidden" NAME="month"
VALUE="<%=$main::in{month}%>">

with:

<INPUT TYPE="hidden" NAME="year" VALUE="<%= $main::in{year} %>">
<INPUT TYPE="hidden" NAME="month" VALUE="<%= $main::in{month} %>">
<INPUT TYPE="hidden" NAME="search" VALUE="<%= $main::in{search} %>">

All this was done after saving the original files to another folder on my computer, in case it didn't work.

Now, when I am editing a series of events, I go to Edit Events, Search for "Harbor", and get a list of events with Harbor (all that is OK).

When I edit an event and save it, I am returned to the
list of Harbor events.

Thank you.

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #5 on: May 31, 2005, 12:24:00 AM »

** Do you mean I should replace the INPUT lines in the form? **

Sorry, I didn't realize most were already there. I guess all you essentially did was add the following line which passed along the search phrase.

<INPUT TYPE="hidden" NAME="search" VALUE="<%= $main::in{search} %>">

** Seems to work fine. **

Glad to hear it!

Dan O.


[This message has been edited by DanO (edited May 31, 2005).]

Logged
Lindau
New Member
*

Karma: 0
Offline Offline

Posts: 30


WWW
« Reply #6 on: May 31, 2005, 12:43:00 AM »

I guessed the first two lines were the same, but I didn't want to check them character by character, so I pasted all three.

It's working fine.

Thank you.
LindaU

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

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