Closed (fixed)
Project:
JS injector
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
7 Jan 2011 at 04:37 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
BenK commentedSubscribing
Comment #2
andrewsuth commentedYes, I am planning a Drupal 7 release before the end of February.
Comment #3
f1mishutka commentedAny news on this?
Comment #4
andrewsuth commentedFirstly, I apologise but I have been busy with projects at the moment and I still need to sort out my GIT access.
The 7.x version of this module has there been postponed until further notice.
Comment #5
marcusx commentedsubscribe
Comment #6
marcusx commentedChanged title for understanding in the dashboard what this is about.
Comment #7
kreynen commentedI just took the D7 branch of @eaton's http://drupal.org/project/css_injector, did a find and replace of css to and js, and it worked for JavaScript! Obviously this isn't an upgrade of this module or a replacement for adding js at the theme layer, but it's helpful for development.
Comment #8
klonosThanx Kevin! I intent to test this soon ...perhaps over this weekend? I'll report back in order to let everyone know how it went.
Comment #9
klonosPS: I am letting people over in Custom CSS and JavaScript files project's issue queue know of your effort in hope that we'll get more people to test this: #1141722: Port Custom CSS and JavaScript files module to drupal 7 (check the issue's summary that I updated).
Comment #10
klonosSimple test:
1. Loaded some .js file through drupal_add_js in my theme's template.php
2. Made sure that the script did some magic.
3. Removed both the .js file from my theme's directory and drupal_add_js from my theme's template.php
4. Checked that magic previously done to the site was no longer happening.
5. Installed & enabled the module from #7 above.
6. Headed to Configuration -> Development -> JS injector (../admin/config/development/js-injector) and created a "js rule".
7. Checked my server's ../sites/default/files/ and verified that the "js_injector" directory exists.
8. Verified that within the "js_injector" directory there is a "js_injector_1.js" file created.
9. Opened the "js_injector_1.js" file and verified that its contents match what I created.
10. Refreshed browser to see if the js still worked as before (when I added the drupal_add_js in my theme's template.php)...
...what do you know!!! It wooorks!!! Yay ;)
Comment #11
clashar commented+1
Comment #12
ponsich commentedThank you.
I create a new branch with your version.
I publish it like a dev revision and i add you as maintener for the project, so free to you to make the release for the stable one.
Comment #13
klonosThanx Nicolas! Finally ;)
btw ...the dev is built but not shown in the project's page though. One has to click the "View all releases" link to find it.
Comment #14
ponsich commentedEdit 2:
Done.
Comment #15
klonosThanx.