The below design code is used to display staff or customer homepage content depending on a visitors IP.
This works as expected on the homepage, but the staff_content area is printing the same (home page) content for children pages, Am I missing something here or another setting is askew perhaps?
Any wisdom greatly appreciated.
4:16:1
<!-- Staff Content --> <MySource_area id_name="staff_content" design_area="body" print="no" /><!-- Customer Content -->
<mysource_area id_name=“customer_nest” design_area=“nest_content” print=“no”>
<Mysource_set name=“type_codes” value=“page” />
</mysource_area><MySource_AREA id_name=“visitor_detect” design_area=“show_if”>
<MySource_SET name=“condition” value=“user_ip”/><MySource_THEN>
<Mysource_print id_name=“staff_content” />
</MySource_THEN><MySource_ELSE>
<Mysource_print id_name=“customer_nest” />
</MySource_ELSE></MySource_AREA>