| View previous topic :: View next topic |
| Author |
Message |
Pumuckel
Joined: 25 Apr 2007 Posts: 27
|
Posted: Mon Jan 21, 2008 10:59 am Post subject: Sync Module deactivation ? |
|
|
Hi,
Is there a way to compleately deactivate the Sync Module so that nothing can Downloaded by in Excel, CSV or any other Format, or at least to remoce the Download Buttons from everywhere.
Regards
Carlo |
|
| Back to top |
|
 |
Andyy
Joined: 24 Jul 2007 Posts: 27 Location: Huddersfield UK
|
Posted: Mon Jan 21, 2008 12:24 pm Post subject: simply rename the module |
|
|
Hi Pumuckel
To remove the module simply rename the module via FTP
Go to your calendar/modules with your favourate FTP client and rename the sync module to syncBK
That's it
When you re-enter your admin area, you will see the sync link will no longer be there! |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Jan 21, 2008 2:18 pm Post subject: |
|
|
Hi,
1) Rename the modules/sync to anything else
2) Change line 239 of include/templates/event_view_tpl.php to:
| Code: |
| if(!@constant("_CAL_DOING_EMAIL_") && false) { |
3) On line 283 of index.php, just above this line:
$_cal_info['title'] = $_cur_cal->title;
.. add ..
4) rename the folder named remote in Thyme's folder to anything else
Let me know if you have any questions / trouble. |
|
| Back to top |
|
 |
Pumuckel
Joined: 25 Apr 2007 Posts: 27
|
Posted: Mon Jan 21, 2008 6:00 pm Post subject: |
|
|
It seems to work fine after all changes !
Thank You |
|
| Back to top |
|
 |
bigmike7801
Joined: 17 Nov 2008 Posts: 5
|
Posted: Mon Nov 24, 2008 5:32 pm Post subject: |
|
|
The part where you say
| Quote: |
2) Change line 239 of include/templates/event_view_tpl.php to:
Code:
if(!@constant("_CAL_DOING_EMAIL_") && false) {
|
Has this changed?[/quote] |
|
| Back to top |
|
 |
bigmike7801
Joined: 17 Nov 2008 Posts: 5
|
Posted: Mon Nov 24, 2008 5:40 pm Post subject: |
|
|
I guess what I'm trying to say is that you say to Change line 239 of include/templates/event_view_tpl.php to:
if(!@constant("_CAL_DOING_EMAIL_") && false) {
but I don't know what line 239 originally said so I'm not sure if I'm changing the right line. Actually, my line 239 is blank and falls right between the following lines of code:
| Code: |
if($_cal_event->url) {
$_cal_tmpl->section_row(_URL_,"<a href='".$_cal_event->url.
|
Hope what I'm saying makes sense! |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Nov 24, 2008 7:20 pm Post subject: |
|
|
Hi Mike,
Sorry.. make that line 272. Or you can search for the words ONLY IF NOT IN EMAIL and it should be the line just below that. It originally reads:
| Code: |
| if(!@constant("_CAL_DOING_EMAIL_")) { |
Let me know if you have any questions / trouble at all. |
|
| Back to top |
|
 |
bigmike7801
Joined: 17 Nov 2008 Posts: 5
|
Posted: Mon Nov 24, 2008 7:36 pm Post subject: |
|
|
Thanks!
I decided to just rename register_module.php because I wanted users to be able to export individual events if they wanted to but no the calendar as a whole. |
|
| Back to top |
|
 |
|