Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#769 2011-02-06 21:27:34
Re: glz_custom_fields
Custom fields for other content types would be pretty sweet.
Offline
#770 2011-02-06 22:40:28
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: glz_custom_fields
Dimitri schrieb:
Future request – custom field for images. So we can have multiple images per article without image category.
Since TxP version 4.3 you can do this with <txp:images auto_detect="article" etc. />
.
Last edited by GugUser (2011-02-06 22:41:14)
Offline
#771 2011-02-07 19:10:02
- Dimitri
- Member
- From: Johannesburg
- Registered: 2010-10-31
- Posts: 129
Re: glz_custom_fields
johnstephens wrote:
Custom fields for other content types would be pretty sweet.
Hey dude, I managed to achieve that with upm_textile. I was so happy that plugin was available
<txp:way_too_cool />
Offline
#772 2011-02-07 19:24:43
Re: glz_custom_fields
I use GugUser’s method for associating multiple images with an article, but that doesn’t replace the need for custom fields in the images tab when you need it. One example where custom image fields would be helpful is when you have a site where the images themselves are the main content and you want to create a standardized information schema for the images without associating every image with its own article.
A friend of mine dealt with this exact issue for a recent site: the images were paintings, and she wanted to add a price to each painting. None of the extant image fields seem appropriate for a price, and creating an article for each image was one step too many for the client to grok. If she could have added a custom field for “price” to the Images tab, her problem would have been solved.
Offline
#773 2011-02-07 19:28:44
- Dimitri
- Member
- From: Johannesburg
- Registered: 2010-10-31
- Posts: 129
Re: glz_custom_fields
Hmm, cant you just add the price in the “caption” field in the images?
<txp:way_too_cool />
Offline
#774 2011-02-07 19:42:56
Re: glz_custom_fields
As with any custom field, you could use another field if that field isn’t being used for it’s intended purpose. If you need all the provided fields and more, that’s where custom fields come in.
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.
And custom fields for the other content types would be pretty sweet. ;)
Offline
#775 2011-02-07 19:44:52
- Dimitri
- Member
- From: Johannesburg
- Registered: 2010-10-31
- Posts: 129
Re: glz_custom_fields
I see your point exactly, I always have to find other alternatives. That what I love about Txp, dig dig in the forum and find your treasure.
Hope Txp5 offer our needs.
<txp:way_too_cool />
Offline
#776 2011-02-07 22:14:36
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: glz_custom_fields
johnstephens wrote:
Custom fields for other content types would be pretty sweet.
Yup, definitely!
Re images I’ve very similar needs as johnstephens for one of my clients, a price field, dimensions, materials used, so image info doesn’t have to be entered on two different tabs.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#777 2011-02-13 17:38:14
- Dimitri
- Member
- From: Johannesburg
- Registered: 2010-10-31
- Posts: 129
Re: glz_custom_fields
Can any1 explain me this, I am trying to export the database to a new server, I had to make 20 textarea custom fields.
Error
SQL query:
— — Dumping data for table `textpattern` — INSERT INTO `textpattern` (`ID`, `Posted`, `Expires`, `AuthorID`, `LastMod`, `LastModID`, `Title`, `Title_html`, `Body`, `Body_html`, `Excerpt`, `Excerpt_html`, `Image`, `Category1`, `Category2`, `Annotate`, `AnnotateInvite`, `comments_count`, `Status`, `textile_body`, `textile_excerpt`, `Section`, `override_form`, `Keywords`, `url_title`, `custom_1`, `custom_2`, `custom_3`, `custom_4`, `custom_5`, `custom_6`, `custom_7`, `custom_8`, `custom_9`, `custom_10`, `uid`, `feed_time`, `custom_11`, `custom_12`, `custom_13`, `custom_14`, `custom_15`, `custom_16`, `custom_17`, `custom_18`, `custom_19`, `custom_20`) VALUES (2, ’2011-02-11 22:36:17’, ’0000-00-00 00:00:00’, ‘web’, ’2011-02-11 22:36:17’, ‘web’, ‘Contact Form’, ‘’, ‘
\r\n
\r\n
Limassol Office
\r\n
\r\n
No. 140C, IRIS HOUSE KANIKA ENAERIOS, 8 J.F. KENNEDY STR. P.O.BOX. 53240, 3301 Limassol, Cyprus
\r\n
Tel: 25 875732
\r\n
Fax: 25 58168[…]
MySQL said:
- - Unknown column ‘custom_13’ in ‘field list’
<txp:way_too_cool />
Offline
#778 2011-02-13 18:53:08
Re: glz_custom_fields
not sure but Limassol is not one of those places I see often here:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#779 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
#780 2011-02-13 19:13:30
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