[Solved] Upgrade title tag problem

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.
Locked
jk
Forum Members
Forum Members
Posts: 30
Joined: Thu Dec 04, 2008 4:47 pm

[Solved] Upgrade title tag problem

Post by jk »

Hi All,

I had the MLE working successully on a v1.2.4 "Greenland" CMSMS - we had also got the language specific title tags working on this version. I upgraded the CMSMS to a 1.5.4 version but used the non MLE files.  I then dowloded the diff-MLE-1.5.4 and uploaded all the files.  Everything is working a treat except for the title tags. 

All the languages are displaying the 'titleattribute' database field rather than the relevant language fiedd eg 'titleattribute_en' or 'titleattribute_nl'.  All three database fields are in the database and correct but the pages are just not calling the right ones.  I switched debug on and I can see that the relevant language database fields for the 'content_name' and 'menu_text' are being called but the 'titleattributes' are not, see below.

Debug display of 'End of include':(0,190991) - (4150092)
Debug: (0,191339) - (4123384)

(mysql): SELECTc.content_name_nl, c.menu_text_nl,  c.content_id, c.content_alias, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by,t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE c.content_alias = 'walk-cabo-de-gata' AND c.active = 1
Error (0):

Anyone any idea where to start with this problem?
Last edited by jk on Fri Apr 17, 2009 8:23 am, edited 1 time in total.
alby

Re: Upgrade title tag problem

Post by alby »

jk wrote: I had the MLE working successully on a v1.2.4 "Greenland" CMSMS -
I suppose that you had MLE extended  ;)

Alby
jk
Forum Members
Forum Members
Posts: 30
Joined: Thu Dec 04, 2008 4:47 pm

Re: Upgrade title tag problem

Post by jk »

Yes sorry Alby - I should have said.  I installed the extened version of the MLE on the original site.
alby

Re: Upgrade title tag problem

Post by alby »

jk wrote: Yes sorry Alby - I should have said.  I installed the extened version of the MLE on the original site.
Have you read README.FIRST.extended?
rename your files ...

Alby
jk
Forum Members
Forum Members
Posts: 30
Joined: Thu Dec 04, 2008 4:47 pm

Re: Upgrade title tag problem

Post by jk »

I looked for this file in the MLE diff 1.5.4 but the readme exteneded was not there. I also looked for it in the 1.5.4 MLE full pack but could not find it.

I went through the files in the diff pack and found two files named extended in lib classes.  I have used these and hey presto it works!

Thanks
alby

Re: [Solved] Upgrade title tag problem

Post by alby »

Yes, you are right
file README are in 1.5.4b because 1.5.4 is for update ONLY and I suppose that you overwrite prev files.

Read "Multilingual 1.5.4*" topic because there are notes on UPGRADE previous sites in order to be ready for (b) version or next releases

Alby
Locked

Return to “[locked] CMSMS MLE fork”