Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1081 2013-08-11 18:48:35
Re: glz_custom_fields
Thanks a lot, Gerhard.
Offline
#1082 2013-08-20 10:00:14
- wauterboi
- Member
- Registered: 2013-08-19
- Posts: 11
Re: glz_custom_fields
I’m totally missing something here… I’m not sure where I’m supposed to extract the files off of GitHub. I’m downloading the .zip, and I… uh…
Do I just extract all of the files to my root? Or do I just take the folder in the “Releases” folder and put it into root/plugins on my website? Or… I have no idea but neither of these methods are making it show up as a plugin on my website. I’m aware of install.md, but that method isn’t causing this plugin to pop up in Textpattern.
Last edited by wauterboi (2013-08-20 10:01:30)
Offline
#1083 2013-08-20 10:14:40
Re: glz_custom_fields
wauterboi schrieb:
I’m totally missing something here… I’m not sure where I’m supposed to extract the files off of GitHub. I’m downloading the .zip, and I… uh…
Do I just extract all of the files to my root? Or do I just take the folder in the “Releases” folder and put it into root/plugins on my website? Or… I have no idea but neither of these methods are making it show up as a plugin on my website. I’m aware of install.md, but that method isn’t causing this plugin to pop up in Textpattern.
hiii
simply follow this instructions. its not the very newest txp they use to show how it works, but it still works almost the same.
open the file glz_custom_fields-1.4.0-beta1.txt and copy its content to the admin>plugins textarea
remember: plugins are all switched off, when you are in the admin>plugins tab. when you switch to another tab, you will see a new tab showing up (extensions), where most of the plugins settings appear.
Offline
#1084 2013-08-20 10:20:37
- wauterboi
- Member
- Registered: 2013-08-19
- Posts: 11
Re: glz_custom_fields
Oh, woah! That’s what I got mixed up with – the file that contained the plugin code for the site wasn’t saved in a .txt – it actually didn’t even have a file extension. Still, I feel dumb! Thanks a ton dude!
Offline
#1085 2013-08-20 10:23:09
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: glz_custom_fields
wauterboi, thanks for pointing out that issue, which tells me this topic’s first post link is broken. I often find Github repositories far from ideal for being accessed by the public, too much weed, too many changes …
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#1086 2013-08-20 22:59:08
Offline
#1087 2013-08-20 23:20:36
Re: glz_custom_fields
Looks like an interesting plugin. Can custom_fields be restricted to specific articles?
…. texted postive
Offline
#1088 2013-08-21 10:58:08
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: glz_custom_fields
bici wrote:
Can custom_fields be restricted to specific articles?
You mean admin side? Not per glz_cf, but there’s always a hidden input on the Write panel like this one <input type="hidden" value="24" name="ID" />
.
You could set up a jQuery script that looks for the presence of certain numbers there in order to hide/show custom fields (that have their own IDs, BTW) from these articles you don’t want them to appear in. Could be stored/applied via bot_wtc’s custom script field.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#1089 2013-09-02 18:33:10
Re: glz_custom_fields
Hello gerhard,
Thx for maintain this plugin.
I report a small bug. He brocken compatibility with bot_write_tab_customize :
I use a script for return all articles has a particular Cat1 in a select multiple :
function intervenants($custom_field, $custom_id, $custom_value) {
$titles = array();
$query = safe_rows('id, title', 'textpattern', "Category1 like 'artistes' OR Category1 like 'intervenants'");
$titles[] = ' ';
foreach ($query as $title)
$titles[$title['id']] = $title['title'];
return glz_selectInput($custom_field, $custom_id, $titles, $custom_value, "1", true);
}
In this line I add true
for create multiple select
return glz_selectInput($custom_field, $custom_id, $titles, $custom_value, "1", true);
but this code in output add []
to the select name attribut :
<select size="5" multiple="multiple" class="list" name="custom_2[]" id="custom-2">
and bot_write_tab_customize plugin use the name attribut for select specific custom_field :
if (value=="default"){
$("p:has(*[name='custom_2'])").hide();
}
hopla!
Offline
#1090 2013-09-04 16:27:01
Re: glz_custom_fields
I think the latest version 1.4b addresses this directly no?
Offline
#1091 2013-09-04 17:30:17
Re: glz_custom_fields
I think the latest version 1.4b addresses this directly no?
I use 1.4beta 1 with Txp 4.5.4
What do you mean by “addresses this directly” ?
Last edited by sacripant (2013-09-04 17:30:38)
Offline
#1092 2013-09-04 17:36:42
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: glz_custom_fields
And what is the latest version? The link I had no longer works: github.com/gerhard/glz_custom_fields/tree/txp-45/releases
Last edited by GugUser (2013-09-04 17:37:06)
Offline