Andy
I've added the code as a new global: "Load_Reviews_Advanced"
Then edited the category template using this code to call the global:
<%Load_Reviews_Advanced("10",$ID)%>
<%if review_loop.length%>
<h3>Latest Bed and Breakfast News or Special Offers</h3>
<%loop review_loop%>
<%include review_include.html%>
<%endloop%>
<%endif%>
I get this error message where I was expecting to see a 'review' on the relevant pages
Error: Variable 'Load_Reviews_Advanced' is not a code reference
I've put the original 'Ultra Global Plugin code back into the category.html
I've set the Helston category to use a 'custome' template (category_hels.html) to show this error code:
Error: Variable 'Load_Reviews_Advanced' is not a code reference
thanks
Colin Thompson
I've added the code as a new global: "Load_Reviews_Advanced"
Then edited the category template using this code to call the global:
<%Load_Reviews_Advanced("10",$ID)%>
<%if review_loop.length%>
<h3>Latest Bed and Breakfast News or Special Offers</h3>
<%loop review_loop%>
<%include review_include.html%>
<%endloop%>
<%endif%>
I get this error message where I was expecting to see a 'review' on the relevant pages
Error: Variable 'Load_Reviews_Advanced' is not a code reference
I've put the original 'Ultra Global Plugin code back into the category.html
I've set the Helston category to use a 'custome' template (category_hels.html) to show this error code:
Error: Variable 'Load_Reviews_Advanced' is not a code reference
thanks
Colin Thompson