Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1006 2008-10-09 00:09:21

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: MLP - The Multi-Lingual Publishing Pack

hi,
probably just me but has anyone had any issues using this plugin with if_section tags?


its a bad hen that wont scratch itself.
photogallery

Offline

#1007 2008-10-09 01:52:24

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Kevin

I have it working fine with that tag. What issue are you having?

Els

Ok, I’ll look into why the owner field is going blank when edited on the search tab.

azw

Glad you found it!


Steve

Offline

#1008 2008-10-09 08:26:31

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,510
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

Els wrote:

(Edit: totally OT, but as of today this plugin thread is the only one with over 1000 posts!)

Destry wrote:

Holy crap! This is one thread I will not be reading from start to finish. Likely not many others do either which is probably why it’s so long. :)

Staying OT for a second, would MLP be a contender to benefit from its own wiki page? Not a replacement for the plugin help, but stuff additional to it, i.e. info surrounding the current issues, Steve’s ToDo list, fix list etc, plus any tips/tricks that people have found and posted here in the thread that help in the installation/running of a multi-lingual site? If all that was consolidated, it could be linked from the plugin help and the 1st post, then this thread can be used to iron out stuff as it is now, with the outcomes transferred by the community into the ‘clean’ (and probably more easily searchable? I don’t know) wiki location.

Just a thought. Perhaps we could discuss the merits (or otherwise) of this in the context of that other thread about the wiki overhaul up there?

Last edited by Bloke (2008-10-09 08:27:58)


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

#1009 2008-10-09 10:06:06

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Bloke wrote:

Staying OT for a second, would MLP be a contender to benefit from its own wiki page? Not a replacement for the plugin help, but stuff additional to it, i.e. info surrounding the current issues, Steve’s ToDo list, fix list etc, plus any tips/tricks that people have found and posted here in the thread that help …

+1
The MLP is not a simple plugin and it represents one of the strengths of txp so – unlike other plugins – it deserves a place in textbook IMHO.

Offline

#1010 2008-10-16 17:27:42

azw
Member
Registered: 2007-01-29
Posts: 279

Re: MLP - The Multi-Lingual Publishing Pack

I agree that MLP should have a Wiki page in Textbook. I’ve actually skimmed this entire thread at least twice when I was having trouble. It’d be great to have a more efficient way to get detailed info about MLP.

Offline

#1011 2008-10-17 18:27:43

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

Re: MLP - The Multi-Lingual Publishing Pack

Two more questions, if they have been answered before, please just say so and I’ll search once again… (+1 from me for a Textbook page!)

  1. Newly created articles don’t show up in the MLP > articles tab, only the (one) article that already existed when MLP was installed is displayed there (v0.8.7, local install).
  2. Is there a way to enter snippets in javascript code? I’d like to localize the text in this line: closeTip : "Click to close", but if I replace ‘Click to close’ with ‘##closetip##’, that’s exactly what it displays. (The js code is in the head section of my page.)

Offline

#1012 2008-10-18 01:12:11

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Els

Re…

1) Is that site on the internet? If so, could you allow me to login and track this down.

2) If you’re JS not in an external file but in a page/form then you should be able to do it (I think.)


Steve

Offline

#1013 2008-10-18 10:46:29

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

Re: MLP - The Multi-Lingual Publishing Pack

Steve, thanks for replying.

  1. No, unfortunately not, I’m rebuilding an existing site (that has to remain live until my rebuild is finished) and I can’t develop the new site in a subdomain because MLP doesn’t work in subdomains (I think that is still the case? I didn’t actually try it). So I’m developing it locally. I’ll try if I can reproduce it on a live install, if so I’ll report back.
  2. It doesn’t work if the snippet is put directly in the javascript (doesn’t matter if it’s on a page or in a form), the snippet also doesn’t show up in the Snippets > Pages/Forms tab. But I’ve found a way :) I put the snippet in a form and have this in the script (in the head section of the page): closeTip : "<txp:output_form form="js_flyout" />", …and that works!

Edit: re #1: I copied the site to a subdomain, it appears to work exactly like the local install. I will send you a login.

Last edited by els (2008-10-18 13:33:40)

Offline

#1014 2008-10-20 05:42:15

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

Els’ problem is with a very new dev4 version of Txp. Wet has already pointed out one change in the code that affects the MLP Pack but the recent addition of labels for the title and body fields on the write tab broke the insertion point for MLP’s language and group variables in Els’ setup leading to the postings above. This is tentatively fixed in my development version and I hope to post it (along with a few other updates) soon.


Steve

Offline

#1015 2008-10-20 05:45:57

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,426
Website GitHub Mastodon

Re: MLP - The Multi-Lingual Publishing Pack

Could we provide any hooks in the markup to prevent such havoc in the future?

Offline

#1016 2008-10-20 05:58:25

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Robert

Hi, that was a fast reply! :)

As this is not really an MLP-only thing but potentially a more generic plugin issue, perhaps either a new thread or the plugin dev mailing list would be a good place to bat this around? I think other plugin authors might be able to contribute to such a discussion.


Steve

Offline

#1017 2008-10-20 10:45:04

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,426
Website GitHub Mastodon

Re: MLP - The Multi-Lingual Publishing Pack

Offline

#1018 2008-10-20 19:09:20

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

Re: MLP - The Multi-Lingual Publishing Pack

Got the Dutch and English site nearly finished, this plug-in is soooo cool!!! But can’t solve a small URL problem.

Example:
I have a section called “What” in English and “Wat” in Dutch, but the URL that is output in English is "mysite.com/en/wat" and I am trying to get "mysite.com/en/what"

I did my homework and found thread back on page 27 that suggested the use of <txp:section_list sections="wat" /> but this still outputs the dutch section name.

The section has the correct English translation?

What am i missing?

Last edited by Timid&friendly (2008-10-20 19:21:51)


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

Offline

#1019 2008-10-20 19:23:56

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

Re: MLP - The Multi-Lingual Publishing Pack

Timid&friendly wrote:

What am i missing?

#009 perhaps? ;)

On the site I’m currently working on I worked around it by using the /title permlink mode.

Last edited by els (2008-10-20 19:25:14)

Offline

#1020 2008-10-20 21:07:25

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

Re: MLP - The Multi-Lingual Publishing Pack

sorry but could you elaborate with an example,

<li id="wat"><a href="<txp:site_url />##page_wat##" title="##page_wat_title##">##page_wat_title##<span></span></a></li>
<li id="wat"><txp:section_list sections="wat" /><span></span></li> -->
<li id="wat"><span><txp:section_list sections="wat" title="1" link="1" /></span></li>
<li id="wat"><span><txp:section name="wat" title="1" link="1" /></span></li>

tried this tooo00

<li id="wat"><span><txp:permlink><txp:section name="wat" title="1" /></txp:permlink></span></li>
…but apparently the context is wrong for the Permlink even though this is in an article form?

Last edited by Timid&friendly (2008-10-20 21:12:05)


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

Offline

Board footer

Powered by FluxBB