[Solved] Upgrade title tag problem
Posted: Thu Apr 16, 2009 5:21 pm
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?
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?