Welcome Guest, Not a member yet? Register   Sign In
Contents of view files pulled from database
#1

[eluser]Mr. Pickle[/eluser]
To give my CMS more power I'd like to be able to manage the view files from my CMS.

I can think of two options:

1. Have the CMS read the contents of the actual PHP file, edit this content within the CMS and write the new content to the PHP file on the server.

2. Skip having PHP files at all and have all the view-file code read directly from the database

Anyone has experience with one of or both of my options. Maybe a third option?

And if I would like to pull the code/contents from my database, how should I set the up.
Have been thinking about this for a while but couldn't find a way to have the CI parser accept code instead of a file with the code.


Messages In This Thread
Contents of view files pulled from database - by El Forum - 05-02-2011, 09:39 AM
Contents of view files pulled from database - by El Forum - 05-02-2011, 10:39 AM
Contents of view files pulled from database - by El Forum - 05-02-2011, 11:19 AM
Contents of view files pulled from database - by El Forum - 05-02-2011, 12:08 PM
Contents of view files pulled from database - by El Forum - 05-02-2011, 01:23 PM
Contents of view files pulled from database - by El Forum - 05-03-2011, 01:51 AM
Contents of view files pulled from database - by El Forum - 05-03-2011, 07:29 AM
Contents of view files pulled from database - by El Forum - 05-03-2011, 02:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB