Olivier Lumineau wrote: > > Michael Klier a �crit : > > Olivier Lumineau wrote: > > > in last release the new functinnality "namespace changes subscription" > is very nice ! :-) > but isn't there a little bug with tpl_actionlink ? Because in > templates (arctic, default) when using tpl_button both buttons > "Subscribe page changes" and "Subscribe namespace changes" appear, but > using tpl_actionlink only "Subscribe page changes" appears... > but maybe I didn't see a sp�cial parameter... > > > Nope, there's no special parameter, that's just the way it's implemented at > the moment, there's already a bug report about it [1] though. > > Regards, > Michi > > [1] [1]http://bugs.splitbrain.org/index.php?do=details&task_id=1408 > > hi, > I tried to find why it didn't work in template.php, in function > tpl_actionlink. I looked at tpl_button function, copy the method for > "case subscription", and it seems to work... :-) > Below the modifications I did in inc/template.php, in tpl_actionlink > function: It seems I've misinterpreted something here. For tpl_actionlink() you have to use either: tpl_actionlink('subscribe') - for the subscribe to page link tpl_actionlink('subscribens') - for the subscribe to namespace link The bug report I've mentioned suggests to implement it for the tpl_buttion() function the same way as for tpl_actionlink() to be able to position both buttons independently from each other. Chi -- Michael Klier www: http://www.chimeric.de jabber: chi@xxxxxxxxxxxxxxxxxx key: http://downloads.chimeric.de/chi.asc key-id: 0x8308F551