Creating a phpLD 5 Template


By David | October 8, 2012 | Home | Blog Categories | Helpful Resources

This tutorial assumes you already have pretty good command of HTML and CSS (especially step 7).

1. Create a folder and copy Transformer to it (Let's count on Transformer as  the “dummy” theme)


2. Edit template.xml
Define "background" and "fonts" enabled or disabled. It's a part of admin panel where backgrounds and fonts are managed

Define color schemas. Leave just "Default" if not needed

3. Define possible background choices "images/backgronds"

4. defines current background image and color.

5. Edit readme.txt
Change header and Theme Name

6. Set write permissions for template.xml

7. Change styles and templates
/layouts/default.tpl
/style/main_min.css - phpld HTML decoration
style/yaml_styles.css - Override some default YAML settings
/style/colors/* - here are all color themes listed.

If you need to override or add styles to css in style/phpldstyles/yaml folder  - use style/yaml_styles.css for this

8. Make a screenshot and replace existing one with it



« Back to Helpful Resources
Previouse article: Listing Types Development Guide
Next article: phpLD 5 Videos

Publish date: October 8, 2012
Printer version    

Support Our Sponsors

Posts by Category

   categories Articles
   categories Development Blog
   categories Helpful Resources
   categories Mods
   categories News
   categories Spotlight on Great Directories
   categories Templates
   categories Tutorials

Hosting

A great prize awaits if you use our recommended host. Take a look at our special offer to find out how you can get our product virtually free. or receive other benefits. We also have a recommended hosts page, and we give you credits such as our product just for signing up with them.