Textpattern Plugin, stores JavaScript files within the database and handles them similar to CSS files.
lifedraft/stm_javascript
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! This plugin is outdated please use this alternative instead: https://github.com/spiffin/spf_js Simon, Thank you! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Stores JavaScript files within the database and handles them similar to CSS files. In admin section, go to tab “presentation > javascript” and create one ore more javascript files that you want to embed within your page templates. This is similiar to the “styles” tab – the JavaScript files get stored in the database and you can embed them with a new Textpattern tag: <txp:js /> (embeds default JavaScript file) <txp:js n="myDomScript" /> (embeds JavaScript file named "myDomScript") Output: <script type="text/javascript" src="http://mysite.com/?js=myDomScript"></script>
About
Textpattern Plugin, stores JavaScript files within the database and handles them similar to CSS files.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published