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
#733 2010-11-10 17:44:33
Re: glz_custom_fields
Hi Gerhard/folks,
I am not sure where to post this, here or in an official 4.3.0 feedback page1, but I’ll start here.
I am finding that a custom field of type ‘checkbox’, with multiple checkboxes, has presentational ‘lumps’ where it didn’t in 4.2.0.
It appears that it is not theme related.
It appears subtly different in Ffox Vs. Safari, but broken looking in both.
The problem is whitespace and/or alignment between checkboxes and their labels, instead of stacking up nicely, a label is spaced away from it’s checkbox, so the overall list takes up more space and the relationship between label and checkbox is less clear.
If there’s anything I can do to help solve this (I have a hammer and some nails, just no TXP-backend skills ;) — seriously, if a patch needs testing (of either part of glz_custom_fields or TXP 4.3.0), I would be happy to try it and report back.
Thanks again one and all for the superb developments happening in TXP-land.
Cheers, -Alan
1 I’m guessing there is such a page/process, I’m just too much of a thicky to have fond it yet.
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
#734 2010-11-15 19:01:50
- vurt
- Member
- Registered: 2010-10-22
- Posts: 50
Re: glz_custom_fields
alanfluff wrote:
The problem is whitespace and/or alignment between checkboxes and their labels, instead of stacking up nicely, a label is spaced away from it’s checkbox, so the overall list takes up more space and the relationship between label and checkbox is less clear.
In http://path-to-txp/theme/your-theme/textpattern.css
I added this at bottom:
td#article-col-1 #advanced .glz_custom_checkbox_field span input{width:auto;}
Admittedly a quick fix, should probably be in its own theme or it will be overwritten in updates.
Offline
#735 2010-11-15 19:10:45
Re: glz_custom_fields
vurt,
You’re a STAR :D
Thank you! For me, I think as I had used bot_wtc to re-arrange the write page, I had to loose the #advanced, but that aside, it worked a treat!
And as I use my own theme — it’s a permanent fix too! Brilliant (I do feel a bit CSS-embarrassed though for not thinking of trying something like that — I think I was just bamboozled by all the newness and loveliness of 4.3.0.
Cheers!, -Alan
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