mossman Posted August 12, 2011 Posted August 12, 2011 Hello Everyone! I'm trying to figure out how to hide the left and right hand boxes on all pages if a variable has been defined upon entry. I'm not very good with PHP so any help is greatly appreciated! I would guess that i would have some PHP code in the header that would first look for a variable. Then both left and right boxes wrapped in a IF statment: If variable = "closeout" HideBoxes ELSE ShowBoxes If i set the variable in the header file would i need to pass it from page to page? What would the code be to look for the variable? Can i send the variable in the links url? Thanks so much! Aaron
Recommended Posts
Archived
This topic is now archived and is closed to further replies.