This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

SinisaPerovic
SinisaPerovic

Hi. I'm building a plugin that would manage and display an extended set of features for an activity tour, where the initial set of features is fetched from the booking application via API. The problem I'm having is the fact that there are two types of tours requesting two quite similar but still different templates. Let say that those templates are called 1 and 2 and they are set with each tour in the database with other fields using the plugin.

Is there a way to conditionally set which template will be used to render the component?

Thank you for your time and effort.

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.