PHP Classes

Smarty Template Engine Theme Selection Class: Load a Smarty template theme defined in XML

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 694 All time: 4,716 This week: 43Up
Version License PHP version Categories
theme-selection 1.0GNU General Publi...3.0XML, PHP 5, Templates
Description 

Author

This class can load Smarty template theme defined in XML.

It can parse a theme definition in XML file located in directory with name defined by the theme name.

The class can return details of the theme like the name, version, creator name, URL, e-mail address, description and publication date.

The class can also delete the directory of a given theme and its contents.

this class used to load installed theme using Smarty Template Engine
you can activate theme or delete/uninstall theme using this class
you can use this class for simple template base scripts

Innovation Award
PHP Programming Innovation award nominee
March 2011
Number 3


Prize: One year subscription to the PDF edition of the JSMag magazine
Some sites let the users customize their presentation by providing themes defined by templates, icons, styles, etc..

This class provides an user interface to let users choose between multiple template themes by presenting preview images that show of the way each theme will look like.

Manuel Lemos
Picture of Payam Khaninejad
  Performance   Level  
Name: Payam Khaninejad is available for providing paid consulting. Contact Payam Khaninejad .
Classes: 3 packages by
Country: Iran Iran
Age: 34
All time rank: 116411 in Iran Iran
Week rank: 178 Up2 in Iran Iran Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots (3)  
  • theme/thm1/preview.png
  • theme/thm2/preview.png
  • screen.jpg
  Files folder image Files (13)  
File Role Description
Files folder imagetheme (2 directories)
Plain text file load-theme.class.php Class main class
Accessible without login Plain text file index.php Example Local example page

  Files folder image Files (13)  /  theme  
File Role Description
Files folder imagethm1 (4 files)
Files folder imagethm2 (4 files)

  Files folder image Files (13)  /  theme  /  thm1  
File Role Description
  Accessible without login Plain text file info.xml Conf. theme info
  Accessible without login HTML file header.tpl Output theme header file
  Accessible without login HTML file index.tpl Output theme index file
  Accessible without login Plain text file style.css Example stylesheet

  Files folder image Files (13)  /  theme  /  thm2  
File Role Description
  Accessible without login Plain text file header.tpl Example theme header file
  Accessible without login HTML file index.tpl Example theme index file
  Accessible without login Plain text file style.css Doc. stylesheet
  Accessible without login Plain text file info.xml Doc. theme info

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:694
This week:0
All time:4,716
This week:43Up