STARs Posted March 24, 2013 Report Posted March 24, 2013 Hello, I want to create my own custom PHP Page in phpvms for my va members (public view also) how can i do this. regards Quote
Strider Posted March 24, 2013 Report Posted March 24, 2013 admin>news&content>pages>create page Quote
flyalaska Posted March 25, 2013 Report Posted March 25, 2013 Don't forget to check Public, so its open to the public. Quote
TAV1702 Posted March 27, 2013 Report Posted March 27, 2013 I seriously do not recommend adding php or anything after the page is created. When you save or try to edit, it will jack the code all up. How I do it is simply create the page and as was said, make it public. Add NO content to it. Next go to core/pages/your new page and edit the file directly and add your content. Then upload your new file. The page will display nice. Any time in the future you need to edit your created pages, do them via your file editor. Never do it via the phpVMS admin panel. Quote
Strider Posted March 30, 2013 Report Posted March 30, 2013 Alternatively, you can create a simple module that calls just a tpl file. Then you can have as much php as you like, and you wont have the myva.com/index.php/pages/pagename, it will be myva.com/index.php/mypage Quote
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.