RSS

Knowledge base/Trouble shooting

I created a new showcase but it's empty

Technical Support
posted this on Mar 23, 2009 10:51

Touristway Wokbench's data tree should be your first check to verify how many records your new "showcase" component actually retrieve.

Once Workbench is active, you will be able to select the area used by your new showcase and by clicking on "Show/Hide data" to browse its data tree with the list of results.

workbench.png

If it turns out that no record was found (node results is empty), try to remove one by one the filters (destination, exposure, etc) in order to figure out which one is too restrictive, then amend your catalogue entries accordingly.

If some records are retrieved but do not displayed you might want to double check the <%FOREACH> statement syntax or its content in your HTML. If you find no error there you might also have misspelled or mixed up the dataset alias names.

By taking a look at the component reference guide or any showcase example you will see that the output of this component comes into a dataset called "results", your component configuration should therefore contain this kind of definitiion:

<datasetalias>
  <alias id="results">components.yourcomponentid.results</alias>
</datasetalias>


Of course the foreach statement that print your list should then look like:

<%FOREACH product IN results>

 

If you are using <exposure> filter and after the checks above you still have problems try also these trouble-shooting steps:

 

  1. Go to Lists and select "Showcases" as type of list
  2. Verify that each showcase has the "code" field filled in with the values you wish to use in exposure (in your case 1, 2, 3, 4, etc)
  3. Select your test hotel to go to the profile page
  4. Check in the tab "Showcases" that your hotel is bound to the showcase whose "code" you are filtering in the exposure field.

 


 
Topic is closed for comments