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: Adding a note on the "add" page  (Read 342 times)
0 Members and 1 Guest are viewing this topic.
phyllis
New Member
*

Karma: 0
Offline Offline

Posts: 0


« on: March 09, 2004, 05:19:00 PM »

Hi, I'm hoping to add a note (to my viewers) on the event scheduling page.  I added one on the first add-event page (where you fill in the fields) by editing the add_edit_event.html file (and just adding in a line of HTML).  But I couldn't see a way to do that on the next page (where you schedule the times) because it looks to be all Perl on that page, and I don't know if I can insert any HTML or not (or where to put it if I did) (I know HTML, but not Perl).  Any ideas?

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: March 11, 2004, 03:41:00 PM »

** But I couldn't see a way to do that on the next page (where you schedule the times) because it looks to be all Perl on that page, **

The event is scheduled using either the schedule_event_non_recur.html or schedule_event_recurring.html admin template files.

While there is a lot of Perl code on the page, it is not all Perl. Just about everything after the line
<TABLE WIDTH="500" BORDER="0" CELLSPACING="0" CELLPADDING="2">
is HTML code with just Perl variables in it.

** I don't know if I can insert any HTML **

Sure you can.

** or where to put it if I did **

Where to put it would depend on where you want it to display. Look for telltale signs in the template like:

<BODY BGCOLOR="<%=$AdminConfig->get("page-background-color")%>">

Which would be the very start of the visable page.

<CENTER>
<!--#include file="_command_list.html" -->

Which inserts the drop down menu

<TD ALIGN="right"><B>Start Time: </B></TD>

Which is just before where the event's start time gets entered.

<TD ALIGN="center"><INPUT TYPE="button" CLASS="button" VALUE="Save" onClick="dosubmit()"></TD>

Where the [ Save ] button is printed. Etc. etc. etc. ...

Try having the template open in a browser while editing it so you can look back and forth between the two to find similarities.

Dan O.


[This message has been edited by DanO (edited March 11, 2004).]

Logged
phyllis
New Member
*

Karma: 0
Offline Offline

Posts: 0


« Reply #2 on: March 16, 2004, 05:26:00 PM »

Hey thanks!

I was in the wrong file before (couldn't tell by the URL which file it was accessing).  Thanks for all the info -- I made my edits, & I think the notes I added will help my other users (even though the calendar is very user-friendly, I know some folk who will have difficulty with it).

Hey, I have a question about your Split Recurring Event plug-in:  How do I turn off verbose?  I tried setting it to 0, but it still gives me a long list of event modifications (if I modify the whole group I get a list of something like "event 12 modified, event 24 modified, event 36" etc. etc.)  If that can be turned off, I wouldn't mind doing it.  If not, it doesn't really matter.  The plug-in's great.  

Phyllis

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #3 on: March 16, 2004, 06:25:00 PM »

** I made my edits **

Glad to here it.

** How do I turn off verbose? I tried setting it to 0 **

Make sure you've set it to 0 (zero) and not the letter "O" or "o". I don't see why entering zero wouldn't work but you could set it to "" (empty quotes) and it should have the same affect as zero would.

Dan O.

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

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