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

476 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 476


more...

Donat-O-Meter

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

Latest GitHub Commits