You would need to modify the code for COM_showBlocks as it currently gets the name for all users from the database. As this code extract shows: $blkheader = COM_startBlock( $A['title'], $A['help'], COM_getBlockTemplate( $A['name'], 'header' ));
The feature is there to apply a custom theme but not a custom title per block. Blaine ----- Original Message ----- From: "Jannetta Lewis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 12:36 PM Subject: Re: [geeklog-users] block titles > Hi Tony > > Yes I want to change the title for the same PHP block dynamically. I > am writing a plugin that uses two blocks, the first block serves as a > main menu and the second block displaying the sub-menu items for the > selections. So, when a person clicks on a main menu item in the first > block, I display the sub-menu items in the second block. Obviously I > then want to change the title of the block to be the main menu item that > was selected. > > (Hope I haven't confused you more than before!) > > Jannetta > > ==== > New College Durham > Product Development Co-ordinator > X4434 > > >>> [EMAIL PROTECTED] 24/03/2004 16:10:40 >>> > Can you explain your scenario a bit. It is simply you want to > dynamically change the title for the same PHP block? > > --Tony > > On Wed, 2004-03-24 at 09:39, Jannetta Lewis wrote: > > Hi folks > > > > More questions ... Is it possible to override a php block's title in > > the php code? > > > > Jannetta > > > > ==== > > New College Durham > > Product Development Co-ordinator > > X4434 > > _______________________________________________ > > geeklog-users mailing list > > [EMAIL PROTECTED] > > http://lists.geeklog.net/listinfo/geeklog-users > > _______________________________________________ > geeklog-users mailing list > [EMAIL PROTECTED] > http://lists.geeklog.net/listinfo/geeklog-users > _______________________________________________ > geeklog-users mailing list > [EMAIL PROTECTED] > http://lists.geeklog.net/listinfo/geeklog-users >