Frequently Asked Questions using Joomla content articles. iFAQ (former MooFAQ) is a FAQ Component for Joomla!™ which uses jQuery and Bootstrap to load Joomla Articles in Accordion format.

Product Page | Documentation Page

MooFAQ Not Working (add me to the list)

More
12 years 5 months ago #12132 by adgrocks
All cache's have been cleared.
I typically build my own templates and have never had a problem with this.
However, this was a template that we purchased so maybe they have some explaining to do :)

I got the CSS to work (sort of). I just couldn't get the h3 moofaq-title to change colors. So I worked around it. No big deal.

Consider this closed for now.

Thanks again Douglas for your quick responses.

Please Log in or Create an account to join the conversation.

12 years 5 months ago #12131 by douglas
Replied by douglas on topic Re: MooFAQ Not Working (add me to the list)
Dear Mike,

1. I'm not sure why your template is not loading MooTools. In case you want to find out, please contact your template developer;

2. Did you clear all caches (Joomla, template (if any) and browser)?
Keep in mind that some CSS rules need the !important attribute in order to override old CSS rules;

All the best,

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12130 by adgrocks
I still don't know what the issue is with MooTools. I reinstalled it and still nothing.
If I manually put the path to the JS, it works.

Now I just have an issue where the site is ignoring the modifications I'm making to the CSS file.
Any changes I have made are getting ignored. But I'm working on debugging that.

Thanks again,
Mike

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12128 by adgrocks
Yeah, I guess I should have said that this happens with the plugin only.
I show that I have MooTools enabled, but I'll look in that direction.
Thanks for your help as always.
Mike

Please Log in or Create an account to join the conversation.

12 years 5 months ago #12126 by douglas
Replied by douglas on topic Re: MooFAQ Not Working (add me to the list)
Dear Mike,

It works if I load the component only:
mrgjoomla.appleboxs.com/about-us-main.html?tmpl=component

It also works if I load another template:
mrgjoomla.appleboxs.com/about-us-main.html?template=ja_purity

Then investigating your site's source code I noticed that it is not loading MooTools. Can you investigate why this is happening? I know some templates that use jQuery remove MooTools in order to avoid incompatibility with the templates. I'm not sure if that's the case.

What is MooTools:
MooTools is the Joomla default javascript library, therefore most templates use MooTools for their fancy things such as menus and slideshows; Your template or other extensions (modules, plugins, components) shouldn't use another javascript library other than MooTools, however if it does use another library such as JQuery it might be incompatible with many MooTools based scripts; Some templates even remove MooTools calls from the output HTML, then no MooTools related scripts will work.

Possible Solution:
JQuery can be used with MooTools, as long as the developer follows JQuery guidelines. You might want to suggest this feature to the template's developer:
docs.jquery.com/Using_jQuery_with_Other_Libraries

Advice:
Always choose extensions that are 100% compatible with Joomla Framework;
Avoid JQuery in Joomla based websites, this way you will avoid incompatibilities and will load less javascript, therefore your website will load faster.

All the best,

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12125 by adgrocks
Douglas,
Unbelievable, but I'm having this same issue on another site now. I have been trying to debug by disabling other JS extensions and such and no such luck.
When trying to debug scripts on the page, I get this message: "TypeError: window.addEvent is not a function" and this has to do with the MooFAQ script.
Here is one of the pages: mrgjoomla.appleboxs.com/about-us-main.html

Thanks for your help,
Mike

Please Log in or Create an account to join the conversation.

Time to create page: 0.238 seconds

Our Partners

For your web hosting needs we recommend Hostinger. Save 20% on any plan using this link.