0
Welcome Guest! Login
0 items Join Now

SOLVED JS Errors on Gantry 4 Template

  • Re: SOLVED JS Errors on Gantry 4 Template

    Posted 5 years 1 month ago
    • Okay, this is what we know.

      When you turn off Menu Control in Gantry 4, Gantry doesn't load some Javascript libraries causing JS errors. This then causes Mobile Menu CK to fail EXCEPT on pages with a BreezingForms form.

      The reason it worked okay on the homepage and the Submissions page is that BreezingForms loads their JS libraries and this removes the JS errors.

      Solution: I turned Menu Control back on, and chose an empty menu and positioned it in Debug. This loads the Javascript libraries but doesn't blow the page layout.

      Yes, weird, but it works for now. so.umbrellahost.net .

      Final question.

      Do you know of a replacement menuing system for Gantry 4 that works? I have several clients who complain about how the mobile menu works, whether panel or selectbox.

      Thanks for your help!
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED JS Errors on Gantry 4 Template

    Posted 5 years 1 month ago
    • No sorry, I don't. RT does not test third-party products with Gantry or our templates. What I would say is that in Gantry 5 templates the mobile menu is better (in my opinion).

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED JS Errors on Gantry 4 Template

    Posted 5 years 1 month ago
    • I agree, it is marginally better. But everytime I try to switch to Gantry 5, I get stopped dead in my tracks by the esoteric nomenclature and radical differences from Ganry 4.

      Particles, atoms, what?

      If someone had a definitive explanation of how to switch over without losing a few weeks of development time, I'd give it another try. That and there is no straightforward way we could find to add our own PHP and JS without hacking the thing.

      ;-)
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED JS Errors on Gantry 4 Template

    Posted 5 years 4 weeks ago
    • The best place to start is with the Gantry 5 docs http://docs.gantry.org/ that explains all the terminology. Then next, load a rocketlauncher copy of your chosen template and study that in conjunction with the relevant template documentation. There is undoubtedly a learning curve to go through with Gantry 5 but it is well worth the effort.

      For "particles" just think of them as Joomla "modules" but they're propriety to Gantry 5. Unlike Joomla modules they're much easier to write using two new languages TWIG and YAML. So, in a lot of case your don't need to write PHP any more. "Atoms" are just a type of "Particle" that don't usually render anything on the page (e.g. "google analytics", "fixed header", etc).

      If you want to write PHP and JS still then there is nothing stopping you - you can do it exactly the same way as you did with Gantry 4. There is no need to hack anything.

      Finally, I should point out that Gantry 4 will not be updated to work with the forthcoming Joomla 4. Gantry 5 will (although it won't be available on day one of Joomla 4 official release). Don't worry though, when Joomla release J3.9.10 that will be supported for a further two years after release.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.076 seconds