Conditional options in theme.ini file

Hi, I’m wondering if anyone has created conditional logic for options in their theme.ini file. For instance, if someone selects a certain option in the theme, only then will a certain option related to that appear.

The theme.ini doesn’t support that level of interactivity. You could try to provide it with a module that can add Javascript, but not the theme on its own. You could of course just have some options that don’t do anything unless another option is selected elsewhere, but not really the hiding/showing behavior.

We’re looking into possible enhancements to what themes can do with their configuration, but that level of interactivity could be tricky.

Ok, no problem. I was wondering if it was even possible at this point. I will just provide explanatory text in the info. I appreciate the quick response!

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.