1
kwinpete
Explanation of $xoopsOption
  • 2004/6/4 14:42

  • kwinpete

  • Just popping in

  • Posts: 10

  • Since: 2004/4/28


Can somebody clue me in on what this does, or point me to documentation of it?

Thanks

2
Mithrandir
Re: Explanation of $xoopsOption

$xoopsOption is an array of options used by XOOPS in some aspects to show the page correctly.

E.g.
$xoopsOption['template_main'] sets the template to be used in the main contents (module output area)

$xoopsOption['theme_use_smarty'] is a setting to determine whether the theme uses smarty or not.

$xoopsOption['pagetype'] can be either admin or user and determines which language files are included, admin or user.

$xoopsOption['nocommon'] if set to 1 will not include common.php

There are a few more to disable certain blocks, if you should desire that, but I have rarely found a reason to do so. The most used is $xoopsOption['template_main'].

3
kwinpete
Re: Explanation of $xoopsOption
  • 2004/6/4 16:04

  • kwinpete

  • Just popping in

  • Posts: 10

  • Since: 2004/4/28


Thank you again Mithrandir

Login

Who's Online

354 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 354


more...

Donat-O-Meter

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

Latest GitHub Commits