Hello. Is there any way for me to display a subform (containing three fields) in any of my listing templates (e.g., listing-2.php)? I would like to be able to filter among the fields used in the subform, but can't seem to get around this and perhaps it's not possible without using an XML. I played around listing.xml and managed to do something similar like for the Menus, but it is harder to do it using customized fields.
You can see the subform Places in the back-end, so you perhaps understand my question.

    meseko I'm not entirely sure of the idea here, could you share some screenshots illustrating how you want it should be?

    The first image displays a sub-form I've created among the customized fields.

    The second image displays how they look like when adding/updating an article, in the article tab Listing Info.

    That is very similar to the third image:
    ... which is used for Listing Menus, but the difference is that Places (image 2) is added to the article tab Listing Info and the Menus (image 3) are in the article tab Listing Fields.

    • Every object in Listing Info is customized and can therefore be part of JA Megafilter.

    • Every object in Listing Fields seems to be controlled in XML and cannot therefore be filtered in frontend.

    The third image corresponds to the xml-code beginning in Row 132 of the XML-file.

    So my question is really, how can I add php-code that displays my customized sub-forms into the template e.g., listing-2.php in order to display my customized fields and FILTERING on it, without using any XML??

    Hi

    You're right, at this moment, JA Megafilter only supports to filter the custom fields created in backend only, not the extra fields created via XML for template.

    12 days later

    I missed this one... so okay, you can probably close the ticket.

    Write a Reply...
    You need to Login to view replies.