# PHPVMS layout

**URL:** <https://forum.phpvms.net/t/phpvms-layout/4214>\
**Category:** Skinning - Legacy phpVMS (v2/v5)\
**Created:** [March 2, 2011, 3:07pm UTC](https://forum.phpvms.net/t/phpvms-layout/4214 "2011-03-02T15:07:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Noble](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/51bf81/32.png) [@Mark\_Noble](https://forum.phpvms.net/u/Mark_Noble)\
**Post date:** [March 2, 2011, 3:07pm UTC](https://forum.phpvms.net/t/phpvms-layout/4214/1 "2011-03-02T15:07:06Z")

</div>

Hi All

This may be a long topic as im very new to php.

I need to know how phpvms works in order to change my pages to suite my VA.

I guess as normal web sites use the index.php page to load first, what then controls the rest of the pages as i see many folders eg

lib/skins In this folder i have copied crystal and renamed it. Inside there are styles.css and layout.tpl (Do i change these)

Inside the core folder is loads of other folders with php and tpl files. im confused thats there a template folder, modules and pages folders with many more php

can you see where im coming from what controls what pages to be displayed and what ones do i alter.

I create web sites where each page is its own just a link on the main page to move to another page.

Please help!!

Regards

Mark NOBLE

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [March 2, 2011, 3:36pm UTC](https://forum.phpvms.net/t/phpvms-layout/4214/2 "2011-03-02T15:36:51Z")

</div>

Sounds like you just want to continue what you were doing.

phpVMS works by generating content into your template files. There are a set number of template files phpVMS itself uses (in core/templates/). You just need to continue with your new folder in lib/skins/ editing layout.tpl (which is the code applied to all pages) along with the associated stylesheet. Then if you want to edit the templates for other pages just copy the template from core/templates/ into your skin folder and modify.

I am probably the worst person in the world for explaining things but hope that helps
