• Payment Plugins Poll

    We need your feedback on the need for updated payment plugins. Please go here and give us your feedback.

  • Joomla 5.1

    For running J!5.1 you must install Fabrik 4.1
    See also Announcements

  • Subscription and download (Fabrik 4.1 for J!4.2+ and J!5.1) are working now

    See Announcement
    Please post subscription questions and issues here

    We have resolved the issue with the J! updater and this will be fixed in the next release.

[solved] Fabrik forms not including Menu Page Class

aijosh

Member
I noticed fabrik form menus don't add the page class to the rendered page.

Is this a bug?

How would I style individual pages if the page classes are not included on the page?

I checked the default form template and noticed <?php echo $this->params->get('pageclass_sfx')?> doesn't do anything. Typing a class manually into the template works but the pageclass code doesn't return any value
 
Last edited:
In the default list template we ad a wrapper round the whole thing if you define a pageclass_sfx, so I just added that to the default bootstrap form template:

https://github.com/Fabrik/fabrik/commit/87ee0a73b9b8210239bc33e034c46328331e6658

Yeah, it's supposed to be used as a suffix on individual classes, but that's just silly. So with that tweak, you can use the pageclass_sfx as part of a child selector ...

.your_pageclass_sfx whatever { ... }

-- hugh
 

Members online

No members online now.
Back
Top