PostNuke Help

Previous
pnSessionSetVar

Home
up

Next
pnUserGetAll


pnThemeLoad

load display theme

Synopsis

bool pnThemeLoad();

Description

pnThemeLoad() loads the display theme as specified by the user, and sets a number of global variables for backwards-compatibility with older display themes.

Return Values

This function loads true if the theme was loaded successfully, and false if the theme was not loaded successfully.

Examples

// Load in user theme
if (!pnThemeLoad()) {
  die('Problem loading theme');
}
       

Previous
pnSessionSetVar

Home
up

Next
pnUserGetAll