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


Login with username, password and session length

Search

 
Advanced search

8001 Posts in 1848 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)Displaying custom event fields in grid and list views
Pages: [1]   Go Down
Print
Author Topic: Displaying custom event fields in grid and list views  (Read 234 times)
0 Members and 1 Guest are viewing this topic.
James Lavery
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« on: March 19, 2003, 12:46:00 AM »

I have added a couple of custom fields to my boat-booking calendar for our sailing club (for example, boat_name), and would like this to be displayed on the grid and list view of events.

I'm sure this is just a mod to the template(s) - could someone please point me in the right direction!

Thanks,

James

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 212

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


WWW
« Reply #1 on: March 19, 2003, 06:51:00 PM »

Depending on the templates you are using, in the default templates the default.html template file will need to be altered.

Event fields can be printed using code like
<%= EVENT FIELD(boat_name) %> or <%= $EVENT->{'details'}->{'boat_name'} %>
in the appropriate place.

Dan O.

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

Logged
James Lavery
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« Reply #2 on: March 20, 2003, 12:20:00 AM »

Hi DanO,
Thanks - that's just the info I was looking for.

James

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

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