Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1801 2011-05-19 17:29:59
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Exiladler wrote:
http://www.thumbguard.eu/AAA
A subdirectory? Unfortunately MLP doesn’t work in subdirectories, you can forget about getting it to work properly. If you are able to create a subdomain though, your MLP installation will work fine there.
Offline
#1802 2011-05-19 18:24:55
Re: MLP - The Multi-Lingual Publishing Pack
will do that over the weekend and report back
Thank for all the help
Offline
#1803 2011-05-20 14:13:50
Re: MLP - The Multi-Lingual Publishing Pack
Els,
spot on, moved it to the root and all is well.
so a big THANK YOU to you !!!
Offline
#1804 2011-05-21 08:41:21
- dieter_fohlen
- New Member
- Registered: 2011-05-21
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
Hi @ all
I have a website in 3 languages. Now not all articles are translated in the news section. Now i would give out always the english version in the other languages if the article is not translated and the section is news. Or alwasy if the section is news the english articles come.
is there an lang attribute for <txp:article/> or some thing else?
thanks for help!
Offline
#1805 2011-05-21 09:38:27
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
dieter_fohlen, I don’t have time to look for it now, but if you search backwards in this thread, there was someone with a similar question a while ago (I think not more than a couple of months ago?).
Offline
#1806 2011-05-21 21:15:27
- dieter_fohlen
- New Member
- Registered: 2011-05-21
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
Hi Els
Thanks for your reply. So i did not found anything that fit my question. Only the plugin smd_query could help i think…
Offline
#1807 2011-05-21 21:39:14
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
I found the post I remembered, but I don’t think it’s what you want. So yes, I guess smd_query is the way to go.
Maybe this example can get you going, though it’s a different case.
Last edited by els (2011-05-21 21:42:57)
Offline
#1808 2011-05-23 10:51:35
Re: MLP - The Multi-Lingual Publishing Pack
Hi,
I have installed mlp 4.3.0.12 on Textpattern 4.4.0. When I run the setup wizzard I get this error:
Add the per-language article tables…
1. Add the English [l10n_txp_en_gb] table : Failed
2. Add the Svenska [l10n_txp_sv_se] table : Failed
Diagnostic info:
Textpattern version: 4.4.0 (r3514)
Last Update: 2011-05-10 10:25:37/2011-05-10 09:19:32
Document root: C:/xampp/htdocs/mobilmobil.dev (C:\xampp\htdocs\mobilmobil.dev)
$path_to_site: C:\xampp\htdocs\mobilmobil.dev
Textpattern path: C:\xampp\htdocs\mobilmobil.dev\textpattern
Permanent link mode: section_title
upload_tmp_dir: \xampp\tmp
Temporary directory path: C:\xampp\htdocs\mobilmobil.dev\textpattern\tmp
Site URL: mobilmobil.dev
PHP version: 5.3.5
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/Berlin
Server Local Time: 2011-05-23 12:35:33
DST enabled?: 1
Automatically adjust DST setting?: 1
Time Zone: Europe/Warsaw (3600)
MySQL: 5.5.8
Locale: English_United Kingdom.1252
Server: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1
Apache version: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Windows NT 6.1
Active plugins: cbs_navigation_menu-0.4, rvm_if_this_article-0.1, rah_metas-1.4, zem_contact_lang-mlp-4.0.3.6-ML, upm_insert_tab-0.3, rah_section_titles-0.2, l10n-4.3.0.12, gbp_admin_library-0.4.1, rah_change_passwords-0.4
Admin-side theme: classic 4.4.0
Pre-flight check:
————————————
Some Textpattern files have been modified:
C:\xampp\htdocs\mobilmobil.dev\textpattern\lib\txplib_db.php
————————————
Offline
#1809 2011-06-08 14:53:34
Re: MLP - The Multi-Lingual Publishing Pack
How could I output an English article list in the Spanish version of the site? Is there a tag I could wrap around an article_custom to output the articles in a specified language?
Offline
#1810 2011-06-08 18:09:19
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Hi John, you could of course just use <txp:article_custom id="1,2,3,..." />
, but I assume you need something more dynamic? Do you need the English renditions of the displayed Spanish articles, or is there some other way they should be selected (for instance by category, …)?
Offline
#1811 2011-06-08 18:29:22
Re: MLP - The Multi-Lingual Publishing Pack
Here’s what I want to do: The site has a blog section, but it could be a while before there is any content in the Spanish blog. Until then, I want to display links/excerpts of the latest articles in the English site’s blog. I can easily set a variable to check for blog content and display something else if there’s no content in a given language, but I don’t know how to display a dynamic article list from the English section.
Thanks for responding! I’m grateful for your help.
Offline
#1812 2011-06-08 18:39:50
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
I don’t think it’s possible with MLP or Txp tags, but I’m pretty sure you can use smd_query to fetch articles from the l10n_txp_en_gb
table in the blog section.
Last edited by els (2011-06-08 18:41:09)
Offline