• 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.

  • Update & Changlog URL Fixer

    At the present time the update site URL for Fabrik is incorrect in all installations up to and including 4.1. This will be corrected in 4.2, however, if you wish to update Fabrik via the J! Updater you can download and install this plugin.

    This file is installed just like any other extension through the J! Extension Installation panel. It will not however actually install anything. Its sole purpose is to fix the Update Site and Changlog URL's. Once done it will simply exit.

    As always, we recommend you perform a site backup priot to installation.

[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