Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1597 2010-11-05 20:38:50
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
lythande wrote:
Ive using a table-prefix “txp1” without spaces to table-names.
Ah, I see. Though txp seems to detect if you’re using a prefix, even if you didn’t add it in the code, it might be wise to change the code, just in case ;)
So in all places where you have table='l10n_txp_etcetera'
change it to table='txp1l10n_txp_etcetera'
.
(Edit: no, not true. See post below!)
Last edited by els (2010-11-06 15:42:24)
Offline
#1598 2010-11-06 08:50:30
Re: MLP - The Multi-Lingual Publishing Pack
Els schrieb:
So in all places where you have
table='l10n_txp_etcetera'
change it totable='txp1l10n_txp_etcetera'
.
Sorry Els, thats not correct. Ive do it, but it’s make an error, because textpattern-installation add the prefix himself. You dont need add the prefix to table='l10n_txp_etcetera'
. :-)
Offline
#1599 2010-11-06 10:45:10
Re: MLP - The Multi-Lingual Publishing Pack
Now Ive the next problems. I using own rss-feed with this schema Customising rss feed
So now I think, here I should using the same code how there with specially code for excerpts and body?
Offline
#1600 2010-11-06 15:40:21
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
lythande wrote:
Sorry Els, thats not correct. Ive do it, but it’s make an error, because textpattern-installation add the prefix himself. You dont need add the prefix to
table='l10n_txp_etcetera'
. :-)
Ah, I didn’t realize that, sorry for the misleading information. I remember I intended to change this on the site where I was using this code (I even thought – incorrectly – I actually changed it), but now I’m glad that I completely forgot all about it ;)
Offline
#1601 2010-11-06 15:43:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
lythande wrote:
Now Ive the next problems. I using own rss-feed with this schema Customising rss feed
So now I think, here I should using the same code how there with specially code for excerpts and body?
I suppose you can try that. I have never used rss feeds with MLP, so I don’t think I can help you here.
Last edited by els (2010-11-06 15:43:59)
Offline
#1602 2010-11-08 14:38:42
Re: MLP - The Multi-Lingual Publishing Pack
Hmm.
This works, if i select either language it will refresh to the appropriate rendition.
bc. <txp:article_custom form=“blog_entry” section=“Animals” />
But there are multiple articles place a landing article in my sections and this doesn’t work:
<txp:if_individual_article>
<txp:article_custom form="blog_entry" section="Animals" />
<txp:else /> <txp:article_custom form="blog_entry" section="Animals" id="12" />
</txp:if_individual_article>
Can’t figure it out.
-best
Kevin
its a bad hen that wont scratch itself.
photogallery
Offline
#1603 2010-11-08 15:28:50
Re: MLP - The Multi-Lingual Publishing Pack
kvnmcwebn schrieb:
But there are multiple articles place a landing article in my sections and this doesn’t work:
you can do this, if you say:
if language one, then show this article-number,
if language two, then show other article-number
use: <l10n_if_language lang="de">
Offline
#1604 2010-11-08 15:31:28
Re: MLP - The Multi-Lingual Publishing Pack
Els schrieb:
I suppose you can try that. I have never used rss feeds with MLP, so I don’t think I can help you here.
I try it, not ready, but its look good :-)
Offline
#1605 2010-11-08 15:51:10
Re: MLP - The Multi-Lingual Publishing Pack
thank you very much.
its a bad hen that wont scratch itself.
photogallery
Offline
#1606 2010-11-09 01:34:35
- brunodario
- Member
- From: Belo Horizonte, Brasil
- Registered: 2007-09-19
- Posts: 75
Re: MLP - The Multi-Lingual Publishing Pack
I was having a “Warning: Column count doesn’t match value count at row…” problem after upgrading to TXP 4.2 and latest MLP 0.9.13-gp following this page instructions: http://txpforge.org/wiki/mlp/MLPUpgrade
The problem was solved by doing the wizard cleanup as mentioned by Els ( http://forum.textpattern.com/viewtopic.php?pid=217864#p217864 ).
I´m posting this just for the records, in case someone else has the same error they can come to this page from SE.
Offline
#1607 2010-11-09 13:26:18
Re: MLP - The Multi-Lingual Publishing Pack
I am having a little problem adding the second language’s section title.
When I enter in the title and click save nothing happens, i mean it just reverts back to the name that was in there by default. Now if i turn off the mlp plug in, which I’ve had to do to make some other changes, I won’t be able to enter the name anyway because the field will not be there. Any ideas before I just hard code this nav bar?
its a bad hen that wont scratch itself.
photogallery
Offline
#1608 2010-11-09 15:29:08
Re: MLP - The Multi-Lingual Publishing Pack
kvnmcwebn wrote:
I am having a little problem adding the second language’s section title.
When I enter in the title and click save nothing happens, i mean it just reverts back to the name that was in there by default. Now if i turn off the mlp plug in, which I’ve had to do to make some other changes, I won’t be able to enter the name anyway because the field will not be there. Any ideas before I just hard code this nav bar?
This issue is still open, but the comments in the bug tracker may give you some clues to why it happens
Offline