- Posts: 17
- Thank you received: 0
Product Page | Documentation Page
MooFAQ Not Working (add me to the list)
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
![:) :)](/media/kunena/emoticons/smile.png)
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.
- douglas
-
- Visitor
-
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.
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.
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.
- douglas
-
- Visitor
-
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.
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.
Unauthorized copying, reproduction, or distribution of this site's design and content, in whole or in part, is strictly prohibited without prior written consent from the copyright holder.
This site is independent and not affiliated with or endorsed by the Joomla! Project. It is neither supported nor warranted by the Joomla! Project or Open Source Matters. The Joomla! logo is used under a limited license granted by Open Source Matters, the trademark holder in the United States and other countries.
For security purposes and to derive aggregate information (analytics), we may collect your IP address and your browser's User Agent string while you are using our site.