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


Login with username, password and session length

Search

 
Advanced search

8026 Posts in 1851 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)Remove field titles in event display
Pages: [1]   Go Down
Print
Author Topic: Remove field titles in event display  (Read 659 times)
0 Members and 1 Guest are viewing this topic.
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« on: August 25, 2007, 12:57:47 PM »

When my calendar is in the following mode:
cgi-bin/calendar.pl?datestring=20070915&event_id=7&view=Month&style=Grid&view=Event&event_id=7&datestring=20070915

I would like it so that the event and description titles do not show up. In other words I want to be able to show the event and its description but I don't want the labels, title & descripton to show up on the page. What file would I edit and where would I edit it?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

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


WWW
« Reply #1 on: August 25, 2007, 03:48:40 PM »

You can read about how to work with the individual event fields when in 'Event View' at the following link:

LINK > Break apart event title and description

Dan O.
Logged
newtech
New Member
*

Karma: 0
Offline Offline

Posts: 28


« Reply #2 on: August 25, 2007, 05:10:38 PM »

I read the link that you gave but it does not address what I am wanting to do. The post is in regards to changing font weight, size, styles etc.

What I am wanting to is remove the field titles completely from the page, but keep the field data.

Example:
Event:  Global Bible Training Center
Description:  Victory Life Center's Bible College.

To appear as:
Global Bible Training Center
Victory Life Center's Bible College

The Event and Description are the names of my two fields that I have entered in admin. I do not want these names to appear on the 'live' page.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

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


WWW
« Reply #3 on: August 26, 2007, 01:14:21 PM »

Sorry, I misread your request. Removing the following part of the template line will stop the printing of the side of the HTML table the field labels are displayed in.

<TD ALIGN="right" VALIGN="top"><SPAN CLASS="text"><B><%=$db->{'properties'}->{$_}->{'name'}%>: </B></SPAN></TD>

or you could just remove <%=$db->{'properties'}->{$_}->{'name'}%>: which would keep the original table intact but not print anything on that side.

Dan O.
« Last Edit: August 26, 2007, 01:28:21 PM by DanO » Logged
Pages: [1]   Go Up
Print
Jump to: