Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1873 2011-09-06 11:24:57

jrubio
Member
From: New York, NY
Registered: 2009-12-21
Posts: 13
Website

Re: MLP - The Multi-Lingual Publishing Pack

Check out this thread. It might help you:

http://forum.textpattern.com/viewtopic.php?pid=237507#p237507

-J

Offline

#1874 2011-09-06 14:18:47

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Juan, but I do not think this is it. The site seems to be working correctly with the older plugin, it’s just that I would like to have the plugin that belongs with this version of MLP, and it seems that in my case an uncompressed file won’t do.

Offline

#1875 2011-09-16 15:00:00

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi all,
I searched the forum but I can’t find an aswer, so sorry in advance if this was already been asked.
I have this problem: the “show” link near the title field in the write tab doesen’t work properly.

I mean that the link is directed to:
www.mysite.com/my_section/my_article
instead of:
www.mysite.com/en/my_section/my_article (notice the missing “en” part) so each time I want to preview an article it gives me a 404 error.
Is there a workaround?

Offline

#1876 2011-11-08 17:08:56

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi,

I am struggling after a site redesign and update I seem to have lost some functionality.

I have some articles I want displayed as extract on the Homepage, but at the moment they are shown in all 3 languages.

Tried a reinstall and upgraded to 4.3.0.12, Textpattern version: 4.4.1 (r3575)

Any suggestions where I am going wrong?

Right, in the meantime I found out it’s only some articles that have thsi problem, others are fine. In addition to this new articles are no longer shown in the MLP tab. I uninstalled and re-installed but without removing language articles. Any suggestions on how to resolve this issue?

Last edited by Exiladler (2011-11-08 18:12:28)

Offline

#1877 2011-11-08 19:45:42

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Usually when articles are displayed on the site, but can’t be found in the back-end (yes, I’ve seen that before), I check the relevant database tables and try to correct things directly in the database. It’s happening now and then on a site I made for a friend, and we still haven’t found out what causes it (it can happen when you delete an article from the renditions tab instead of from the MLP tab). Most of the time I can find the offending articles in the database in the wrong language table, or in the right table but with the wrong language assigned to it. You can use phpMyAdmin to browse the tables, each article should be in two tables:
  • the textpattern table, and
  • the l10_txp_(language_code) table (so an English article is in l10n_txp_en_gb)

and in both tables the column l10n_lang should have the same (in this example en-gb) value. The column l10n_group should also be the same for an article and its renditions.
In the l10n_articles table the articles are linked to their renditions; it looks like this:

ID	names		members
1 	Article title 	a:4:{s:5:"en-gb";i:1;s:5:"es-es";i:2;s:5:"nl-nl";i:3;s:5:"sp-rs";i:4;}

ID is the value that l10n_group in the other tables should have. You can check that table too. I know it’s not a fun job to do this manually (haven’t found an automated way to do it, I usually need to write things down while checking the tables), but you can sort the language table by l10n_lang, and thus see quickly if there are any incorrect languages there. Or look for the article titles that are incorrectly displayed on the site.

Last edited by els (2011-11-08 19:46:18)

Offline

#1878 2011-11-08 23:08:38

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els, as predicted, no l10n_lang in textpattern for these new articles. How do I fix this? I know in the short term i just add it in MySQL, but longterm?

Offline

#1879 2011-11-08 23:20:16

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Did you replace Txp’s txplib_db.php with the one in the MLP install?

Offline

#1880 2011-11-10 12:57:54

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els, you are right, now the new articles work fine, so I just copied the ‘offending’ ones into newly created ones and the site is fine.

THANKS

Offline

#1881 2011-11-25 08:29:58

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi,
when I submit a form with some errors Textpattern displays me the list of errors. But if I submit again the same form looks like this:

<form id="txpCommentInputForm" method="post" action="/favicon.ico#cpreview">
</form>

Why Textpattern search for favicon.ico?

Offline

#1882 2011-11-25 08:35:48

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Hi Eduardo, I’ve been thinking about this since you posted it elsewhere on the forum, because I vaguely remembered it being mentioned before. Now I found it, and it turns out it was actually me who had the problem ;)
Try moving the favicon.ico out of the root directory (for instance to /images/). See my post here and the next one :)

Offline

#1883 2011-11-25 09:48:30

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: MLP - The Multi-Lingual Publishing Pack

Not works. I’ve got the same problem with native forms, not only ZCR form.

Offline

#1884 2011-11-25 18:44:07

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Do you have a link to the site? I promise I won’t really send a message, I just like to see what happens.

Offline

Board footer

Powered by FluxBB