Helix Javascript Error With Lists Display - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Helix Javascript Error With Lists Display

JM

Jean Machuron

Helix Framework 3 years ago

Hello

After upgrading to v 2.0.6 I have also noticed a js error on all pages loading lists with sorting It seems like popover and tooltip are not properly initialized by Helix and we get js errors stating that they are not function. That's this bit of js which is the issue :

jQuery(function($){ initPopovers(); $("body").on("subform-row-add", initPopovers); function initPopovers (event, container) { $(container || document).find(".hasPopover").popover({"html": true,"trigger": "hover focus","container": "body"});} });
jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });

That was correct on previous version but the use of Bootstrap 5 needs probably a rewrite somewhere which is missing.

Mind to check on your side ? use joomla 3 with a list display like

JHtml::_('grid.sort', 'BLABLA', 'priority', $listDirn, $listOrder, 'none')

Thanks

0
21 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #49689

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
JM
Jean Machuron
Accepted Answer
3 years ago #49713

Hi You can visit front end and backend at the locations provided to test and repair. Please let me know of your change so that we can mimic on the production site once done. I guess it is related to your override of joomla render fields for radio and users list but I cannot find the error Thanks for the help and have a good day

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #49805

We are working on popover javascript issue. We will fix it as soon as possible. Please make sure that your extension is compatible with the Bootstrap 5. Thanks

0
JM
Jean Machuron
Accepted Answer
3 years ago #49831

hello Toufiq

This is a bug of Helix not related to the support of bootstrap 5 but to the non correction of joomla issues with bootstrap

ALL extensions using joomla 3 support of lists sorting and renderfields have the issue with Helix

What is your timeframe to fix this ?

We cannot upgrade the production sites befote it is fixed

Regards

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #49837

We are working on it. We will release it soon. Thanks

0
JM
Jean Machuron
Accepted Answer
3 years ago #51001

We need a fix for this urgently Please review the link provided and you'll notice that the customer select box does not work, while it does on protostar Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #51207

Will you please provide me a screencast video? I will share with our developer team to fix it quick. Thanks

0
Pavel
Pavel
Accepted Answer
3 years ago #51247

follow

0
JM
Jean Machuron
Accepted Answer
3 years ago #51387

No need for a screenshot, just use the links I've provided and try for yourself to click on existing user and select one !

The issue exists since 2.0.2 and still not solved.

Regards Jean

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #51576

Sorry for the miscommunication. We just released an update of Helix3. We need more time to fix this issue for the Helix Ultimate. Thanks

0
JM
Jean Machuron
Accepted Answer
3 years ago #51578

Hi Toufiq

That should not be that complicated ;-) What was the override fix for Helix 3 ? we can simply override it in the html of the template for now, waiting that you update it officially ? This is really an issue for our staff Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #51580

You can override your module, component inside the template html folder. Thanks

0
JM
Jean Machuron
Accepted Answer
3 years ago #51581

yes I know this !! My question was what is the fix that you applied for the helix3 render field issue with users ??

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #51585

We didn't anything for the Helix3.

0
JM
Jean Machuron
Accepted Answer
3 years ago #51589

I see, forgot that it still relied on old mootools :-(

When will you have fixes avaliable for Helix Ultimate ?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #51601

We will try to release as soon as possible. Thanks

0
Pavel
Pavel
Accepted Answer
3 years ago #51604

My question was what is the fix that you applied for the helix3

Hi Jean. I do not understand why the support team cannot explain it to you.

Helix 3 and Helix Ultimate received bootstrap 5. Therefore, all things on your site that use the previous version of Botstrap JS stopped working. No Helix сorrection is required. Correction of extensions is required for bootstrap 5 ready

0
JM
Jean Machuron
Accepted Answer
3 years ago #51605

Sorry but I dont understand your point. Helix 3 works fine while Helix Ultimate does not with renderfields for user So this has nothing to do with Bootstrap 5, but with the way helix framework render user fields. We had the same issue with Helix up to 2.0.4 on Bootstrap 4, that's why we need your help fixing this

0
Pavel
Pavel
Accepted Answer
3 years ago #51611

Maybe I misunderstood. You wrote about popover error in your first post. I just corrected a similar error on the site of my client. There was a module that used dependencies from the previous version of BootStrap 4. I replaced this for Bootstrap 5 and everything began to work.

This is because bootstrap 5 no longer uses jQuery.

that's why we need your help fixing this

Sorry, I'm not Joomshaper team member

0
JM
Jean Machuron
Accepted Answer
3 years ago #51619

Yes posts have been redirected to this one I guess I could change popover and tooltip issues with helix ultimate, but we're stuck with an issue with rendering user fields.

This code

if ($this->canChangeSubmitType)
{
    echo $this->form->getField('submit_type')->renderField();
    echo $this->form->getField('customer_id')->renderField(array('class' => 'rst_customer_id_container'));
}
echo $this->form->getField('email')->renderField(array('class' => 'rst_email_container'));
echo $this->form->getField('name')->renderField(array('class' => 'rst_name_container'));

works fine on new Bootstrap 5 Helix3 and does not work on Bootstrap 5 Helix ultimate

Radio submit type does not hide or show the users select field, and the select user button does not trigger any modal window in Helix ultimate.

So that 's defintely not an issue of the extension but of Helix Ultimate and that's what I'd like JoomShaper team to fix

Hope you got it, and if you have any ideas ? Try the extension RS Tickets Pro free testing and try to issue a new tickets as staff with Helix Ultimate compared to Helix 3 (or even Protostar)

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #51667

Already this issue on our board. I hope our developer team will fix it soon. Thanks

0