Redirecting hidden listings

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 20, 2010   (RSS)

Re: [rentittoday] Redirecting hidden listings

By rentittoday - August 20, 2010

I solved my own issue!

After printing the value of the "hidden" field to the page I realized that even though we changed the field value in the admin section to "active" and "in-active" the values displayed for the record on our viewers are still "1" and "0". so by changing it works perfectly!

<?php if ($healthcare_equipment_rentalsRecord['hidden'] != "0") {header("Location: http://www.ourhomepage.com");} ?>

Thanks! :)
Jason Glass

Re: [rentittoday] Redirecting hidden listings

By Donna - August 20, 2010

Glad to hear you got that sorted out. Let us know if you have any more trouble with it!
Donna

--
support@interactivetools.com