Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1111 2008-12-19 12:50:04
Re: MLP - The Multi-Lingual Publishing Pack
Steve,
Long time no speak. Hope all is well and thanks for the updates of MLP.
I just updated one of my sites to Txp 4.0.7 and MLP 0.9.11. I have a problem that I had in the past with a previous version of MLP on another site (Old Photos of Japan or OPJ):
I use ob1_pagination and the section is now not included in the navigation links of ob1_pagination. This could be a problem with ob1_pagination, but on OPJ it was a problem with MLP and you were able to fix it.
The links in ob1_pagination should be:
http://ikjeld.com/en/[section name]/?pg=2
http://ikjeld.com/en/[section name]/?pg=3
http://ikjeld.com/en/[section name]/?pg=4
But now they are:
http://ikjeld.com/en/?pg=2
http://ikjeld.com/en/?pg=3
http://ikjeld.com/en/?pg=4, etc.
I have the same problem in the pagination links in result pages created with chh_keywords.
See for yourself at ikjeld.com
Please let me now if you think it is a problem with ob1_pagination or MLP.
Unfortunately, I didn’t notice this problem until after I updated my live site… :-( Because the live site now doesn’t function correctly, I hope this issue can be fixed soon.
In case you think it is an MLP issue, I have a development version of iKjeld.com in a protected folder. If you would like to do some testing, contact me and I will send you login data for the folder and txp.
Speak to you soon,
Kjeld
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
#1112 2008-12-19 13:04:21
Re: MLP - The Multi-Lingual Publishing Pack
@KJeld,
have you tried changing the plugin s on Admin -> Plugins? I mean, in 4.0.7 there is a new option to sort the order in which plugins are loaded.
Maybe, giving 1 to MLP makes the difference.
Offline
#1113 2008-12-19 13:08:45
Re: MLP - The Multi-Lingual Publishing Pack
Thanks, maniqui. MLP is set to “1”, the other plugins are set to “5”.
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
#1114 2008-12-19 13:27:59
Re: MLP - The Multi-Lingual Publishing Pack
Kjeld wrote:
I use ob1_pagination and the section is now not included in the navigation links
fwiw, I’ve been having a dialogue with Steve the last few days about smd_gallery because its navigation links also don’t appear to work with MLP. I’m not sure if it’s my code or the fact my test environment is in a subdir that’s causing the problem, but it may be related to what you’re seeing here.
If I find it’s my code I’ll shout because it may be that ob1_pagination (from which I *cough* borrowed heavily in smd_gallery) needs tweaking too.
Damn, the cat’s out of the bag now. Yes, smd_gallery goes MLP soon…
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#1115 2008-12-19 13:36:03
Re: MLP - The Multi-Lingual Publishing Pack
Bloke wrote:
I’m not sure if it’s my code or the fact my test environment is in a subdir that’s causing the problem
Actually, my development site is in a subdir, but the live site is in the root. Both have the same problem, so perhaps the subdir is not an issue.
By the way, Steff, good to speak to you again!
Last edited by Kjeld (2008-12-19 13:36:39)
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
#1116 2008-12-19 13:51:20
Re: MLP - The Multi-Lingual Publishing Pack
Re: development sites in subdir: what about using a subdomain (that, technically and usually, it’s a subdir)?
I’m currently developing a site using MLP and I’ve created a dev.domain.com subdomain.
I’ve never had a problem, so I think using subdir but as subdomains is a workaround for the MLP subdir installation issue (I hope so!)
Offline
#1117 2008-12-19 13:55:02
Re: MLP - The Multi-Lingual Publishing Pack
The only subdir issue I have with MLP is that the comment function does not work. But let’s not get off track. I hope #1112 can addressed.
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
#1118 2008-12-20 01:21:35
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
Hello Steve,
I’ve just began to use the MLP with txp 4.07 and I have to say it’s working wonderfully.
Consider also I’m trying it in a temporary subdirectory install and so far I had no problems at all.
Also I noticed and appreciated some little improvements like the description labels in the “file “ tab, thank you!
But actually there is a little problem… if I use a code like this:
<txp:linklist sort="category,description asc" />
I get this error:
Tag error: <txp:linklist sort="category,description asc" /> -> Textpattern Warning: Column 'description' in order clause is ambiguous
select *,`l10n_description_en_gb` as `description`, unix_timestamp(date) as uDate from txp_link where 1=1 order by category,description asc
I tried this code on a 4.06 installation (with MLP 0.8.7 and not on a subdirectory) and got the same error.
Is this a bug or I’m doing something wrong?
Thank you as usual for any help
Offline
#1119 2008-12-20 01:23:52
Re: MLP - The Multi-Lingual Publishing Pack
redbot:
have you tried <txp:linklist sort="category asc, description asc" />?
Offline
#1120 2008-12-20 01:40:29
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
maniqui wrote:
have you tried
<txp:linklist sort="category asc, description asc" />?
Thank you but it won’t work, the code I posted is indeed unnecessarily complex and actually the problem appears also with <txp:linklist sort="description asc" />.
Moreover the error message refers explicitly to the use of the term “description”
Thanks anyway for your help…
Offline
#1121 2008-12-20 22:41:59
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
redbot
unfortunately, due to the way the MLP aliases the extra language fields on some tables (txp_link,txp_image,txp_category & txp_file), with wildcard SQL selects (where * is used), you can’t sort using any of the duplicated fields.
In your case, you’ll have to go without sorting on the description — sorry.
Actually, I have just committed an extension of the SQL re-write code so I’ll think about your issue next (this is actually outstanding issue number 006.)
— Steve
Offline
#1122 2008-12-21 12:28:20
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
…this is actually outstanding issue number 006….
Oops sorry, I totally forgot to check the list…
I’ll find another way then, thank you!
Offline
#1123 2008-12-23 17:23:44
Re: MLP - The Multi-Lingual Publishing Pack
hey guys!
Amazing plugin.
One small question: how can one make a language switch on the front-end that keeps the visitor on the same location but with the language part of the URL switched to another language? The MLP demo has such a switch.
So when you’re at
/en/articles/philosophy
And you wan’t to see that in Dutch, the switch would take you to
/nl/articles/philosophy
Thanks in advance!
Edit:
I found the solution, use <txp:page_url /> to retain the current URL.
So, my switch URLs are: /en<txp:page_url /> and /nl<txp:page_url />
Last edited by jan (2008-12-23 17:30:47)
Kensington TXP powered rock
Offline
#1124 2008-12-23 20:20:43
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Jan, I think <txp:l10n_lang_list /> is a better solution. No need to handcode the links.
Offline
#1125 2008-12-24 01:00:58
Re: MLP - The Multi-Lingual Publishing Pack
Incompatibility Issue with MLP
Since the 19th, I have been trying to fix an incompatibility issue between MLP and the plugins ob1_pagination and chh_keywords (see a description of the issue here).
I haven’t been able to fix this yet. Does anybody have any suggestions, or a fix?
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline