Thanks for your reply calguy1000. According to the module help the “field” parameter can only be used in the
fieldlist and the
ajax_propval actions. I’m trying to view the product summary list (i. e.
default action) inside the CompanyDirectory detail template. Therefore I placed the following module call in the template:
Code: Select all
{Products field="my_custom_fieldname" fieldval=$entry->id}
This doesn’t seem to work, it shows all products, even if the field isn’t set (or set to a different company ID); if I change the action to “fieldlist” then it shows a link “Products Matching n(n)” where n is the number of matching products, which is apparently exactly what it’s supposed to do, according to the module help. But the help is unprecise because it says:
field="" - Used in the fieldlist and the ajax_propval actions. […]
fieldval="" - Used in the default and ajax_propval actions […]
Am I misunderstanding something here? How do I display the product summary view/template inside the company detail template, with only showing the products matching the current company ID?