which would be a simple matter of changing $bc_page['title'] to "whatever"
from the module constructor.
Of course that means that your module will 'take over' the title of any page
it is included on, but that's probably ok with you.
_a
----- Original Message -----
From: "Justin Farnsworth" <je...@ey...>
To: <bin...@li...>
Sent: Saturday, July 07, 2001 4:46 AM
Subject: [binarycloud-dev] <title> again...
> Alex:
>
> Just one more thing I forgot to mention.
>
> The suggestion I made is really for a DEFAULT title
> facility, so that something is there if a module does
> not alter my suggested $Title.
>
> For example, I may have a module that displays
> employee data in a table out of a database. Then,
> I have the column headers as anchor tags that, if you
> click on the link, a round trip is made to order
> on that field, so that, with this one module I
> can display the employes ordered by first name, last name,
> age, sex or whatever.
>
> With my workaround, I can then set $Title (<title>) to
>
> 1. "Eye Employees: Sorted by last name"
> 2. "Eye Employees: Sorted by first name"
>
> and so forth.
>
> BUT, if the module/mode_of_module does not set
> $Title, then I wish it to default to what I set in
> global scope up in the index.php.
>
> capito?
>
> _jef
> --
> Justin Farnsworth
> Eye Integrated Communications
> 321 South Evans - Suite 203
> Greenville, NC 27858 | Tel: (252) 353-0722
>
> _______________________________________________
> binarycloud-dev mailing list
> bin...@li...
> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev
>
|