Jump to content

Recommended Posts

Posted

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.

Posted

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

Join the conversation

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

Guest
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...