1
trewdy
Re: Blank php block
  • 2006/10/31 23:18

  • trewdy

  • Just popping in

  • Posts: 4

  • Since: 2003/5/2 2


Qwest,

Took me a while to see this reply. You're right, the missing ' would have been a problem, but it turns out that I've got it in the block - just not here in this forum post.

Still without an answer to this one I guess.

Thanks anyway,
trewdy



2
trewdy
Blank php block
  • 2006/9/11 20:51

  • trewdy

  • Just popping in

  • Posts: 4

  • Since: 2003/5/2 2


I've recently upgraded from 2.0.13 to 2.0.15 as well as from newbb1 to newbb2.02. I'm having troubles with adding a new block to display recent posts to a forum. The script I add works fine in the add block preview window, but when I go to view it outside of the preview I end up with a block that has a title but no content. This is what I've entered in the block content. Any ideas what my problem is?

include_once(XOOPS_ROOT_PATH . /modules/newbb/blocks/newbb_block.php');
$options = "10|0|time|1";
b_newbb_custom($options);

Thanks for your help.



3
trewdy
Re: Block duplication
  • 2005/11/4 19:51

  • trewdy

  • Just popping in

  • Posts: 4

  • Since: 2003/5/2 2


version 2.0.13



4
trewdy
Block duplication
  • 2005/11/4 18:34

  • trewdy

  • Just popping in

  • Posts: 4

  • Since: 2003/5/2 2


How does one duplicate a module's block? For instance, the upcoming events block in eXtcal has a couple of nice options. I would like to use the block multiple times with different options set for each use.




TopTop



Login

Who's Online

173 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

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

Latest GitHub Commits