How to specify to load javascript on the index page only?
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
-
- New member
- Posts: 9
- Joined: 15 Jul 2010, 09:07
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to specify to load javascript on the index page only
and also how can I make it so that jquery_core_mini.js would be sent compressed to reduce the load time?
-
- New member
- Posts: 9
- Joined: 15 Jul 2010, 09:07
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to specify to load javascript on the index page only
Thank you very much, this work excellently. Now that my homepage would load faster I appreciate your quick reply.
-
- New member
- Posts: 9
- Joined: 15 Jul 2010, 09:07
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to specify to load javascript on the index page only
Hi, I realize that I would need to have the java script loaded on index page and in the archive mod as well. I think I need to code it as an OR how should I do it to include the archive mode?
Thank you.
Thank you.
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 46 guests