Onno Posted July 13, 2013 Report Share Posted July 13, 2013 Hello I need help with the skin for my site when i enter the code <?php echo $page_content; ?> i get the standard text that the installer placing on the site. Where can i change that text because when i deleted that code i cant open any screens. i need help because i don't know it anymore. maybe it is a possibility to place some more documents on the site how to change it. greetz onno Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted July 14, 2013 Members Report Share Posted July 14, 2013 In order to help you need to tell us what kind of template you are using or some code would be nice. If you see crystal theme the default for phpvms you will see how it is made if you put it side by side with your html document then i think you will be able to understand how it is made By what you are telling us most propably you have the skin in wrong place or you didnt placed the php flags remember on almost each template you must open start with <?php Quote Link to comment Share on other sites More sharing options...
Tom Posted July 14, 2013 Report Share Posted July 14, 2013 ^ Not really... By the sounds of it you're editing layout.tpl. layout.tpl is for layout only. What you're seeing on the homepage is likely the default news item added by phpVMS - you can remove this from the admin panel. If you want to create/edit content on specific pages, you either create a custom page in the admin panel, or edit the appropriate .tpl file for the page you're trying to edit. Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted July 14, 2013 Members Report Share Posted July 14, 2013 Thanks Tom i think i understood something wrong Onno you want to remove this text ? Thanks for installing and using phpVMS! Check out the docs for help and information on getting started on your VA. This is just a starter skin - customize yours completely. This is just a basic, barebones example of what a skin is and how it works. Check out the crystal folder in the lib/skins directory. Make your own copy and fiddle around. For help, check out the forum, and skinning docs. Also, be sure to check out the skinning tutorials for a quick primer. The forums are also filled with plenty of helpful people for any questions you may have. Good luck! Quote Link to comment Share on other sites More sharing options...
Onno Posted July 21, 2013 Author Report Share Posted July 21, 2013 sorry for the late reaction yes i want to delete the thanx for installation text. and i was changing the layout. gr onno Quote Link to comment Share on other sites More sharing options...
Onno Posted July 21, 2013 Author Report Share Posted July 21, 2013 Hello I've found the news item that contains that massage. But my question is how can i ad something on the front page without the info who have placed the item and the titel? grtz onno Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted August 20, 2013 Members Report Share Posted August 20, 2013 Is it for static text or you just want the news to be shown without date and time ? Quote Link to comment Share on other sites More sharing options...
Onno Posted August 26, 2013 Author Report Share Posted August 26, 2013 Hi It is the text on top of the site under the menu just taken a look at www.northsea-airlinesva.com and you will see it. I don't know how to delete it. grtz Onno Quote Link to comment Share on other sites More sharing options...
Sava Posted August 28, 2013 Report Share Posted August 28, 2013 You can change what you want in the frontpage_main.tpl file in core/templates Before editing, copy the file to your skin folder. Quote Link to comment Share on other sites More sharing options...
SkiesTheLimit Posted August 28, 2013 Report Share Posted August 28, 2013 Yes, like Sava said: Create a file in called frontpage_main.tpl in your skin folder. /lib/skins/yourskinname Place any and all HTML/CSS/JS you want to be displayed or PHP for the frontpage. Echo the page content again, and what you want to show up will be there along with the functionality of all the pages. Quote Link to comment Share on other sites More sharing options...
Onno Posted August 29, 2013 Author Report Share Posted August 29, 2013 Hello Ah thank you all i will try that. Thanx in advance gr onno Quote Link to comment Share on other sites More sharing options...
Onno Posted August 29, 2013 Author Report Share Posted August 29, 2013 Hello It works thanx about that but now i get some other problems but i will try to solve it later. But the main problem is inpiration http://www.northsea-airlinesva.com 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.