1
tayling
php code in blocks
  • 2004/7/28 23:49

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi All
I would like to have a menu block that has one option extra if a registered user - how do I use php in a block - I have tried
<?php
global $xoopsUser;
if (is_object($xoopsUser)) {
... etc but get a totally blank block.

I have tried setting the block to both html and php - what am i doing wrong?

Hoping for help
Regards
Tony

2
tayling
Re: php code in blocks
  • 2004/7/28 23:51

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


OK got it - DONT include the php tags - in a php block
Cheers
Tony

Login

Who's Online

253 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

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

Latest GitHub Commits