Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: soo_required_files: per-article loading of JavaScript and CSS files
Version 0.2.1 released
Fixed per-page/section loading in sub-directory installations
Code is topiary
Offline
Re: soo_required_files: per-article loading of JavaScript and CSS files
I have installed the soo_plugin_pref. But I have no access to the preferences, because there is no Options link showing up in the plugin list. I have never seen such an Option link there. What I have done wrong? If someone could give me a cue, I would be thankful.
Felix
Offline
Re: soo_required_files: per-article loading of JavaScript and CSS files
Sunfoot wrote:
I have installed the soo_plugin_pref. But I have no access to the preferences, because there is no Options link showing up in the plugin list. I have never seen such an Option link there. What I have done wrong? If someone could give me a cue, I would be thankful.
Sorry I missed this when it appeared. To see a plugin’s Options link the plugin must be activated, and you must be running Txp 4.2.0 or later.
Code is topiary
Offline
Re: soo_required_files: per-article loading of JavaScript and CSS files
Version 0.2.2 now available.
Tag contents can now include other Txp tags, allowing e.g. Txp conditional tags for further automation options.
So you can add files to the soo_required_files loading queue based on category, custom fields, etc.
Last edited by jsoo (2010-07-11 14:55:01)
Code is topiary
Offline
Re: soo_required_files: per-article loading of JavaScript and CSS files
Jeff, can this plugin be used to load one of the styles in the Textpattern Styles tab, or only css files?
Offline
Re: soo_required_files: per-article loading of JavaScript and CSS files
Sorry for not replying sooner; been on the road much lately. Currently no, the plugin just does Txp forms and external files. But I’ll give it some thought.
Code is topiary
Offline
Re: soo_required_files: per-article loading of JavaScript and CSS files
Thanks!
Offline
#23 2013-08-20 17:59:44
- dewyatt
- New Member
- Registered: 2013-08-20
- Posts: 7
Re: soo_required_files: per-article loading of JavaScript and CSS files
I noticed soo_required_files doesn’t work on pages with the Draft status.
It seems to consider them to be Admin pages and throws the error “Tag error: <txp:soo_required_files /> -> Warning: extract() expects parameter 1 to be array, null given while parsing form None on page archive”.
I think it’s a bit counter-intuitive, is there are way to fix this?
Offline