I'm trying to set up a website using both mobile joomla along with fabrik. Mobile joomla currently detects mobile devices, and serves up a customized template to display properly on those devices. This works perfectly until I hit fabrik forms, which contain their own templates that break master template formatting.
My problem is, I'd like to be able to set up different form templates depending on what mobile device is detected, without creating copies of my forms just to change the form template. I tried using form template overrides, detailed here, by copying my default form template and placing it inside my mobile templates. That gave me control over default.php, but when I tried including a custom template_css.php along with it, nothing changed. Also, inside a template override default.php file, any reference to $this->loadTemplate reverts back to loading the original template files instead of any custom files placed in my mobile template, such as 'group'. As such, without rewriting the structure of templates, you can only override default.php and not default_group.php or any other form template file.
Is there a way to include custom css to form template overrides and if not, why not? It's very hard to customize a form on a per-template basis without CSS override as well. Am I going about this all wrong?
My problem is, I'd like to be able to set up different form templates depending on what mobile device is detected, without creating copies of my forms just to change the form template. I tried using form template overrides, detailed here, by copying my default form template and placing it inside my mobile templates. That gave me control over default.php, but when I tried including a custom template_css.php along with it, nothing changed. Also, inside a template override default.php file, any reference to $this->loadTemplate reverts back to loading the original template files instead of any custom files placed in my mobile template, such as 'group'. As such, without rewriting the structure of templates, you can only override default.php and not default_group.php or any other form template file.
Is there a way to include custom css to form template overrides and if not, why not? It's very hard to customize a form on a per-template basis without CSS override as well. Am I going about this all wrong?