| View previous topic :: View next topic |
| Author |
Message |
smeallum
Joined: 17 May 2006 Posts: 177
|
Posted: Sun Jan 07, 2007 11:18 pm Post subject: Getting rid of some of the advanced repeating rules tabs |
|
|
Hi...
I don´t need some of the advanced repeating rules tabs. I want to hide them so it doesn´t confuse users.
I want to leave the "Monthly" and "Weekly" tabs and hide the other 3 tabs.
Is there a setting or a cleaner way to do this than commenting out all the relevant code in include/templates/advanced_repeat.php?
Cheers,
NiCo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Sun Jan 07, 2007 11:31 pm Post subject: |
|
|
Hi,
No, sorry. There is no setting. |
|
| Back to top |
|
 |
smeallum
Joined: 17 May 2006 Posts: 177
|
Posted: Sun Feb 18, 2007 3:43 pm Post subject: |
|
|
Hi...
what about removing completely the option for advanced repetition? What would be the cleanest way to do that? Is there a setting?
Cheers,
NiCo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Sun Feb 18, 2007 3:50 pm Post subject: |
|
|
Hi Nicolas,
No, I'm sorry. There is no setting that removes this. You may find the relevant sections in include/templates/event_edit_tpl.php by searching for _ADVANCED_ |
|
| Back to top |
|
 |
smeallum
Joined: 17 May 2006 Posts: 177
|
Posted: Sun Feb 18, 2007 5:47 pm Post subject: |
|
|
Thanks Ian.
One question...in that file it is pretty straightforward what i would comment out to avoid the advanced section being presented as an option.
I am unsure however in that file, in function update_repeater(x) if i can leave this line untouched or if I need to comment out the advanced part too there:
var reps = n ew A rray("< ?p hp echo(_NONE_) ?>","< ?p hp echo(_SIMPLE_) ?>","< ?p hp e cho(_ADVANCED_) ?>");
thanks,
NiCo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Feb 19, 2007 2:07 am Post subject: |
|
|
Hi,
Change it to:
var reps = new Array("<?php echo(_NONE_) ?>","<?php echo(_SIMPLE_) ?>"); |
|
| Back to top |
|
 |
|