Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#745 2008-06-07 17:25:28

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Julián

Hello! Thank you for posting.

I’m not being shy — just busy. As you know I’m updating a few other plugins at the moment but am working on a site that uses the MLP Pack so I expect it will see some work soon.

Regards,


Steve

Offline

#746 2008-06-11 16:17:50

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: MLP - The Multi-Lingual Publishing Pack

Hi Steve,

I’m using Gerhards custom field plugin, and have added 6 extra fields, along with MLP and I’m getting this error at the bottom of the write page when I save an article. Any ideas what the problem might be?

Warning: Column count doesn’t match value count at row 1 REPLACE INTO l10n_txp_fr_fr SELECT * FROM textpattern WHERE textpattern.ID=‘7’ LIMIT 1 in /users/home/sites/domains/auvergnepropertyshop.com/web/public/textpattern/lib/txplib_db.php on line 117

Thanks very much
Lee

Offline

#747 2008-06-11 16:48:04

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Lee

sounds like there is a mismatch between the number of columns in textpattern and l10n_txp_fr_fr. If you have access to phpMyAdmin, can you take a look at the table definitions. I don’t know how Gerhards plugin handles extra fields above the limit but it may be that something’s not been copied over to the l10n_txp_fr_fr table properly.

Can you manually check that the fieldnames in the two tables match. Feel free to email me a summary of the fields from both tables and I’ll look into the problem.

Many thanks,


Steve

Offline

#748 2008-06-11 18:15:41

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: MLP - The Multi-Lingual Publishing Pack

Hi Steve, you’re right, the textpattern table has custom_1 to custom_16 and the l10n_txp_fr_fr and l10n_txp_en_gb have custom_1 to custom_10. I’m in a pickle now, what to do?

Many thanks

-Lee

Offline

#749 2008-06-15 14:39:27

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

I’ve worked out a fix for Lee’s problem above by observing what glz_cf is doing to the textpattern table structure and for regenerating the per-language txp tables whenever it changes.

This will be in the next MLP release.


Steve

Offline

#750 2008-06-15 14:59:53

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Steve,
that’s great.
To tell the truth I never used the MLP pack till now but I think I’m gonna need it soon and – making an extensive use of glz_custom (obviously toghether the mighy sed_section_fields) – I was a little hesitant.
So, for the millionth time , thank you

Offline

#751 2008-06-15 16:19:08

azw
Member
Registered: 2007-01-29
Posts: 279

Re: MLP - The Multi-Lingual Publishing Pack

That’s great! Thanks, again, Steve.

Offline

#752 2008-06-15 19:08:48

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: MLP - The Multi-Lingual Publishing Pack

Feature request: Any chance the l10n_lang_list tag could have an option to be output as a select box?

Thanks
Lee

Offline

#753 2008-06-15 19:17:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,449
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

lee wrote:

Any chance the l10n_lang_list tag could have an option to be output as a select box?

I have done this on an old version of the pack (circa TXP 4.0.4/4.0.5) and it’s not tricky — just required break and wraptag adding and a bit of conditional logic — but I couldn’t keep up with Steve’s feverish release schedule back then, so it kinda got left behind :-)

I could dig the code out if anybody wants it (Steve?) but whether it’s much good as a diff now that the pack has changed so much is questionable.

Last edited by Bloke (2008-06-15 19:17:27)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#754 2008-06-16 01:36:44

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Lee/Stef

Yeah, it’s about time that was an option for the tag. Will look into it.

I’ll give you a shout if I need the code Stef (IIRC, I think it’s in my email folder somewhere.)


Steve

Offline

#755 2008-06-16 06:16:05

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Steve.

Offline

#756 2008-06-16 08:17:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,449
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

I’ll give you a shout if I need the code Stef (IIRC, I think it’s in my email folder somewhere.)

Should be, yeah but I think there was an accessibility issue with the way I did that version insofar as it auto-changed on select. There should probably be an optional “go” button (or equivalent) for people that wish to make accessible sites in browsers like IE that don’t allow keyboard users to traverse a list without first “opening” it with some key combo like alt-down-arrow.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB