Fabrik 3.4 not working with Joomla 3.4.8

Status
Not open for further replies.
I did all the updates, anyways were talking about a brand new joomla, template and fabrik installations, there was no outdated fabrik or joomla.
 
Did you update Fabrik from GitHub?

overwrite the template settings
This IS included in Fabrik.

Fabrik is a Joomla component and Joomla has a Bootstrap2 framework.
Prerequisit for "core" Fabrik is "Bootstrap2", a template override feature is included and working.

If you don't want to use a compatible Bootstrap2 template or a Bootstrap3 or uikit template for which Fabrik provides the files for template overriding it's up to you to create/adapt the files for the template of your choice, that's what template overiding is for.
 
The goup colums layout is not working, for example, the group column layout adds a span6 class to a field, debugging, there is no span6 class like other fabrik forms i have made with Joomla.
The span6 class is just an example, as i know, there could be span12...11...10...9...8 all of them related with the group layout settings

upload_2016-2-3_19-15-20.png

Look here:

upload_2016-2-3_19-16-36.png

...span6 should have:
upload_2016-2-3_19-18-19.png

I'm using fabrik component on all my joomla sites, and i had no problem till this project.

Thanks
 
Again: did you update from GitHub?

The group columns layout is working
upload_2016-2-3_19-38-32.png

This is a group with 2 columns in Joomla3.4.8 + Fabrik3.4.2 with latest GitHub update + template Purity_III with Fabrik's overide files

upload_2016-2-3_19-41-34.png
 
Hello,

I did the update this morning, i updated both, like shown here:

- http://fabrikar.com/forums/index.php?wiki/update-from-github/#getting-the-most-recent-fabrik-code
- https://github.com/Fabrik/Fabrik-Joomla-alt-layouts

upload_2016-2-3_21-8-51.png

And still not displays two columns.
I understand that it may work or it's working in purity iii template, but in my alaska template it dosent.
As i said, i'm using fabrik on all my joomla projects, and this is the first project running joomla 3.4.8 with fabrik 3.4.2 and group columns are not working.

Those are some joomla websites that i created using this form for the contact part:
- http://www.dimasis-truck.es/contactenos (2 columns group layout)
- http://www.taquillaonline.bioparcvalencia.es/pb-bive?view=event&event_id=7&category_id=4&time= (2 columns group layout)
- http://www.recursosasistencialeslamancha.es/index.php/contacto (3 columns group layout)
---
I mention that all of those websites are using profesional Joomla templates like JSN metro PRO, Vina Bonnie, Favourite
I really don't know how to make it work, i think it's related to the latest Joomla 3.4.8 and/or fabrik 3.4.2 component.

Thanks
 
So what is the content of your files
components/com_fabrik/layouts/form/fabrik-control-group.php
and
templates\alaska\html\layouts\com_fabrik\form\fabrik-control-group.php
 
Without a copy of the template to test with, I can't really do much. And of course there's a very finite limit to what we can do by way of free support.

If you can get the template authors to authorize a licensed copy for me to do some integration work with, I'll take a look and see what I can do. If it's a quick fix, I can do it here in Community.

-- hugh
 
I have an idea, just looking around i saw that clases are applied by Azura Page Builder, i think it's some kind of bootstrap.
So, if azura provides bootstrap to create responsive blocks i just need to update the fabrik form to use Azura classes editing the templates/alaska/html/layouts/com_fabrik/form/fabrik-control-group.php file according the demo column of azura page builer: http://alaska.pltheme.com/index.php/shortcodes/columns

upload_2016-2-3_22-59-43.png

I just edited the front end with the console, changing span6 class with col-sm-6 and it's working!!!
Now..., how can i change fabrik to use azura page builder classes like col-sm-12 -> span12 | col-sm-6 -> span6...etc..?
 

Attachments

  • upload_2016-2-3_22-50-43.png
    upload_2016-2-3_22-50-43.png
    199.8 KB · Views: 306
  • upload_2016-2-3_23-0-25.png
    upload_2016-2-3_23-0-25.png
    152.9 KB · Views: 343
And the fabrik-control-group.php layout should be doing that - look at the code in the image you posted, where we replace 'spanX' with 'col-xs-12 col-sm-X'. That's standard bootstrap v3.

That's why I can't help without a copy of the template. It should be working, works in other bs3 templates.

-- hugh
 
I can provide you full admin access to joomla administration panel, i have a full backup, anyways it's a test website.
I have deleted all content of components/com_fabrik/layouts/form/fabrik-control-group.php and templates/alaska/html/layouts/com_fabrik/form/fabrik-control-group.php in order to see if there makes any changes in front end but it seems that span6 it's always there:

upload_2016-2-3_23-39-52.png

So, fabrik form wont work on joomla using azura page builder templates without a quick fix.
I restored both php files.

Thanks
 
Like I said, talk to the authors, see if they are OK with giving me a copy of the template to do integration work with. I have free memberships from all the major template "clubs" (JoomlArt, Rocket Theme, etc) who are happy to provide copies of their templates to extension developers to do integration work with. I'm sure the authors of this template would be happy to as well. But as a paying customer, you are better placed to go and ask them. Feel free to point them at this thread, and give them my email (hugh dot messenger at gmail dot com).

-- hugh
 
I have deleted all content of components/com_fabrik/layouts/form/fabrik-control-group.php and templates/alaska/html/layouts/com_fabrik/form/fabrik-control-group.php in order to see if there makes any changes in front end but it seems that span6 it's always there:
If you are removing any code from these two files and you are still getting your form with elements it seems your code isn't run from these locations at all (and so you have updated the wrong location)
 
Ah, I hadn't noticed where he said he'd deleted the main layout file. Then yes, the code must be running from a different location.

Here's a quick demo of the boostrap3 layout override in action, converting the span6 to the b3 equivalent:

http://screencast.com/t/G04rbamr3Pg4

I set a breakpoint in the layout, and you can see the code doing the replacement.

-- hugh
 
Hello guys,

IF i erased all content of:

1. Fabrik component -> components/com_fabrik/layouts/form/fabrik-control-group.php
2. Fabrik overrides -> templates/alaska/html/layouts/com_fabrik/form/fabrik-control-group.php
---
Means:

1. The group layout output it's not generated from there.
2. The override it's not working, so, if the override it's not working, one possible cause could be the wrong upload route: httpdocs/templates/alaska/html/layouts/com_fabrik

Anyways, erasing the content of both php files, and changing in fabrik group form settings to 3 columns layout, the output is span4!!!
I really don't get it...
If i delete the patch from templates/alaska/html/layouts/com_fabrik/form/fabrik-control-group.php fabrik form should take configuration from /components/com_fabrik.... is there another group layout php file to edit in order to see from where "span" class is generated?
 
Yes, if you set 3 columns the output is span4 (12/3), that's how the grid is working.
But
If you get any element output (<label ....>) at all after erasing the two files as in your screenshot #32 your code isn't run from these locations at all!!
So it seems you have some redirecting active and your site code is running from somewhere else (without any Fabrik updates, so without group columns working for Bootstrap3).

But this is really up to you to sort it out.
Include
echo "I'm here: original";exit;
and
echo "I'm here: override";exit;
in your files and see what you get.
 
Thanks cheesegrits,

I had to update my database cause i had two domains .es and .eu pointing the same httpdocs, i installed the whole website using .es and then i worked on .eu domain.
I saw your video, did u applied the 1st stepupdate as shown here: http://fabrikar.com/forums/index.php?wiki/update-from-github/#getting-the-most-recent-fabrik-code ? Or just the second as u did in the video?
I did both steps and now i have this:

upload_2016-2-4_15-8-20.png

... so, i finnaly have span6 = 48% but it's not floating to left!!!, should i force "set labels to left" in form configuration or menu configuration?
After both updates (http://fabrikar.com/forums/index.php?wiki/update-from-github/#getting-the-most-recent-fabrik-code and https://github.com/Fabrik/Fabrik-Joomla-alt-layouts), i did some discover in Extensions, i updated and published all those fabrik new updated plugins.

PS: The tooltip displays wrong and there are some missing icons:

upload_2016-2-4_15-15-0.png


Thanks in advance
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top