Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-07-07 09:03:55
- gesiwuj
- Member
- Registered: 2008-07-01
- Posts: 20
glz_custom_fields & jquery
I’ve recently installed glz_custom_fields (after reluctantly paying £10) but when enabled, any page I visit (whether user-end or back-end) merely shows this message;
Upgrade TXP to at least 4.0.5 or put jquery.js in your /textpattern folder. jQuery website
However, I’m using 4.0.6 which had jquery.js anyway… I even tried using the version from the website but the message still persists. Perhaps it’s because I’m using a local server with a virtual host (like in the Textpattern Solutions book)…
I’ll be grateful of any help. Thankyou in advance :)
PS. TextPattern is a very good piece of kit (well, once you get past the confusing naming of structural elements).
Offline
#2 2008-07-07 10:29:50
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields & jquery
Yes, this is a very annoying problem (already discussed here).
Hope Gerhard will be back soon and fix this.
P.S.
maybe you should post this in the glz_custom thread so he will likely read it
Offline
Re: glz_custom_fields & jquery
You can just deactivate the jquery detection mechanism of the plugin. Look for the line:
if ( !file_exists($GLOBALS['txpcfg']['txpath'].'/jquery.js') ) die(glz_custom_fields_gTxt('jquery_missing'));
…and comment it.
Offline
#4 2008-07-07 11:05:55
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields & jquery
juanjonavarro wrote:
You can just deactivate the jquery detection mechanism of the plugin…
Thanks for the advice. It will come useful
Offline
Re: glz_custom_fields & jquery
gesiwuj wrote:
(after reluctantly paying £10)
I would like to know why.
Plug-in authors are free to get paid for their plug-ins, although they must release them under the GPL license.
Also, if I’m not wrong, an plug-in owner (someone who has paid for the plug-in) also is free to ask for some money for sharing the plug-in (they may be putting a price for making it available online, not for the plug-in itself) but this owner must also release it under the GPL license.
You could have ask any other user of glz_custom_fields if he/she was willing to share it with you.
And also, if you have paid for something that isn’t working for you, probably you can ask for support to the one who sold it to you, particularly if you buy it directly from the plugin’s author.
Offline
Re: glz_custom_fields & jquery
maniqui wrote:
Plug-in authors are free to get paid for their plug-ins, although they must release them under the GPL license.
Supply and demand. Make something really useful and people are happy to pay. Personally I don’t have a problem with it, which is why I sponsored the development of an image selector recently. We had needed one for literally years, and the community-driven way wasn’t producing one. I offered money, others joined in, and literally, within a few days we had a great solution. Kudos JMD.
Kudos to netcarver too, with whom I’ve had a similar experience creating sed_anon_upload.
I don’t mind paying $20 to gerhard for a plugin that together with sed_section_fields essentially provides custom content types… something I’ve been furiously throwing pom poms in the air for, for literally years without result.
I guess sometimes a little cash gets people over the tipping point. Not that I’d want this to become the rule, mind you.
[edit] A new record for usage of ‘literally’ (x3) in a post… I’m literally exhausted.
Last edited by mrdale (2008-07-07 15:48:05)
Offline
#7 2008-07-07 16:14:45
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: glz_custom_fields & jquery
mrdale wrote:
I don’t mind paying $20 to gerhard for a plugin that together with sed_section_fields essentially provides custom content types […].
Would you mind explaining a bit more how you use this combination and what you mean by “custom content types”? It sounds interesting and perhaps I’m missing something here.
I have glz_custom_fields and can see how you can use sed_section_fields to load different sets of custom fileds in the write screen based on the section, but is there something more to it?
Offline
Re: glz_custom_fields & jquery
masa wrote:
Would you mind explaining a bit more how you use this combination and what you mean by “custom content types”?
I’m using “custom content types” pretty loosely here… Most of the time you want to have a different set of fields for different areas of you site. For 90% of the work I do, having unlimited fields with a vaiety of datasets and selects, that can be grouped in a section-specific way is all I need.
<!— Theoretical ideal and basis for the original xPattern idea follows: leaving reality —>
The next step beyond this of course is an ability to have a content-agnostic “article” tag that can pipe lists through forms. So “image”, “person” and “building” would work exactly like “article”. Furthermore “true” custom content types could have “associated” or “nested”;
- association: “group” might have a field where you could multi-select existing “persons”.
- nesting: “doctor” might include the “person” subset of fields, but also include “research” and “education” fields.
Offline
#9 2008-07-08 09:03:33
- gesiwuj
- Member
- Registered: 2008-07-01
- Posts: 20
Re: glz_custom_fields & jquery
Thankyou very much for the replies! You’re certainly more helpful than the Wordpress community (my previous “CMS” of choice)!
@redbot – Sorry, I didn’t know there was a thread specifically for glz_custom_fields… I’m new to the Textpattern community and this forum!
@juanjonavarro – Thankyou, that seems to be working at the moment. Are there any functionalities of glz_custom_fields that would require jQuery and not function (properly)?
@the rest – I didn’t particularly mind paying £10 but it did throw me a little at first (especially since my website is not-for-profit) but the plugin seems great. It was just a small tongue-in-cheek comment :)
Offline
Re: glz_custom_fields & jquery
gesiwuj, glz_custom_fields requires jQuery. This workaround just deactivate the jquery detection mechanism (because it is not working on your host). But the plugin still uses jquery, which is actually installed with textpattern.
Offline
#11 2008-07-08 09:13:02
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields & jquery
gesiwuj wrote:
Are there any functionalities of glz_custom_fields that would require jQuery and not function (properly)?
The plugin relies interely on jquery but juanjonavarro’s suggestion only deals with the jquery detection mechanism.
So the imporatant thing is that you have jquery in his place given that it’s only the detection mechanism that’s causing problems
edit: Oops! Juanjo was faster than me
Last edited by redbot (2008-07-08 09:15:12)
Offline
Re: glz_custom_fields & jquery
something I’ve been furiously throwing pom poms in the air for, for literally years
love that description ! I am so with you there!
Last edited by jakob (2008-07-08 09:42:16)
TXP Builders – finely-crafted code, design and txp
Offline