Moonsoft Software Solutions

Calculator effecting accordion menu

Started 13 May 2013 · 6 replies

  1. moon_1034
    Hi, it seems that the page where I have included the calculator is effecting the sites accordion menu on load.

    In the source of the page your module seems to be loading calender and upload js files, can these be removed somehow to speed up the page load?

    site is watermarktech.co.uk/our-product/cost-calculator

    thanks
  2. Moonsoft support
    Hello,

    Javascript is loaded in the top of JOOMLA/modules/mod_calcbuilder/tmpl/user.php file. You can delete or comment(//) lines where Calcbuilder loads javascript files (lines 31-35).
    You won´t see Calendar as part of Calcbuilder Javascript because is part of Joomla core.

    We recommend to make a backup before changing anything in code.

    Hope this helps. Regards,
  3. moon_1034
    thanks,

    Ive commented out the upload files, but still struggling with this calender business.

    when I remove the {loadposition calc} from the article and look at the page source the calender scripts are not loaded. When I place the code back in the article to load the calculator it loads them

    Why would this be?
  4. Moonsoft support
    Hello,

    If you have installed in your site Calcbuilder 2.1.5 or lower, maybe you should comment or delete the following line:

    JHTML::_('behavior.calendar');

    on the same file.

    If you have 2.1.6 version, maybe your template is adding Calendar javascript and css files.

    Regards,
  5. moon_1034
    Thanks...that got rid of that code.


    I still have the problem with the calulator effecting the menu though :(

    When the page loads I can see the calculator expand for a second which is exactly what its doing to the menu as well...
  6. moon_1034
    hi..any tips for this please?
  7. Moonsoft support
    Hello,

    Sorry for delay. Calcbuilder doesn´t affect your menu directly. Your menu works exactly in the same way in other pages, hides menu subitems only when page has finished loading.
    The difference between this page and the others is that it includes more content, so it takes more time to load.

    Regards,

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket