Multilanguage CMSMS MLE 1.2.3

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
baki250
Forum Members
Forum Members
Posts: 22
Joined: Wed Feb 06, 2008 12:27 am

Re: Multilanguage CMSMS MLE 1.2.3

Post by baki250 »

Hi Alby

I got a problem with Cataloger for some reason when i try to add item or category it says:

Fatal error: Cannot instantiate non-existent class: catalog�tem in /home/**/public_html/**/admin/addcontent.php on line 346

i got MLE installed v 1.3 and all the cataloger stuff. Im worried about the question mark on the catalogitem.

When i switch off the MLE it works fine. What do i need to do to resolve this, any idea?


Many Thanks
alby

Re: Multilanguage CMSMS MLE 1.2.3

Post by alby »

baki250 wrote: I got a problem with Cataloger for some reason when i try to add item or category it says:

Fatal error: Cannot instantiate non-existent class: catalog�tem in /home/**/public_html/**/admin/addcontent.php on line 346
???

If you add a CatalogPrintable type have same error?

Alby
baki250
Forum Members
Forum Members
Posts: 22
Joined: Wed Feb 06, 2008 12:27 am

Re: Multilanguage CMSMS MLE 1.2.3

Post by baki250 »

yep, it happens as soon as you click on the add content or want to change the content of a page by clicking on the language icon.
Its so odd. I dont know why it does it
baki250
Forum Members
Forum Members
Posts: 22
Joined: Wed Feb 06, 2008 12:27 am

Re: Multilanguage CMSMS MLE 1.2.3

Post by baki250 »

Hi Alby

Do you have any idea as to why this is happening. The questıon mark issue

Many Thanks
alby

Re: Multilanguage CMSMS MLE 1.2.3

Post by alby »

baki250 wrote: Do you have any idea as to why this is happening. The questıon mark issue
Question mark is a encoding issue.
Wich version of MLE?

Check if your DB is full UTF8

Alby
balamouk

Re: Multilanguage CMSMS MLE 1.2.3

Post by balamouk »

Hi all, regarding the last cataloger module & the mle integration there is a patch to apply to make it work correctly :

first step :
update table ..._module_catalog_attr
add columns attribute_en, attibute_it, and so on

second step :
open file Cataloger.module.php
somewhere round line 327 there is something like

Code: Select all

$query = "SELECT attribute, is_textarea FROM "...
change with

Code: Select all

$query = "SELECT attribute_" . $hls[$hl]['block'] . ", is_textarea FROM ".
in the same file round line 344
change

Code: Select all

 if(isset($hls)) $thisAttr->attr = $row['attribute']...
with

Code: Select all

if(isset($hls)) $thisAttr->attr = $row['attribute_'. $hls[$hl]['block']];
hope it helps
baki250
Forum Members
Forum Members
Posts: 22
Joined: Wed Feb 06, 2008 12:27 am

Re: Multilanguage CMSMS MLE 1.2.3

Post by baki250 »

Hi

Im trying to use Cataloger items area. 2 of them one for keywords and the other for description

Basically its hard to use the matetags area and i want to use meta data ="{cataloger template="keywords"} for example to display keywords in the header of each page.

Jsut like using Global Blocks. Is this possible on Cataloger and if it is how can i do it

many thanks for your help
Locked

Return to “[locked] CMSMS MLE fork”