|
Quotes |
" ... I want to tell you that your thyme product is functional and valuable beyond
words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."
" ... Thanks for such a complete project, its making my job much easier. ..."
" ... I have now deployed 4 different calendars and our users love them ... "
" ... Easy to install and use and a great look/design. ..."
" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
alexandegn Guest
|
Posted: Fri Feb 10, 2006 7:43 pm Post subject: how to remove "export" button |
|
|
How do I remove the "export" button that appears in the event details window?
Also,
How do I remove the organizer field from the same window?
Alex
 |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Feb 10, 2006 7:51 pm Post subject: |
|
|
Hi Alex,
Edit include/templates/event_view_tpl.php
And comment out the lines that contain the export button and the organizer fields.
Search for _EXPORT_ and _ORGANIZER_ to find the lines. |
|
| Back to top |
|
 |
alexandegn Guest
|
Posted: Tue Feb 14, 2006 8:34 pm Post subject: error message |
|
|
i did what you explained an got the following message
Parse error: parse error in D:\InetPub2\www.mennoniteusa.org\calendar\1\include\templates\event_view_tpl.php on line 247
http://mennoniteusa.org/calendar/index.php
 |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Feb 14, 2006 8:48 pm Post subject: |
|
|
Uncomment the _EXPORT_ line and change this:
| Code: |
# ONLY IF NOT IN EMAIL
if(!@constant("_CAL_DOING_EMAIL_")) {
if($_REQUEST['event_action'] != _DELETE_ && (!$_cal_event->is_request))
$_cal_tmpl->toolbar("", $_cal_form->submit("event_action", _EXPORT_) .
((!$_cal_user->guest || @constant("_CAL_GUEST_EMAIL_OK_"))
&& @constant("_CAL_MAIL_FROM_") ? " ".
$_cal_form->submit("event_action", _EMAIL_) : "")
, " ");
}
|
to ...
| Code: |
# ONLY IF NOT IN EMAIL
if(!@constant("_CAL_DOING_EMAIL_")) {
if($_REQUEST['event_action'] != _DELETE_ && (!$_cal_event->is_request))
$_cal_tmpl->toolbar("",
((!$_cal_user->guest || @constant("_CAL_GUEST_EMAIL_OK_"))
&& @constant("_CAL_MAIL_FROM_") ? " ".
$_cal_form->submit("event_action", _EMAIL_) : "")
, " ");
}
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|