Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1297 2009-05-08 01:56:58

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: MLP - The Multi-Lingual Publishing Pack

Ghost- I’m close but an issue on my site;

The spanish image is lapping each other due to the fact that the code looks like this;

#sidebar ul.l10n_lang_list li.es-es, #sidebar ul.l10n_lang_list li.es-es a{
	background: transparent url(/images/button-espanol.png) no-repeat left top;
	width: 75px;
	height: 25px;
	float:left;
	margin: 0 15px 10px 5px;
       list-style-type: none;
	}

I can take out the 1 selector but then the image would dissapear alltogether if that selector was active, (ie; if I was on the spanish rendition, the spanish button would dissappear all together.

I tried adding;

#sidebar ul.l10n_lang_list li.es-es l10n_current

but that doesn’t seem to do anything.

Last edited by dreamer (2009-05-08 02:01:04)

Offline

#1298 2009-05-08 05:21:35

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

Dreamer – try this tutorial. Or any other method you will find in internet – just google for css replace li with image

Last edited by the_ghost (2009-05-08 05:22:48)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1299 2009-05-08 15:46:48

hanz
Member
From: de
Registered: 2006-02-11
Posts: 23

Re: MLP - The Multi-Lingual Publishing Pack

Did some already notice that if you put a “&” in the section-title of the main language, that the title-field for the second language disappears?

In my case german is the main language, english is secondary.
If I write something like “Haus & Boot” (same with &) the field for the english title disappears.
But if I write “Haus Boot” everything looks fine.

That’s kinda odd.

Any hints?

Offline

#1300 2009-05-08 16:07:26

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

Re: MLP - The Multi-Lingual Publishing Pack

hanz wrote:

Did some already notice that if you put a “&” in the section-title of the main language, that the title-field for the second language disappears?

I can confirm this. But the section titles are still being displayed correctly on the front-end, so I hope you can live with it until it’s fixed. I’ll post a bug report on TXP Forge.

Last edited by els (2009-05-08 16:14:55)

Offline

#1301 2009-05-08 17:07:00

hanz
Member
From: de
Registered: 2006-02-11
Posts: 23

Re: MLP - The Multi-Lingual Publishing Pack

Yepp, thanks for reporting.

Offline

#1302 2009-05-09 04:04:40

vandamar
Guest

Re: MLP - The Multi-Lingual Publishing Pack

Hi there.

Love the plugin, but I need some advice/help with two problems I’m encountering:

1. Is there a way to make parallel sections for multiple languages, similar to cloning renditions? Or if not, is there a way to use textile to generate equivalent navigation sections in the other languages? Is this (http://mlp-demo.netcarving.com/en) the best solution?

2. Say I have an article in English and there is no rendition for it in French. If I click French while in this article, is it possible to be redirected to a list of say all the French articles instead?

Thanks. Any help is really appreciated.

#1303 2009-05-11 02:08:28

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: MLP - The Multi-Lingual Publishing Pack

I looked at that tut, but I already know how to do image replacement.

My issue is trying to rid of the overlapping spanish button. If I take out the #sidebar ul.l10n_lang_list li.es-es , it won’t leave me with the button when on the spanish rendition. Taking out the #sidebar ul.l10n_lang_list li.es-es a , won’t leave with me with an unclickable link to spanish rendition.

#sidebar ul.l10n_lang_list li.es-es, #sidebar ul.l10n_lang_list li.es-es a{
	background: transparent url(/images/button-espanol.png) no-repeat left top;
       display:block;
	width: 75px;
	height: 25px;
	float:left;
	margin: 0 15px 10px 5px;
       list-style-type: none;
	}
#sidebar ul.l10n_lang_list li.es-es a:hover {
	background: transparent url(/images/button-espanol.png) no-repeat left -25px;
	}

I thought adding a l10n_current to li.es-es like this would help, #sidebar ul.l10n_lang_list li.es-es l10n_current , but that doesn’t do anything.

Last edited by dreamer (2009-05-11 02:12:56)

Offline

#1304 2009-05-12 05:35:38

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: MLP - The Multi-Lingual Publishing Pack

Dreamer – could you show live site with this css problem?

[Let me to reask

I have two languages at my site: russian and english. The appear in url like site.com/ru and site.com/en. Is there way to change 2-char language name to something else, for example, i want recieve this urls: site.com/russian and site.com/english.


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#1305 2009-05-12 16:52:46

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: MLP - The Multi-Lingual Publishing Pack

Sure- here’s the site in question;

Offline

#1306 2009-05-18 16:34:09

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hi,

I finally got round to updating an MLP site to version 4.0.8 and now i have this error:-
Warning: Column count doesn’t match value count at row 1 INSERT INTO l10n_txp_nl_nl SELECT * FROM textpattern WHERE textpattern.ID=‘224’ LIMIT 1 in /home/usr/domein.info/textpattern/lib/txplib_db.php on line 110

Now all the new articles i manually add are not rendered on the public side. What does this error mean and how i can resolve it?.

edit:
1. I am using the GP version mlp-0.9.11-gp-1138
2. Installed and took a looks at the plugin “stm_article_order”, and moved things around abit, then disabled it. Could that be the cause of my problems? I have deleted the plugin.

Last edited by Timid&friendly (2009-05-18 19:38:20)


I think, therefore I AM, … … er … I think :-?

Offline

#1307 2009-05-18 21:21:00

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

Re: MLP - The Multi-Lingual Publishing Pack

Timid&friendly wrote:

Installed and took a looks at the plugin “stm_article_order”, and moved things around abit, then disabled it. Could that be the cause of my problems?

Yes. The plugin adds a column to the ‘textpattern’ table, and the MLP article tables don’t have that, so don’t match anymore. I just tried it in my test install, and what you can do to get it working again is this:

  1. delete the column ‘position’ in the ‘textpattern’ table (using phpMyAdmin)
  2. delete your articles that are not being displayed (I couldn’t get them to show up, even after deleting the extra column)
  3. articles added after removal of the column will be displayed as they should.

I think any plugin that makes changes to the ‘textpattern’ table can’t be used together with MLP.

Offline

#1308 2009-05-19 05:30:36

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: MLP - The Multi-Lingual Publishing Pack

That is good to know. I Didn’t realise it actually changed things in tables. I thought it was just working as an alias, but hey … as they say in Dutch “you learn by doing”, and I know now. Thankyou! i’ll try and sort it out tonight.

Edit:
Dropping the postion column did the trick. Thx again!

Last edited by Timid&friendly (2009-05-19 15:57:03)


I think, therefore I AM, … … er … I think :-?

Offline

Board footer

Powered by FluxBB