ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
I'm wondering if anyone has a solution to this little query I have.
I'd like to either load a specific module "last" (after the rest of the page has loaded) or be able to add a "delay" to it so that the rest of the page elements load first and this one specific module loads last or after a certain amount of time.
I don't have a complete solution but here are a few ideas I was thinking about.
php has a sleep function that can be called or it can call something else (a module perhaps). <?php sleep(NumberOfSecondsHere); ?>
The display or visibility attribute could be set to none or hidden then revealed by a javascript event handler.
There are several ways to delay and redirect that come to mind. Meta tag and javascript can do this for example, but redirecting probably won't help.
B
e courteous to staff and members that volunteer their time helping you E
ssential Tool - FireBug N
ever assume I know what version you're talking about
S
earch the forum for a solution first I
nclude a link to the problem M
ark your resolved issues as [SOLVED] O
nly PM moderators if they request it first N
o...
Anyway, check apache logs to see what the error was. I'm assuming you are talking about "500 Internal Server Error".
Did it output anything else besides the errors?
How long did you set it for? There is a max_execution_time directive in php.ini.
B
e courteous to staff and members that volunteer their time helping you E
ssential Tool - FireBug N
ever assume I know what version you're talking about
S
earch the forum for a solution first I
nclude a link to the problem M
ark your resolved issues as [SOLVED] O
nly PM moderators if they request it first N
o...