Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Adding controls
06-23-2011, 09:41 PM #1
I'm developing a CMS site, all the content is displayed on the Default page.
I've created some controls that need to be applied to certain content. My problem is I can't hard code the controls because they would show on all pages so how can I get it to display on certain content.
I've added a field in my database called controls and added the control name in the correct pageID
My problem is: I haven't got a clue how to write the code that checks to see if the pageID has a control assigned to it.
Phew... I hope that makes sense and someone knows a solution.