Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 07:52 pm EST

Geeklog Forums

could you use COM_Startblock?


Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
could you (i) use COM_Startblock to create a block (such as the centre block) that has a different block header than the rest of your blocks, and if so, how?. i noticed in lib-common.php, it says you can specify a template file, just looking for a quick example or something ... or if its possible...?
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
function COM_startBlock( $title='', $helpfile='', $template='blockheader.thtml' )
So you can pass the name of a template file as the third parameter. If you don't, it uses blockheader.thtml. The same applies to COM_endBlock(). bye, Dirk
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
thanks... just needed a lil moral support before i jumped in Wink
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

All times are EST. The time is now 07:52 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content