YianniM Posted September 19, 2013 Report Share Posted September 19, 2013 Can someone make a tutorial on how to convert a standard html skin to phpVMS? Quote Link to comment Share on other sites More sharing options...
Sava Posted September 20, 2013 Report Share Posted September 20, 2013 It's simple. Rename index.html to layout.tpl and start inputing stuff like from the crystal skin. Where you want the content to appear, insert <?php echo $page_content; ?> 1 Quote Link to comment Share on other sites More sharing options...
YianniM Posted September 21, 2013 Author Report Share Posted September 21, 2013 It's simple. Rename index.html to layout.tpl and start inputing stuff like from the crystal skin. Where you want the content to appear, insert <?php echo $page_content; ?> Thank you Sava!!! Will I have to create a footer.tpl and nav.tpl as well? Quote Link to comment Share on other sites More sharing options...
freshJet Posted September 21, 2013 Report Share Posted September 21, 2013 No, the header.tpl and footer.tpl are for older versions of phpVMS that don't use layout.tpl. There is no nav.tpl, unless you are referring to core_navigation.tpl. In that case no. The templates you downloaded will have their navbars in the index.html, so it will become part of the layout.tpl. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.