Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
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. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
how to remove "export" button

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
alexandegn
Guest





PostPosted: Fri Feb 10, 2006 7:43 pm    Post subject: how to remove "export" button Reply with quote

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
Wink
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Fri Feb 10, 2006 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
alexandegn
Guest





PostPosted: Tue Feb 14, 2006 8:34 pm    Post subject: error message Reply with quote

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

Crying or Very sad
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue Feb 14, 2006 8:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.