Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#721 2010-09-17 04:37:50
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: glz_custom_fields
wet wrote:
NB: The whole admin side relies on JS.
What do you mean by whole admin side? Of this plugin? Or the whole Textpattern admin side?
Offline
#722 2010-09-17 04:41:21
Re: glz_custom_fields
The latter.
Offline
#723 2010-09-17 04:55:53
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: glz_custom_fields
wet wrote:
The latter.
Really? Wow. I noticed a lot of plugins relied on JavaScript, but I thought that the core backend worked pretty well without it.
Offline
#724 2010-09-17 10:36:17
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields
johnstephens wrote:
There is also a very useful plugin that can be used alongside glz_cf for the same effect, and no hacks. I love it!
Thanks!
cain-mi wrote:
I just couldn’t get it to work though, I assumed it hadn’t been updated to work with the latest glz_cf.
Try to change le plugin load order (after glz_custom) . It works for me.
Also, I think it relies on JS (?).
Yes, it relies on js (jquery) but – as wet says – the whole admin side relies on JS
Offline
#725 2010-09-17 14:02:04
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: glz_custom_fields
hello again,
is it anyhow possible to have different custom fields pointing to the same script?
what happens now, of course, is that php runs into an error of redaclaration of the function contained in the script.
Fatal error: Cannot redeclare videofolders_article() (previously declared in /www/htdocs/denhaag/cpm/scripts/glz_custom_fields/videoFolders_article.php:80) in /www/htdocs/denhaag/cpm/scripts/glz_custom_fields/videoFolders_article.php on line 112
?
what was that again…?
Offline
#726 2010-09-19 04:44:02
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: glz_custom_fields
redbot wrote:
Try to change le plugin load order (after glz_custom) . It works for me.
Got it working, though I don’t think the load order had to do with it, just my ignorance ;)
I had a quick look through the JS it outputs on the Write page, and noted it looked for a label with a particular value in the for
attribute. glz_custom_fields uses for="custom-1"
rather than for="whatYouNamedYourCustomField"
which is where I was stuck.
Thanks all for your tips.
Offline
#727 2010-09-19 04:55:04
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: glz_custom_fields
feragnoli wrote:
hello again,
is it anyhow possible to have different custom fields pointing to the same script?
what happens now, of course, is that php runs into an error of redaclaration of the function contained in the script.
Edit the plugin and look for the following:
include($script);
Change it to:
include_once($script);
If you don’t want to edit the plugin code, have a look at function_exists and apply a healthy does to your videoFolders_article.php
Offline
#728 2010-09-20 00:16:32
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: glz_custom_fields
hello cain-mi,
thank you very much, I’ll give it a shot.
what was that again…?
Offline
#729 2010-09-20 08:50:07
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: glz_custom_fields
feragnoli wrote:
videoFolders_article.php
Hi Feragnoli,
videoFolders…..sounds interesting! I’m looking for a way to easily attach video files to articles. Any chance you’re GLZ plugin will be released to the public?
Offline
#730 2010-10-01 14:56:18
- eric2007
- Member
- Registered: 2006-05-25
- Posts: 18
Re: glz_custom_fields
Are there any issues with glz_custom_fields in the 4.3.0 RC that just came out?
Offline
#731 2010-11-09 02:07:13
- radneck
- Plugin Author
- Registered: 2005-07-03
- Posts: 109
Re: glz_custom_fields
eric2007 wrote:
Are there any issues with glz_custom_fields in the 4.3.0 RC that just came out?
I’ve been using the 4.3.0 RC and everything seems fine.
Offline
#732 2010-11-09 12:44:27
Re: glz_custom_fields
@ eric2007 Apologies, I’m sure you know this, but just in case you missed it (as I did), 4.3.0 is fully released now :)
At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A
Offline