Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

Pawtucket2 Between tag

I'm trying to display dimensions in my test Pawtucket2 instance, using the <between> tag to place an "x" between values if available. I've copied the display template that is in use in my "old" production site into the new test object details page, and when I display three variables, I get the first <between> value repeated twice - e.g. 21 in L x x 3 in W x 4 in H.  I can replace the "x" with a different value, and that new value is repeated, so I don't think it is the case that there is a rogue display template hiding out somewhere else. 

If I choose to only display 2 variables (L x H, for example) I correctly only see one separator.

My existing display template, below, is working fine on my old Pawtucket site.

^ca_objects.dimensions.dimensions_length <ifdef code="ca_objects.dimensions.dimensions_length">L</ifdef><between> x </between>^ca_objects.dimensions.dimensions_width <ifdef code="ca_objects.dimensions.dimensions_width">W</ifdef><between> x </between>^ca_objects.dimensions.dimensions_height<ifdef code="ca_objects.dimensions.dimensions_height"> H</ifdef>; <ifdef code="ca_objects.dimensions.dimensions_thickness">Thickness: ^ca_objects.dimensions.dimensions_thickness; </ifdef><ifdef code="ca_objects.dimensions.dimensions_weight">Weight: ^ca_objects.dimensions.dimensions_weight; </ifdef>
Sign In or Register to comment.