...

View Full Version : Adding controls



QBall777
06-23-2011, 09:41 PM
Hi all,

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.

Many Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum