PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-25 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 654 All time: 4,586 This week: 1,117Up
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
Name: Payam Khaninejad is available for providing paid consulting. Contact Payam Khaninejad .
Classes: 3 packages by
Country: Iran Iran
Age: 25
All time rank: 11409 in Iran Iran
Week rank: 555 Up16 in Iran Iran Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • theme/thm1/preview.png
  • theme/thm2/preview.png
  • screen.jpg
  Files folder image Files  
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  /  theme  
File Role Description
Files folder imagethm1 (4 files)
Files folder imagethm2 (4 files)

  Files folder image Files  /  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  /  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

 Version Control Unique User Downloads Download Rankings  
 0%Total:654All time:4,586
 This week:0This week:1,117Up