Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1951 2012-04-07 10:56:41

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: MLP - The Multi-Lingual Publishing Pack

If you make all articles in a given language (by filtering them first and then changing status) hidden, then , from what I recall, the langauge preference will disappear as well, unless you forced it to display even if there are no available renditions in a language. So, hiding should be enough.

I am not sure if there is any difference as to when you do the update (someone should correct me if I’m wrong).

Last edited by datorhaexa (2012-04-07 10:57:46)

Offline

#1952 2012-04-07 11:07:25

kees-b
Member
From: middelburg, nl
Registered: 2004-03-03
Posts: 235
Website

Re: MLP - The Multi-Lingual Publishing Pack

datorhaexa wrote:

If you make all articles in a given language (by filtering them first and then changing status) hidden, then , from what I recall, the langauge preference will disappear as well, unless you forced it to display even if there are no available renditions in a language. So, hiding should be enough.

Yes, that would remove the link for individual articles but not on the front page and the section list pages. It would not be to difficult to remove these too i think.
But I would prefer a solution that preserves allready translated articles for later use and at the same time removes all language link functionality from the front and MLP backend for this language.

-k

Last edited by kees-b (2012-04-07 11:16:36)

Offline

#1953 2012-04-07 11:14:19

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: MLP - The Multi-Lingual Publishing Pack

What I described will remove articles and the language switch from the front-end. In the back-end, you will still be able to see the articles.

Offline

#1954 2012-04-10 08:39:06

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

Re: MLP - The Multi-Lingual Publishing Pack

hi
im using txp 4.4.1, l10n 4.3.0.12
and i do have that strange behavior, that i cant delete articles from the site. i deleted articles from the mlp tab, so they dissapreard from the backend, but not from the site. i deleted them via phpmyadmin now, no problem. but i would never ever lead my client the way to the mysql table :)

i found some very old entries in this forum, but the problem there was, that she/he deleted the stuff in the wrong area. i did not, i already had that problem on another site, so i double checked..

any known issues / fixes for that?
where should i delete my articles..?

Offline

#1955 2012-04-10 09:06:31

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hello Jens,

I had a similar problem ages ago and in that case it was due to a prefix in the DB. I don’t know what your case is, but I hope that’s a clue.

Offline

#1956 2012-04-10 09:10:59

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

Re: MLP - The Multi-Lingual Publishing Pack

awww. prefix. thanks for the hint.. i do have prefixes.

Offline

#1957 2012-04-14 14:23:55

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

I have an issue on a site which has articles disappearing from the Articles tab and also the MLP articles list (just don’t appear to exist), but which still exist in the database and display on the front end of the site.

Anyone else seen this problem, and/or found a solution?

Offline

#1958 2012-04-14 14:36:24

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

I’ve the idea someone reported something similar a few weeks (months? years?!) ago in this thread.
In any case, have you tried running the wizard again, to see if it fix anything? (backup first!)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#1959 2012-04-14 15:18:12

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

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs wrote:

Anyone else seen this problem, and/or found a solution?

Yes, I have seen this more than once, not sure what causes it because it was on sites I don’t maintain myself, but often these articles were in the wrong language table. If that was the case, changing the language and moving the articles to the correct table (directly in the db) solved the problem.

Offline

#1960 2012-04-14 15:46:19

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

Re: MLP - The Multi-Lingual Publishing Pack

or maybe its is caused by table prefix. do you use one?
when i delete an article, they dissapear from the backend, but not from the site..

Offline

#1961 2012-04-15 03:49:20

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

No, not using any table prefixes. It works like this – user creates article in the Write tab, then deletes it from the Articles tab (not MLP tab). The article has only one rendition (4 languages on this site) in the default language.

Once the article has been deleted, it is not viewable on the backend at all. Only on the front end (public side) and in the database (only the l10n_txp_**_** table, not the textpattern table).

In the l10n_txp_**_** table, I see two versions of the rendition, one with status=4 (live) and one with status=3 (pending). I guess the user put one version of the article on hold, which brings me to the second major problem I am seeing with MLP – articles do not show on the MLP tab.

When accessing the MLP tab, the articles shows me no articles at all. 100 articles per page, with nothing on the first page but some on the second of two pages. But – not all the articles are there.

Likewise on the Articles tab, the number of articles in existence is incorrect. The setting there is for 100 articles per page. If I change the number of articles to be viewed, the articles suddenly appear (but not the phantom article mentioned above which is only seen on the front end and in the l10n_txp_ table.

Its frustrating. Should I run the wizard again? Want to check other community member experiences first as this is a live client site.

Offline

#1962 2012-04-15 12:13:38

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: MLP - The Multi-Lingual Publishing Pack

Copy the site to a test directory/folder, alter settings in config.php
Duplicate database, alter settings in config.php
Change any other relevant settings in config.php

Run wizard and see if it fixes things

Offline

#1963 2012-04-15 13:33:23

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

Re: MLP - The Multi-Lingual Publishing Pack

jstubbs wrote:

user creates article in the Write tab, then deletes it from the Articles tab (not MLP tab).

Articles should only be deleted from the MLP tab! I’ve been wondering before if I should use a plugin (or some other way) to make the articles (‘renditions’) tab invisible for end users… Even if you instruct them not to use the renditions tab it happens too often.

Edit: if an article is deleted from the renditions tab, it’s only removed from the textpattern table. When using the MLP tab the article is also removed from its language table and the l10_articles table.

Last edited by els (2012-04-15 13:36:20)

Offline

#1964 2012-04-15 13:47:07

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

@tye – thanks, worth a try.

@Els – the site use smd_user_manager to allocate privileges according to user status. Unfortunately, MLP does not seem to recognize a custom user status, hence the issue. In this case, we tried to create a custom user role which included access to the MLP tab, but it doesn’t work. The only option at present is to assign the custom user role Publisher privileges, which defies the purpose of using smd_user_manager.

And in the second site I mentioned, the user has a Publisher role, and the issue still remains – articles deleted (either in the MLP tab or Articles tab) remain in the DB after deletion. I can’t tell which – the user mainly uses MLP so I think deletion occurred from the MLP tab.

Offline

#1965 2012-05-23 16:51:43

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: MLP - The Multi-Lingual Publishing Pack

First of all, excellent plugin. I love it.
This is my first post in this topic, so my apologies if it was commented.

Recently I’m using it and I was wondering if is possible hide some MLP tabs depending to user level. My intention is to give to my client, one user level so he/she can’t access to source html code that with MLP tabs you can.

The MLP tabs I’d like hide or disable, would be: Plugins, Snippets, Preferences and Wizards and let only access for Articles tab. That would prevent the client break something.

Are there any method for that?
Thanks a lot

Offline

Board footer

Powered by FluxBB