Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
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 
Getting rid of some of the advanced repeating rules tabs

 
Post new topic   Reply to topic     Forum Index -> Advanced Repeating Rules
View previous topic :: View next topic  
Author Message
smeallum



Joined: 17 May 2006
Posts: 177

PostPosted: Sun Jan 07, 2007 11:18 pm    Post subject: Getting rid of some of the advanced repeating rules tabs Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Sun Jan 07, 2007 11:31 pm    Post subject: Reply with quote

Hi,

No, sorry. There is no setting.
Back to top
View user's profile Send private message Visit poster's website
smeallum



Joined: 17 May 2006
Posts: 177

PostPosted: Sun Feb 18, 2007 3:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Sun Feb 18, 2007 3:50 pm    Post subject: Reply with quote

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



Joined: 17 May 2006
Posts: 177

PostPosted: Sun Feb 18, 2007 5:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Mon Feb 19, 2007 2:07 am    Post subject: Reply with quote

Hi,

Change it to:

var reps = new Array("<?php echo(_NONE_) ?>","<?php echo(_SIMPLE_) ?>");
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 -> Advanced Repeating Rules 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.