Tagged: ja-charity countdown events ACM
-
AuthorPosts
-
jdockum Friend
jdockum
- Join date:
- June 2015
- Posts:
- 19
- Downloads:
- 9
- Uploads:
- 7
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
March 15, 2016 at 9:50 pm #900125Why 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.
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 15, 2016 at 10:01 pm #900134Hi
You should edit module Upcoming Events published in home-1 position and add the start date
-
jdockum Friend
jdockum
- Join date:
- June 2015
- Posts:
- 19
- Downloads:
- 9
- Uploads:
- 7
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
March 15, 2016 at 10:11 pm #900139This 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 16, 2016 at 5:15 pm #900704Hi 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 Friendjdockum
- Join date:
- June 2015
- Posts:
- 19
- Downloads:
- 9
- Uploads:
- 7
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
March 16, 2016 at 8:18 pm #900764What 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?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 16, 2016 at 8:31 pm #900766Did 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 Friendjdockum
- Join date:
- June 2015
- Posts:
- 19
- Downloads:
- 9
- Uploads:
- 7
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
March 16, 2016 at 8:37 pm #900770Thank 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 Friendjdockum
- Join date:
- June 2015
- Posts:
- 19
- Downloads:
- 9
- Uploads:
- 7
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
March 16, 2016 at 8:50 pm #900776Not 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’); ?
1 user says Thank You to jdockum for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 16, 2016 at 8:59 pm #900778How 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
1 user says Thank You to pavit for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 16, 2016 at 10:53 pm #900816Everything seems to work now then ?
Can we close this topic and move it as solved ?
AuthorPostsViewing 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
Jump to forum