Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#589 2008-01-24 09:21:50
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
azw
thanks for posting. Actually, there is no problem with that message — it’s normal for the MLP Pack.
Installing the Pack will cause you to overwrite the default txplib_db.php file with the modified one from the Pack’s zip file. That causes the txp diagnostic page to say the file has changed — because it has — it also explains the differences in the version strings at the start of the files.
— Steve
Offline
#590 2008-01-24 09:39:38
- panik
- Member
- From: Bonn, Germany
- Registered: 2005-08-13
- Posts: 13
Re: MLP - The Multi-Lingual Publishing Pack
I found a small bug.
When I change the name of a category I have to resave all articles with this category so that the changes occur in category listings on the frontend.
Jonas
Offline
#591 2008-01-24 10:35:48
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Jonas
thank you! Are you sure this isn’t a browser caching issue?
— Steve
Offline
#592 2008-01-24 11:15:15
- panik
- Member
- From: Bonn, Germany
- Registered: 2005-08-13
- Posts: 13
Re: MLP - The Multi-Lingual Publishing Pack
net-carver
The page ist in testing environment an I cleared the browser cache between site refreshs, so it shouldn’t be a cachin problem.
I changed the category name from old to new. Visiting an category page with ?c=old then shows all articles but without any category information like <txp:category1 />. Visiting a page with ?c=new doesn’t show any articles but category information.
I tried it on a page without MLP and didn’t have any problems.
Offline
#593 2008-01-24 20:59:48
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
That’s good news. Thanks, Steve!
Offline
#594 2008-01-25 05:16:26
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
Since MLP isn’t reliable in a subdirectory (a folder below the web root?), what would be an easy way to create a test installation? Would it work in the root of a subdomain? (Of course, for many of us, that’s may really be a subdirectory.)
Last edited by azw (2008-01-25 05:20:07)
Offline
#595 2008-01-25 17:30:14
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
azw
yes, root of a subdomain is fine.
— Steve
Offline
#596 2008-01-26 08:50:46
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
Thanks, Steve. I’ll give that a try.
Offline
#597 2008-01-26 19:16:52
- jano
- Member
- Registered: 2008-01-09
- Posts: 23
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
I’ll have to modify the next release of MLP so you can tell the MLP Pack not to mess with certain user defined directories on your installation.
Steve, thanks for taking it into consideration.
That solution would be a lot more simple than writing some mod_rewrite rules.
Offline
#598 2008-01-27 02:59:57
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
Hi, I’d like to add a small usefull feature request:
- Display of article ID numbers inside the MLP article table
- The possibility to clone hidden articles as well
- Some sort of plugin tag, that allows, to call an article or article_custom by ID, and that will then display the according rendition, according to browsed language.
yes , I think that would be useful
regards, marios
Last edited by marios (2008-01-27 03:00:34)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#599 2008-01-27 21:04:43
Re: MLP - The Multi-Lingual Publishing Pack
marios wrote:
Some sort of plugin tag, that allows, to call an article or article_custom by ID, and that will then display the according rendition, according to browsed language.
I was about to ask for something similar. For example, some way to create a link to a rendition by the ID of the row.
Currently, I have something like this (a simple use of conditionals to output a link to the corresponding rendition):
<txp:l10n_if_lang lang="en" wraptag=""><a href="/en/about/terms-and-conditions">##terms_conditions##</a></txp:l10n_if_lang>
<txp:l10n_if_lang lang="es" wraptag=""><a href="/es/about/terminos-y-condiciones">##terms_conditions##</a></txp:l10n_if_lang>
Maybe this could be done with a new tag, like <txp:l10n_permalink rowid="14">##term_conditions##</txp:l10n_permalink>
.
Thanks.
Last edited by maniqui (2008-12-09 12:19:09)
Offline
#600 2008-02-01 11:58:12
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
Oups, I found something that is really tricky, Steve.
Now this has to do with the comments_preview tag. AFAIK the MLP doesn’t seem to care about the default lang URL of http://here.com/en/permlink, so what happens is that the comments_preview tag posts to something like http://here.com/permlink#cpreview.
I am using some .htaccess rules to avoid the http://here.com/permlink location and redirect it to http://here.com/en/permlink. this will lead to a failure of the comments preview and posting.
Here is what it generates:
<form id="txpCommentInputForm" method="post" action="/articles/sun-moon-and-united-earth#cpreview">
Can be viewed here
How to go about that ?
Last edited by marios (2008-02-01 19:37:02)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline