Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#793 2011-02-13 18:54:55

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: glz_custom_fields

Haha :), but bru I am in serious problem, I cant even import the .sql to a new database. I figured Txp only supports up to 12 custom fields


<txp:way_too_cool />

Offline

#794 2011-02-13 19:13:30

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: glz_custom_fields

Are you running the save version of MySQL on both servers? I had a similar problem once: the publish server was using an older MySQL version than my dev server. Once I exported the SQL to a file compatible with the older version, the import worked fine. I used the Export pane in phpMyAdmin to change the SQL compatibility settings.

Offline

#795 2011-02-14 08:27:16

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: glz_custom_fields

Hmm, I think you may be right because I also had errors for the ebl_image plugin. I should have a look into it. But my question is, is there a limit for the custom fields?


<txp:way_too_cool />

Offline

#796 2011-02-15 01:10:16

radneck
Plugin Author
Registered: 2005-07-03
Posts: 109

Re: glz_custom_fields

Dimitri wrote:

But my question is, is there a limit for the custom fields?

Not one that you’re likely to run into.
I’ve had 50+ custom fields before with no problems.

If you had over a few thousand things might start to slow down, but that would just be because of page rendering time, rather than DB issues etc.

Offline

#797 2011-02-15 09:48:47

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: glz_custom_fields

Hello,

I have a problem with textareas. I can can create them all right but in the “Write” tab they don’t appear at all. If I edit this very same field into a textfield, then it appears correctly. Is anybody else experiencing the same issue?

I’m using TXP 4.3.0 and plug-in ver. 1.2.4.

Offline

#798 2011-02-15 09:59:57

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: glz_custom_fields

cain-mi wrote:

If you had over a few thousand things might start to slow down, but that would just be because of page rendering time, rather than DB issues etc.

It was a DB issue :), Johnstephens was correct

I used the Export pane in phpMyAdmin to change the SQL compatibility settings.


<txp:way_too_cool />

Offline

#799 2011-02-15 10:04:02

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: glz_custom_fields

Neko wrote:

Hello,
I have a problem with textareas. I can can create them all right but in the “Write” tab they don’t appear at all. If I edit this very same field into a textfield, then it appears correctly. Is anybody else experiencing the same issue?
I’m using TXP 4.3.0 and plug-in ver. 1.2.4.

Strange problem, I never had this issue, I made 20 textareas the other day. Textareas doesnt go onto the sidebar, did you look below Body/Excerpt field,?

Unnecessary question (just checking) – are you using bot_wtc?


<txp:way_too_cool />

Offline

#800 2011-02-15 10:08:22

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: glz_custom_fields

johnstephens wrote:

Custom fields for other content types would be pretty sweet.

What other content types would you want custom fields for? The script content type is super flexible, that would be the starting point for creating shared custom field types.

I read your comments regarding custom fields for images, it makes sense, I’m putting it down as a user story.

Last edited by gerhard (2011-02-15 10:13:19)

Offline

#801 2011-02-15 10:12:44

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: glz_custom_fields

Dimitri wrote:

Textareas doesnt go onto the sidebar, did you look below Body/Excerpt field,?

D’oh, I didn’t know that. I had excerpts turned off and I guess this is why the CF didn’t appear (perhaps this could serve as a minor bug report, tho).

Thank you. :)

Offline

#802 2011-02-15 10:14:15

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: glz_custom_fields

Neko wrote:

Hello,

I have a problem with textareas. I can can create them all right but in the “Write” tab they don’t appear at all. If I edit this very same field into a textfield, then it appears correctly. Is anybody else experiencing the same issue?

I’m using TXP 4.3.0 and plug-in ver. 1.2.4.

If you can’t see your textarea custom fields under the body & excerpt, I would check what other plugins you have running.

Offline

#803 2011-02-15 10:16:51

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: glz_custom_fields

I am in the same boat as Johnstephens.

Custom fields for other content types would be pretty sweet.

It would be great if you can apply new custom fields for the category/images area, like adding textarea for description. Custom fields shouldnt only be made just for articles

Currently the article is the only content type that allows custom fields, but I think Textpattern’s core currently allows the other content types to be extended— by plugins.

GREAT

I read your comments regarding custom fields for images, it makes sense, I’m putting it down as a user story.

Last edited by Dimitri (2011-02-15 10:18:26)


<txp:way_too_cool />

Offline

#804 2011-02-15 11:09:49

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: glz_custom_fields

About custom field for images, just want to point out that bot_image_upload exists and works fine with custom fields. You can have multiple images inside the article image field and even sort them manually, by dragging the thumbnails. Not that I want to slow down anything about multiple image fields, but maybe that could be a good interim solution or a starting point when working on an improvement.

Also, I add my request: the ability to easily add videos as custom fields. Some clients needs to add videos to articles, and that’s not as easy as including an image (especially if you use TinyMCE). Images could be added via custom fields or TinyMCE image extension, that works fine. Video is not so straightforward. A custom field with multiple options, ranging from pasting a code from external services as yotube or Vimeo, to uploading a video and calling it in the field could be useful. Maybe that is beyond the custom_field purpose, because it then need to have an admin section in the backend for uploaded videos. Just wanted to raise a call and see if anyone else find that useful too or have any further ideas.

Apart from that, I really wanted to thank Gerhard once again for his precious work, that help set TXP as a better enviroment for client sites!

Offline

Board footer

Powered by FluxBB