I'll make this a bit more generic: Is it possible to make a section or a module on a page conditional? Example: Only show this section if there is a specific parameter in the query string?
I've written a lot of Hubl. I'm not asking how... I'm asking where... and if it is even possible?
Here's an example:
The image below is a section on a Hubdb dynamic page that has a module in it.
On some of the dynamic pages I don't want this section (or the module inside of it) to be shown.
I know how to write conditional logic, do lookups on the hubdb table to check which record I'm dealing with, etc. That isn't a problem.
What I'm trying to understand is *WHERE* to actually write the code that would do the checks and then determine whether a section and/or module should be shown?
@CWoods to show or hide the module you would write the HubL code in the module. If you want to hide the entire section then you would want to wrap that section/drag and drop area with the logic so that would go in the template file.