Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi
i working with jquery in my website websites powered by the drupal.
I added js in my theme template.php
like this code
drupal_add_js('sites/all/libraries/jquery.ui/js/jquery-ui-1.7.3.custom.min.js');
drupal_add_js('sites/all/libraries/jquery.ui/ui/ui.core.js');
drupal_add_css('sites/all/libraries/jquery.ui/themes/base/ui.all.css');
is there a way with php to prevent( block) javascript / jquery from loading on specific pages?
for Example paths are blog for the blog page and blog/* for every personal blog.
please guide me
thanks
Comments
Comment #0.0
m2jalali CreditAttribution: m2jalali commentedjquery load page
Comment #1
nod_Version for Drupal 6 is not supported anymore, closing.