Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1417 2009-10-02 15:29:42
Re: MLP - The Multi-Lingual Publishing Pack
Help!
I just upgraded to txp 4.2 and mlp 0.9.13 and am having problems with links to css files.
they are being rewritten to include the language slug in the url, which is incorrect.
so in my template i have
<link href="/css/base.css" rel="stylesheet" type="text/css" />
and it gets rewritten to
<link href="/en/css/base.css" rel="stylesheet" type="text/css" />
which of course does not work
I’ve tried with an absolute path:
<link href="http://www.monolinea.com/css/base.css" rel="stylesheet" type="text/css" />
and it also becomes
<link href="http://www.monolinea.com/en/css/base.css" rel="stylesheet" type="text/css" />
Strangely this does not happen with other links (js files, for example)
any clues?
Last edited by kemie (2009-10-02 15:31:48)
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#1418 2009-10-02 15:34:45
Re: MLP - The Multi-Lingual Publishing Pack
hi kemie,
there is an option on MLP tab to specify which URLs shouldn’t be re-written. Have you checked it?
Offline
#1419 2009-10-02 15:59:02
Re: MLP - The Multi-Lingual Publishing Pack
I had the same problem, and I think I fixed it by changing the MLP “Exclude these sections/areas from URL re-writes?” preference from “css,js” to “js,css”. Not sure why that would change anything, but might be worth a try.
Offline
#1420 2009-10-02 15:59:24
Re: MLP - The Multi-Lingual Publishing Pack
thanks, maniqui, i hadn’t seen it, but now that i check it, it says
Exclude these sections/areas from URL re-writes? —> css,js
so I’m not sure why it’s not working for css…
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#1421 2009-10-02 16:00:28
Re: MLP - The Multi-Lingual Publishing Pack
kemie, check my message above
Offline
#1422 2009-10-02 16:01:51
Re: MLP - The Multi-Lingual Publishing Pack
ok, i added a space between css and js in that preference and it seemed to do the trick… weird.
thanks to both!
Last edited by kemie (2009-10-02 16:07:51)
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#1423 2009-10-02 16:12:50
Re: MLP - The Multi-Lingual Publishing Pack
kemie wrote:
ok, i added a space between css and js in that preference and it seemed to do the trick… weird.
thanks to both!
Sounds like there a bug there. Reported
Offline
#1424 2009-10-02 16:30:29
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
kemie wrote:
ok, i added a space between css and js in that preference and it seemed to do the trick… weird.
I’ve had this problem too before, and if I remember well adding a comma at the start of the list (,css,js
) worked as well.
Offline
#1425 2009-10-08 09:31:33
Re: MLP - The Multi-Lingual Publishing Pack
Thanks a lot!
Els wrote:
Don’t include it in the
sections
attribute. The tag on my page looks like this:<txp:section_list active_class="active" sections="about,work" include_default="1" default_title="##home##" wraptag="ul" break="li" />
and the output is
- Home
- About
- Work
Offline
#1426 2009-10-14 17:25:25
Re: MLP - The Multi-Lingual Publishing Pack
another problem. after the upgrade i cloned a few articles and when i tried to publish them, i get this error:
Warning: Column count doesn’t match value count at row 1 REPLACE INTO l10n_txp_sv_se SELECT * FROM textpattern WHERE textpattern.ID=‘105’ LIMIT 1 in /home/.jacobina/linea/monolinea.com/textpattern/lib/txplib_db.php on line 113
i don’t really know what that means, any clues?
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#1427 2009-10-14 19:12:59
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Hi Kemie, I can’t reproduce that, not even in debugging mode. What are the exact steps you took? And which other plugins are active?
Offline
#1428 2009-10-15 09:00:20
Re: MLP - The Multi-Lingual Publishing Pack
hi, els.
steps i took:
in the MLP —>articles tab, i cloned several articles. i then went to each article’s edit page, translated, set the status to live and saved.
I got the error each time and the cloned articles are not displayed on the site.
I’ve tried disabling all plugins (there’s a loong list) and i still get the same results.
Anything else I can do to help you help me? Access to the site?
thank you!
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline