Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1357 2009-08-27 19:50:20

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

Re: MLP - The Multi-Lingual Publishing Pack

You’re right, I can’t get it to work either when section_list is used as a container tag. This however works:

<txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="li" sections="about,activities,news,contact" active_class="selected" />

Or this:

<txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="" sections="about,activities,news,contact">
	<li<txp:if_section name='<txp:section />'> class="selected"</txp:if_section>><txp:section link="1" title="1" /></li>
</txp:section_list>

Hmm… bug?

Edit: apparently not a bug. I found a thread mentioning the same behaviour of category_list here.

Last edited by els (2009-08-27 20:09:22)

Offline

#1358 2009-08-27 20:24:03

LetterHoofd
Member
From: Kortrijk, BE
Registered: 2006-01-20
Posts: 40
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thanks for solving it.

Offline

#1359 2009-08-28 04:52:22

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: MLP - The Multi-Lingual Publishing Pack

Els wrote:

Edit: apparently not a bug. I found a thread mentioning the same behaviour of category_list here.

This is by design, based on the idea that you totally want to create your own markup when you use either section_list or category_list as a container (or with a form attribute, for the sake of completeness).

Offline

#1360 2009-08-28 18:46:14

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

Re: MLP - The Multi-Lingual Publishing Pack

Thanks for the clarification, Robert. I added it to the Textbook tag pages.

Offline

#1361 2009-08-30 23:20:54

txpnisti
Member
Registered: 2009-02-25
Posts: 23

Re: MLP - The Multi-Lingual Publishing Pack

Strange comment display bug. I think this has something to do with MLP: Maybe someone could check if same happens to you too:

I have moderation on. When I open a comment to read it, and use the drop-down under comment to make it visible this happens: recent comments shows the article has been commented. But when looking the article itself, no new comments are visible.

If I instead mark the comment visible on the comments list (with checkboxes), it really comes visible.

I studied the article table for that particular language. When aproving comment from comment-read page, the comment count doesn’t increase. If I mark it visible in the list, the comment count column is updated.

4.08 with 0.9.11-gp

Offline

#1362 2009-09-01 21:25:18

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

Re: MLP - The Multi-Lingual Publishing Pack

Anyone else noticing these issues with 4.2.0 I added here?

  • in content > categories: category titles are only displayed in the site’s primary language, no matter which other language is active on the admin side (primary language = the one that comes first in the ‘Languages’ field in MLP > Preferences)
  • in content > files: the category dropdown only shows the category titles in the primary language

Offline

#1363 2009-09-02 15:21:04

vandamar
Guest

Re: MLP - The Multi-Lingual Publishing Pack

Els, I am having exactly the same problems that you mentioned with Categories and Content. Also same problem with Section names. :(

Any chance the bugs will be fixed soon?

Last edited by vandamar (2009-09-02 17:41:17)

#1364 2009-09-03 19:30:46

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

Re: MLP - The Multi-Lingual Publishing Pack

vandamar wrote:

Also same problem with Section names. :(

What exactly do you mean? Section names only exist in one language. And contrary to the category dropdowns that display the category titles, the section dropdown displays – and has always displayed – the section names (also in MLP-less installs).

I found another problem with section titles though. In Presentation > Sections: if the first section title field contains an ampersand (&), the title fields for all other languages disappear. It doesn’t happen when there is one in one of the other title fields, but not in the first one. And this happens in 0.9.11-gp/4.0.8 as well as in 0.9.12-gp/4.2.0.

Edit: doh! Already posted, already reported. I need a memory expansion…

Last edited by els (2009-09-03 19:40:24)

Offline

#1365 2009-09-04 14:28:37

vandamar
Guest

Re: MLP - The Multi-Lingual Publishing Pack

Hi Els.

I am sorry if I was not clear enough. I have never worked with this plugin before.

Please see this screenshot for what I mean. Basically If i try to change “About” to its german or romanian equivalent and click save, it won’t let me. Am I supposed to be able to edit this? Can it be done another way?

Thanks.

Last edited by vandamar (2009-09-04 14:31:25)

#1366 2009-09-04 20:43:24

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

Re: MLP - The Multi-Lingual Publishing Pack

Hi vandamar,

You should be able to edit all those fields.
The section name exists only in one language, it’s part of the URL, for example site.com/en/about/, site.com/de/about/ etcetera. If you change the section name, the URL of that section page will change.
You can have a translation of the section title for each language, so for example the headings on your section page (<txp:section title="1" />) or your navigation (<txp:section_list /> or <txp:section title="1" link="1" />) will be localised. So section ‘about’ could have title ‘About me’ in English and translations in other languages.

You said ‘it won’t let me’. What exactly happens when you click ‘save’? Are there any errors or messages displayed?

Last edited by els (2009-09-04 20:44:49)

Offline

#1367 2009-09-05 05:15:56

vandamar
Guest

Re: MLP - The Multi-Lingual Publishing Pack

Hi Els.

First, Thanks for all your help and clarifications.

I type in new Section Titles for say German, from About to Über
I press save
Textpattern says Section “About” Updated, but when you look over it says About again

I also made a tiny video of my problem (http://www.vandamar.com/MLP_SectionTitle.m4v).

Last edited by vandamar (2009-09-05 05:19:41)

#1368 2009-09-06 21:57:46

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

Re: MLP - The Multi-Lingual Publishing Pack

vandamar, that’s very strange, I’ve never seen that happen before. I’m not sure it’s an MLP thing, so to be sure you’d have to run the MLP Pack Cleanup wizard to un-install MLP (if you don’t check the checkboxes you can simply run the setup wizard again afterwards to re-install it), and try if you can edit the section titles then.

Offline

Board footer

Powered by FluxBB