GUESS IT WAS A CACHING ISSUE
Helo All and KK Sir!
I have the following code for defining editable regions:
I am using custom routes. This relational field (quotation_for_client) above is saved in the backend using DBF. But when I try to display it in the page_view, it does not display, nor gives an error.
I am using the standard code to display the field:
How can I display the conditional Field?
Regards,
GenXCoders
EDIT #1
If i remove the id=rt_id the output appears. So its confusing as the code of page_view already contains a cms:ages with id=rt_id. Sample code below:
Helo All and KK Sir!
I have the following code for defining editable regions:
- Code: Select all
<cms:editable name="customer_type" label="Customer Type" type="dropdown" opt_values="Select =- | Existing | New" opt_selected="-" order="1" />
<cms:func _into='cond_customer_type' customer_type=''>
<cms:if customer_type = 'Existing'>
show
<cms:else />
hide
</cms:if>
</cms:func>
<cms:editable name="quotation_for_client" label="Quotation for Client" type="relation" has="one" masterpage="customers/customer.php" not_active=cond_customer_type order="2" />
I am using custom routes. This relational field (quotation_for_client) above is saved in the backend using DBF. But when I try to display it in the page_view, it does not display, nor gives an error.
I am using the standard code to display the field:
- Code: Select all
<cms:pages id=rt_id limit='1' show_future_enteries='1'>
...
...
<cms:related_pages 'quotation_for_client' >
<cms:dump />
</cms:related_pages>
...
...
</cms:pages>
How can I display the conditional Field?
Regards,
GenXCoders
EDIT #1
If i remove the id=rt_id the output appears. So its confusing as the code of page_view already contains a cms:ages with id=rt_id. Sample code below:
- Code: Select all
<cms:pages>
<cms:related_pages 'quotation_for_client' >
<cms:dump />
</cms:related_pages>
</cms:pages>