Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#361 2009-06-06 08:32:53
Re: glz_custom_fields
mrdale wrote:
I get an error where the CF should be if I delete a previously created custom field.
OK, so let me understand this. Let’s say that you have custom_1_set, custom_10_set, custom_11_set and custom_12_set defined. If you delete custom_11_set, will you get an error when creating/editing articles?
Offline
#362 2009-06-06 08:41:39
Re: glz_custom_fields
ok thanks for the clarification, i appreciate that. When this is implemented and your plugin uses a standard txp install then i’ll be knocking on your door again.
I think, therefore I AM, … … er … I think :-?
Offline
#363 2009-06-06 08:48:12
Offline
#364 2009-06-06 17:16:08
Re: glz_custom_fields
gerhard wrote:
OK, so let me understand this. Let’s say that you have custom_1_set, custom_10_set, custom_11_set and custom_12_set defined. If you delete custom_11_set, will you get an error when creating/editing articles?
Yep. In your scenario the write tab would display the error with custom_11… Like I said I searched the DB for references to the offending custom fields and found naught. So I don’t know which party is naughty. ;)
Last edited by mrdale (2009-06-06 17:30:55)
Offline
#365 2009-06-06 20:50:44
Offline
#366 2009-06-24 17:45:37
Re: glz_custom_fields
The search doesn’t work for me – I am using the latest SVN build on a live test site, so I have not used Gerhard’s modified 4.08.
This is what I have in the form:
<div class="box">
<h3>Search by State:</h3>
<txp:glz_custom_fields_search_form results_page="my-page" searchby="State:select, section" section="my-section" />
</div>
It displays the correct states, but when choosing one and clicking submit, nothing happens, the page just reloads without any results. Note that the results_page is the same page where the search form.
Edit: Using 1.2 glz_
Last edited by jstubbs (2009-06-24 17:46:18)
Offline
#367 2009-06-24 20:27:43
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: glz_custom_fields
In my case the result page should be a page the displays something.
for example, you have a section with all your articles in it, if you search is going to search those articles, make that the target page.
If you have more sections like in my case, “Restaurants” “Stores” etc…
I made a search for all of them that targets a page that displays them all.
but for a search only in Restaurants, the search targets a section that only displays restaurants.
Let me know if it works
Offline
#368 2009-06-25 06:15:42
Re: glz_custom_fields
Mmm. I have this now using 1.13 glz_ (my current install) and it works fine:
<div class="box">
<h3>Search by State:</h3>
<txp:glz_custom_fields_search_form results_page="my-page" searchby="State" />
</div>
The results display on the same page….
Offline
#369 2009-07-10 19:25:26
- zooeyripka
- Member
- Registered: 2007-07-15
- Posts: 12
Re: glz_custom_fields
Can anyone tell me why I’m getting this? :Warning: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs ALTER TABLE `textpattern` ADD `custom_77` varchar(255) NOT NULL DEFAULT ‘’ AFTER `custom_76` in /home/nepabird/www/shorebirds/textpattern/lib/txplib_db.php on line 82
It will add more fields but won’t pull any data from them…
Offline
#370 2009-07-15 15:56:06
Re: glz_custom_fields
Hi Gerhard, since I’ve installed the last version of the plugin with TXP 4.0.8 I’m seeing this message at the bottom of the Write Article page:
Warning: array_map() [function.array-map]: Argument #2 should be an array in /textpattern/lib/txplib_misc.php(570) : eval()’d code on line 576
It also has problems with rss_admin_show_adv_opts plugin. If glz_custom_fields is active it works weird…
Thanks, Martín.
Offline
#371 2009-07-15 16:24:42
Re: glz_custom_fields
Do you know if this plugin works ok with the Multi-Lingual Publishing Pack? It overwrites some files inside textpattern folder and I’m using glz’s TXP 4.0.8…
Offline
#372 2009-07-15 18:58:22
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: glz_custom_fields
thermofunk wrote:
Do you know if this plugin works ok with the Multi-Lingual Publishing Pack? It overwrites some files inside textpattern folder and I’m using glz’s TXP 4.0.8…
Works quite ok for me (using v. 1.1.3 with txp 4.08).
the only two caveats are:
1) the MLP can’t translate custom field names generated by glz_custom (see here)
2) never tried more than 10 cf, but it should work.
Offline