Modules - layout output scoping issue

If you try to output a WebApp within a Module layout, it looks for the WebApp layout in question, within the current modules' folder.

type: 'list' switches it between detail/list successfully, but it's still looking within the current module.

{%- include 'webapp', id: '2', type: 'list', layout: 'courses', perpage: '20', showpagination: 'true', sorttype: 'properties.name', sortorder: 'asc' -%}

within the eCommerce Module Product Layout, outputs the following:

"layouts/modules/module2/courses/list/wrapper". rather than "layouts/webapps/webappX/list/wrapper"

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
πŸš€

Feature

Date

About 6 years ago

Author

Martin Sanderson

Subscribe to post

Get notified by email when there are changes.