Jump to content
Sign in to follow this  

Basics of Skinning

  • Skinning Basics

    Skinning phpVMS consists of two elements - the layout, and then the templates.


    The layout is your "container" - the HTML tags, which sit above and below your content. There are two types of layouts, and they both are placed in your skin's folder:


    This path is important for two reasons:

    1. Your layout files are there
    2. The templates you modify will be placed there


    The default templates are located in:


    This folder contains all of the default templates which are used in the site. To customize these, you have to copy the template file you're changing into the folder of the skin you're using.

    For instance, if your skin is /lib/skins/myskin, to customize the templates/profile_main.tpl file, copy it into /lib/skins/myskin. This is done for two reasons:

    1. Portability - you can package skins with customized templates, and change them as you want. It's also easy to distribute
    2. Updates - In updates, the core/templates are sometimes updated. These updates are listed in the changelog, so you can implement the changes, and it will not break immediately on updates.
Sign in to follow this  

User Feedback

Recommended Comments

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Add a comment...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...