June 2, 201313 yr Hello guys, This might be impossible but I was thinking the other day was what if I made a program which allowed the user to change the content on a php page you know like you can do on Joomla. My idea was to create my own basic admin panel which will be linked with the php pages and the content on the php pages will all be stored on a language file so for example: $donnermeat = "<p>homepage content</p>"; so this would display once ive echoed it on the php page. then the user could log into the admin panel and change that variable which will be displayed in a input box. Once they press save button it would then change the value of the variable to whatever the user had typed into the system. does that make sense? the question is what will be the procedure to do that "change when you click save" would it be just onclick ="function()" and then the function would clear the variable and then add whatever was in that input box? I think doing this in javascript would be better because it is faster to run than php I think> What are your thoughts. Yes i couldnt think of any other variables names apart from donnermeat :-P
June 3, 201313 yr So, you want to create your own CMS? It's not impossible, just involves some hard work. Because not only do you need to create your editable areas, you will also need to create a secure login system, along with the admin panel interface. It's doable though. For the variables, you could use jQuery and AJAX to update the information upon save. Here is a simple tutorial: http://wdf.co/2m
June 3, 201313 yr Hmmm... You could be the next Zuckerberg... But just be prepared for a long journey. Joomla has a lot of people in its community taking care of security upgrades and feature additions. Adobe Business Catalyst, Squarespace and the likes are paid subscriptions to large companies who have the resources to constantly evolve the offering. Good luck with your endeavor, find the passion, find a way to give others that passion to help you and enjoy the journey.
June 3, 201313 yr What you have described sounds similar to the Twig template engine, but Twig is MUCH more powerful than shoving everything into a variable.
Create an account or sign in to comment