Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • jdockum Friend
    #900125

    Why does the countdown for the event show 0 for day/hour/min/sec despite the event being scheduled a month from now? I have set the start and end dates and even tried adding the hh:mm:ss after the yyyy-mm-dd values. How can this be corrected?

    See attachments for an example.


    1. Capture2-1
    2. Capture-1
    pavit Moderator
    #900134

    Hi

    You should edit module Upcoming Events published in home-1 position and add the start date


    1. Screenshot_7-4
    2. Screenshot_8-3
    jdockum Friend
    #900139

    This is only to show on the event page, not the home page or all pages. I do not have a countdown module created for it or assigned to the page, as it is not a menu item (how would I assign it?).

    Shouldn’t this specific event have it’s own countdown that doesn’t require managing a separate module with separate values?

    Here is the event detail page link: http://theautismconnectiongc.org/events/109-paint-sip

    pavit Moderator
    #900704

    Hi there

    I spent a lot of time on your website , tried everything to find a solution to your problem , but all seems to have same configuration as on my local version ( working )

    • I uninstalled and reinstalled module Ja Acm
    • verified all your plugins which eventually could conflict with event detail page
    • changed code in this file /templates/ja_charity/html/layouts/joomla/content/item/event.php
    • verified all your seo settings and date formats

    But as you can see without solution

    Since i cannot replicate issue that means template works on my environment , i can suggest to reinstall again quickstart package and start again to see if this problem can be solved .

    You have not so much contents to restore

    Let me know

    jdockum Friend
    #900764

    What happened to the website? All of the homepage is gone except the menu and part of the footer. Did uninstall & reinstall of Ja Acm delete all of those modules?

    Compare the screenshot (attached) of the site to the archive version here: http://web.archive.org/web/20160309032613/http://theautismconnectiongc.org/

    I am reluctant to reinstall the quickstart – there is enough content there plus a store, that it would take some time, and that would cost the client unexpected time. Would it be ok to reinstall the quickstart, and then restore just the database portion of a backup?


    1. Capture-3
    pavit Moderator
    #900766

    Did uninstall & reinstall of Ja Acm delete all of those modules?

    Unfortunately yes , but i had no other solutions at that time again i tried everything to fix your issue and uninstall ja acm module was one of the options available.

    Would it be ok to reinstall the quickstart, and then restore just the database portion of a backup?

    This can be done if you know how to work with database tables, but first i suggest to install on the same server ( you can use a subdomain or a new folder ) a quickstart version to verify that problems wil not arise again

    jdockum Friend
    #900770

    Thank you @pavit. I would have liked to have been given a heads up to create a backup. Fortunately this time I should be able to pull from our automated backup if necessary.

    I will keep this in mind while awaiting the client/board’s decision, and report back on results.

    jdockum Friend
    #900776

    Not sure if it’s relevant, but on the "events" list page, the countdown DOES work. I assume it is looking at the next event set to occur. http://theautismconnectiongc.org/events

    Weird that it works there but not for the event detail.

    Actually – with that realization, I discovered the issue. I followed instructions to modify the code in this file /templates/ja_charity/html/layouts/joomla/content/item/event.php to disable the alert. I restored the original file and the countdown works.

    <?php 
      if(strtotime(date("Y/m/d")) < strtotime($date->format('Y/m/d'))) { 
    ?>
    <script type="text/javascript">
      (function($){
      jQuery(document).ready(function($) {
        $('.countdown').downCount({
            date: '<?php echo $date->format('Y/m/d'); ?>',
            offset: +10
        }, function () {
            alert('We Ready To Rock Your World');
        });
      });
    })(jQuery);
    </script>
    <?php } ?>

    How can I disable the annoying alert? Can I just remove that line alert(‘We Ready To Rock Your World’); ?

    pavit Moderator
    #900778

    How can I disable the annoying alert? Can I just remove that line alert(‘We Ready To Rock Your World’); ?

    You can remove the script from this page at bottom /templates/ja_charity/acm/countdown/tmpl/style-1.php

    pavit Moderator
    #900816

    Everything seems to work now then ?

    Can we close this topic and move it as solved ?

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 9 replies, has 2 voices, and was last updated by  pavit 8 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum