Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


writeToFile Function Index getLocalThemes
generateTheme

The generateTheme function is used for generating a Jamroom Profile.

Note that you do not normally need to ever call this function - instead use the setLock() function to flag Jamroom that a Profile needs to be rebuilt - that way a Fast Rebuild can be performed if needed. The generateTheme function will always perform a "slow" (full) rebuild of a Profile. Note that this function requires that you include() or require() the jamroom/include/jamroom-theme.inc.php script before calling it.

  • return: Returns first page generated on success
string generateTheme (int $band_id, [int $theme_id = false], [string $style = false])
  • int $band_id: Band_ID of Profile to generate
  • int $theme_id: Theme_id to use for Profile
  • string $style: For Jamroom 2.x themes this is the alternate "Site Style" the profile may use
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network