Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#2431 2017-03-16 09:27:03

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

sgw wrote #304789:

How could I have “lost” that table?

Which version of MLP do you use? Are you using the regular version with Tables or new with Views?

If you installed a new one, what version of MySQL do you use?

Offline

#2432 2017-03-16 09:31:07

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

spiridon wrote #304790:

Which version of MLP do you use? Are you using the regular version with Tables or new with Views?

If you installed a new one, what version of MySQL do you use?

MLP: https://github.com/Bloke/MLP/tree/v4.6.0

wrong one?

“mysql” : mariadb 10.0.29 (used the same DB as with MLP 4.5.7)

Last edited by sgw (2017-03-16 09:42:06)

Offline

#2433 2017-03-16 10:09:43

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

sgw wrote #304791:

MLP:https://github.com/Bloke/MLP/tree/v4.6.0

wrong one?

“mysql” : mariadb 10.0.29

No. It’s OK.

But my version MLP works with Views that are present since MySQL version 5.1

After install it checks the rendition tables and their type. It will create views, if they were not. And it replaces the tables by views, if there was a tables.

I thought maybe it’s my bug…

Offline

#2434 2017-03-16 10:12:09

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

spiridon wrote #304793:

No. It’s OK.

But my version MLP works with Views that are present since MySQL version 5.1

After install it checks the rendition tables and their type. It will create views, if they were not. And it replaces the tables by views, if there was a tables.

I thought maybe it’s my bug…

So? Should I switch over to your version or what do you recommend?

Offline

#2435 2017-03-16 10:29:01

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

sgw wrote #304733:

/var/www/localhost/htdocs/textpattern/textpattern/plugins/sources
└▶ $ /usr/bin/php zem_contact_lang-mlp.php > zem_contact_lang-mlp.txt
PHP Fatal error: Call to undefined function register_callback() in /var/www/localhost/htdocs/textpattern/textpattern/plugins/sources/zem_contact_lang-mlp.php on line 62

?

I’ll fix the plugin code, but can’t test its because don’t use zem_contact_lang-mlp.

Offline

#2436 2017-03-16 10:38:04

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

spiridon wrote #304795:

I’ll fix the plugin code, but can’t test its because don’t use zem_contact_lang-mlp.

strange, it is not installed nor active here:

Active plugins: kml_twitter-1.4, zem_contact_reborn-4.5.0.0, rss_suparchive-0.18, mem_glinklist-0.8.5m, pap_contact_cleaner-0.1, rah_metas-0.9.2., glx_admin_image-2007.1, upm_insert_tab-0.3, rss_article_edit-0.1, gbp_admin_library-4.6.0.20160216, yab_copy_to_new-0.2, wet_quicklink-0.8.2, wet_peex-1.0, l10n-4.6.0.20160216

Offline

#2437 2017-03-16 10:44:28

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

sgw wrote #304794:

So? Should I switch over to your version or what do you recommend?

Yes. I have used it 3 month and recommend you. In this topic was the discussion, read from here

Today I’m going to announce big changes in my version of the plugin

Offline

#2438 2017-03-16 10:46:15

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: MLP - The Multi-Lingual Publishing Pack

Looking forward to that, spiridon! Great and much needed work!

Offline

#2439 2017-03-16 10:46:39

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

spiridon wrote #304797:

Yes. I have used it 3 month and recommend you. In this topic was the discussion, read from here

Today I’m going to announce big changes in my version of the plugin

So I better wait for that. I hope it isn’t too hard to switch over? Thanks.

Offline

#2440 2017-03-16 12:06:13

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

spiridon wrote #304797:

Yes. I have used it 3 month and recommend you. In this topic was the discussion, read from here

Today I’m going to announce big changes in my version of the plugin

I already switched over to the v4.6.0.tables2views branch of your fork. Will there be more commits today?
In debug-mode I get some warnings around another plugin, in live-mode my site looks quite good, so I am very happy for the moment! Thanks!

EDIT: could someone take a look at http://www.oops.co.at and give me a pointer on how to fix that? Seems I have to edit my pages templates or so? Just to repeat: I didn’t set up this site back then … rather noob in these webdesign issues.

Last edited by sgw (2017-03-16 13:33:26)

Offline

#2441 2017-03-16 15:11:14

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

github.com/dshovchko/MLP/tree/v4.6.0.tables2views

Changes in the plugin:

  • fixed incorrect layout and incorrect links in MLP settings;
  • fixed forms for editing images, links, files, categorys and sections;
  • improved inject rss lang markers (added inject for <link> tag);
  • improved inject html lang markers (added inject for <link>, <loc> and <guid> tags);
  • fixed zem_contact_lang-mlp plugin.

You must to update the files textpattern/lib/l10n_admin.php and textpattern/lib/l10n_admin_classes.php

You also must to update textpattern plugins:

  • gbp_admin_library — new version 4.6.2.20170310
  • l10n — new version 4.6.2.20170316

Offline

#2442 2017-03-16 15:23:27

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

sgw wrote #304800:

I already switched over to the v4.6.0.tables2views branch of your fork. Will there be more commits today?

You must update plugin l10n. I have changed it.

EDIT: could someone take a look at http://www.oops.co.at and give me a pointer on how to fix that? Seems I have to edit my pages templates or so? Just to repeat: I didn’t set up this site back then … rather noob in these webdesign issues.

You must see txp tags reference and fix the attributes of the tags. For example, tag link haven’t attribute “class”, but on your site:

Tag error: <txp:link rel="external" class="external" /> ->  Textpattern Notice: Unknown tag attribute: class. while parsing form links on page default

Offline

#2443 2017-03-16 15:27:41

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

spiridon wrote #304807:

You must update plugin l10n. I have changed it.

You must see txp tags reference and fix the attributes of the tags. For example, tag link haven’t attribute “class”, but on your site:

Tag error: <txp:link rel="external" class="external" /> -> Textpattern Notice: Unknown tag attribute: class. while parsing form links on page default...

did update right now, thanks.
will try to understand that tag-issue … thanks for the pointer.

Offline

#2444 2017-03-16 15:47:22

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: MLP - The Multi-Lingual Publishing Pack

sorry for hijacking this plugin-specific thread with my newbie issue:
what’s wrong about

<txp:article_custom category="Intro" limit="1" status="sticky" form="no_title" />

?

Offline

#2445 2017-03-16 16:08:12

spiridon
Member
From: Mariupol, Ukraine
Registered: 2011-01-30
Posts: 58
Website GitHub

Re: MLP - The Multi-Lingual Publishing Pack

sgw wrote #304810:

sorry for hijacking this plugin-specific thread with my newbie issue:
what’s wrong about

<txp:article_custom category="Intro" limit="1" status="sticky" form="no_title" />...

?

It writes:

Notice: Undefined index: description while parsing form None on page default

The bug cames when parse form no_title. See it and find mistake.

Last edited by spiridon (2017-03-16 16:09:07)

Offline

Board footer

Powered by FluxBB