Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Countdown 1.2.0
Nouralis
New
I am trying to add the Countdown capability to a page created with Livid Tech's "Basic Pages" application. However, nothing seems to happen. It does however work flawlessly in a forum discussion :-)
Is there a workaround to enable the function in pages created using the Basic Pages plugin?
Best regards,
N-
0
Comments
Three ways:
If you want A countdown clock on all of your BasicPages - here is a sample.
Second Way
You could also do something like this (if you put [COUNTDOWN] in your text box.
the last lines in the index.php in the basicpages/views/page/index.php
change
<div id="PageBody"><?php echo $FormatBody; ?></div>
to
in classcountdown.plugin.php
but you would need to strip [COUNTDOWN] from $FormatBody after the firevent and before the echo in index.php.
Third Way - the countdown tag will automatically strip out because you use
<COUNTDOWN>
in textbox in apps.
I'm sure there is a better way that is more flexible, if someone want to play around
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Perhaps @ShadowDare or @hgtonight have some better ideas.
@ShadowDare - I just tried your basic pages app - pretty slick and easy to use.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Many thanks peregrine! This really opens up the possibilities for me [and others].
Now, time for a little code play :-)
N-
Actually this may be better - undo the other changes I suggested.
@Nouralis
in
in classcountdown.plugin.php
in your page body
and make sure this is checked
x Disable automatic body formatting and allow raw HTML?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
You the man @peregrine!
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.