Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-08-2009, 11:20 PM #1
How to allow users to add modules in a custom CMS
I'm looking for recommendations for methods to handle this. The first method I came up with is to use FCKeditor and allow them to enter plain text in a field and then have php parse the code and replace it with the corresponding module.
Users enters: %%poll%%
PHP replaces it '%%poll%%' with <?php include('poll.php'); ?>
Is this a good method? security issues? is there a better method that might be easier and more versatile?
Which came first - the chicken or the egg? The egg... [ticket closed]
If a tree falls... does it make a sound? Yes.............. [ticket closed]
05-08-2009, 11:34 PM #2
- Join Date
- Jul 2002
- Vancouver, BC Canada
- Thanked 100 Times in 100 Posts
How about having a poll and slideshow column in a MySQL database with a default value of 0 for off. When the user changes the value to 1 for on, the poll or slideshow would be included.