1
adwin
Global Variable for Block ?
  • 2006/6/24 2:36

  • adwin

  • Just popping in

  • Posts: 68

  • Since: 2004/6/27


Hi,

I am going to create new block using XOOPS Admin Block. And what i would like to know is, what is the global variables that I could use for this block ?

Could I use <{$xoops_url}>, <{$xoops_imageurl}> etc in the custom block ?

Thank you !

2
snow77
Re: Global Variable for Block ?
  • 2006/6/24 3:48

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


if you were to put for example a banner <{$xoops_banner}> wouldn't work, you'd have to put instead:

echo xoops_getbanner();

and save the block as php.

I don't know how the other smarty tags would work, you probably would have to find their equivalent in php

3
adwin
Re: Global Variable for Block ?
  • 2006/6/24 9:46

  • adwin

  • Just popping in

  • Posts: 68

  • Since: 2004/6/27


is function like xoops_getbanner() is predefined in XOOPS ? in which library i could get more information about predefined functions in XOOPS [that i could use in my block] ?

thank you

Login

Who's Online

350 user(s) are online (270 user(s) are browsing Support Forums)


Members: 0


Guests: 350


more...

Donat-O-Meter

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

Latest GitHub Commits