[geeklog-users] block titles
Blaine Lang
geeklog at langfamily.ca
Fri Mar 26 10:39:54 EST 2004
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" <Jannetta.Lewis at newdur.ac.uk>
To: <geeklog-users at lists.geeklog.net>
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
>
> >>> tony at tonybibbs.com 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
> > geeklog-users at lists.geeklog.net
> > http://lists.geeklog.net/listinfo/geeklog-users
>
> _______________________________________________
> geeklog-users mailing list
> geeklog-users at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-users
> _______________________________________________
> geeklog-users mailing list
> geeklog-users at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-users
>
More information about the geeklog-users
mailing list