From: Lili_42 <val...@zo...> - 2008-12-19 10:43:11
|
HI But with Javascript, why ? I would like on the field "org_name" of "calendar" to make in party "personified " a function which would make visible or not such a tab ? thank you Nathan Gray wrote: > > > On 31-Aug-06, at 9:31 PM, mlie wrote: > >> Hi, >> Is it possible to disable a tab in a template? >> Let's say I have a number of tabs, general|custom|alternative|extra >> How do I not show the "extra" tab for specific cases? >>> From my understanding, $readonlys is only for variables (or elements >> within a template). Is there something similar to this for templates? > > $tabs = 'general|custom|alternative|extra'; > if($condition) { > $readonlys[$tabs]['extra'] = True; > } > > will hide the extra tab. > > Nathan Gray > nathan at goarctic dot com > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > eGroupWare-developers mailing list > eGr...@li... > https://lists.sourceforge.net/lists/listinfo/egroupware-developers > > -- View this message in context: http://www.nabble.com/-eGroupWare-developers--disable-a-tab-in-a-template-tp6092329s3741p21089247.html Sent from the egroupware-developers mailing list archive at Nabble.com. |