Login   Register  
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 (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-25 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 635 All time: 4,544 This week: 1,380Up
Version License PHP version Categories  
theme-selection 1.0GNU General Public Lice...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: 24
All time rank: 11498 in Iran Iran
Week rank: 1734 Down39 in Iran Iran Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • screen.jpg
  Files folder image Files  
File Role Description
Files folder imagetheme (2 directories)
Plain text file load-theme.class.php Class main class
Plain text file index.php Example Local example page

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

  Files folder image Files  /  theme  /  thm1  
File Role Description
  Plain text file info.xml Conf. theme info
  HTML file header.tpl Output theme header file
  HTML file index.tpl Output theme index file
  Image file preview.png Screen preview picture
  Plain text file style.css Example stylesheet

  Files folder image Files  /  theme  /  thm2  
File Role Description
  Plain text file header.tpl Example theme header file
  HTML file index.tpl Example theme index file
  Image file preview.png Screen screenshot
  Plain text file style.css Doc. stylesheet
  Plain text file info.xml Doc. theme info

 Version Control Unique User Downloads Download Rankings  
 0%Total:635All time:4,544
 This week:0This week:1,380Up