Textpattern Forum

You are not logged in. Register | Login | Help

#1891 2011-12-03 18:08:57

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,380
Website

Re: MLP - The Multi-Lingual Publishing Pack

If it doesn’t already exist you need to use it somewhere to create it. So if you use ##readmore## as the value for linktext, you will find the snippet in MLP > snippets and can then add the translations.


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#1892 2011-12-03 18:21:52

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

Thanks Els, but it is not working. I added ##readmore## to an unused form and then translated the snippet but when I check the page, it just shows the snippet name and not the translation. Here are the definitions withon the Plug in:

function rss_auto_excerpt($atts) { global $thisarticle;

extract(lAtts(array( ‘linkwraptag’ => ‘p’, ‘linkclass’ => ‘’, ‘linklabel’ => ‘’, ‘linktext’ => ‘##readmore##’, ‘excerptwraptag’ => ‘’, ‘length’ => 0, ‘words’ => 0, ‘sentences’ => 0, ‘paragraphs’ => 0, ‘skiplength’ => 0, ‘skipwords’ => 0, ‘skipsentences’ => 0, ‘skipparagraphs’ => 0, ‘ending’ => ‘…’, ‘showlinkwithbody’ => 0, ‘showlinkwithexcerpt’ => 1, ‘overrideexcerpt’ => 0, ‘striptags’ => 0, ‘stripbreakstabs’ => 0, ‘wrapreadmore’ => 0, ‘excerpt’ => ‘excerpt’, ‘body’ => ‘body’, ),$atts));

Could the ‘ marks be the issue as it encases the text or does the plugion simply not work with MLP?

Offline

#1893 2011-12-03 18:47:28

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,380
Website

Re: MLP - The Multi-Lingual Publishing Pack

Strange, I just tested it, and it started working for me when I added override_excerpt="1".
This is the tag that is working:

<txp:rss_auto_excerpt words="3" override_excerpt="1" linktext="##readmore##" />

Last edited by Els (2011-12-03 18:49:01)


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#1894 2011-12-03 18:55:18

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

<txp:rss_auto_excerpt words=“40” override_excerpt=“1” />

still no working

I get ##readmore##

Confused, l10n version 4.3.0.12

All other MLP functionality works perfectly ….

Offline

#1895 2011-12-03 19:07:27

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,380
Website

Re: MLP - The Multi-Lingual Publishing Pack

Oh, sorry, that was really dumb… it’s not override_excerpt, but overrideexcerpt. But, surprise, I removed the attribute, so that I now just have

<txp:rss_auto_excerpt words="3" linktext="##readmore##" />

…and it still works! Did you try to clear the browser cache?


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#1896 2011-12-03 23:26:06

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: MLP - The Multi-Lingual Publishing Pack

Els,

I did clear Cache and checked using different browsers BUT that last fix worked, now it works a treat, THANKS

Offline

#1897 2012-01-25 20:19:27

claus
Member
From: Remseck / Neckar
Registered: 2007-05-23
Posts: 17
Website

Re: MLP - The Multi-Lingual Publishing Pack

Downloading MLP 4.3.0.12 is tricky, when txpforge.org is down.
Thanks to Els here is another Download-Link for the recent package.
Get it under http://skippyworks.net/file_download/9/mlp-4.3.0.12.zip

Offline

#1898 2012-01-27 16:57:53

divan
New Member
From: Ukraine
Registered: 2009-04-30
Posts: 7

Re: MLP - The Multi-Lingual Publishing Pack

Hi all. I have fresh install of TXP 4.4.1 + MLP 4.3.0.12. No other plugins installed, and even no articles were created. Added 3 languages.
After MLP installation, I get ’404 Not found’ when trying to view the site – it redirects to ‘mysite.com/en’.
I’ve double checked versions and install instructions, searched over support threads – no luck.

Can someone point me at the possible reasons, what can cause this error on a fresh default installation?
Thanks in advance!

Offline

#1899 2012-01-27 17:01:01

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: MLP - The Multi-Lingual Publishing Pack

did the site work, before you installed mlp?
ist the htaccess file in place?

Offline

#1900 2012-01-27 17:08:28

divan
New Member
From: Ukraine
Registered: 2009-04-30
Posts: 7

Re: MLP - The Multi-Lingual Publishing Pack

jens31, yes, the site work without MLP. If I disable l10n plugin, it start working find.
The .htaccess is in the place, I didn’t change anything.

Offline

Board footer

Powered by FluxBB