1
chird
Dynamic block title?
  • 2005/2/21 10:10

  • chird

  • Just popping in

  • Posts: 1

  • Since: 2005/1/13


Hi, I'm developing a a block where I'd like to be able to change the title dynamically, such as:

/modules/mymod/block/mymod_show.php

function module_show($options) { 
  if (
$REQUEST['x']=='y') {
     
$block.title='title one';
  } else {
     
$block.title='title two';
  }
  .
  .
  .
  return 
$block;
}


Is there a simple way of doing this? I've searched around to no avail.

Login

Who's Online

161 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits