CMSMS 2.0: $page_lang no longer works?
CMSMS 2.0: $page_lang no longer works?
How do I query the language of a page in 2.0? $page_lang is empty.
Regards,
Patrick
Patrick
Re: CMSMS 2.0: $page_lang no longer works?
$page_lang??
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CMSMS 2.0: $page_lang no longer works?
I want to query the language of the current page. How do I do it?Rolf wrote:$page_lang??
On that occasion, I noticed that the page related meta tags (not the global ones) no longer appear. What could be the reason?
Regards,
Patrick
Patrick
Re: CMSMS 2.0: $page_lang no longer works?
You have to be more clear what you want, what fails and what you have done trying to fix it.
Post example code, URL's of the website, System Information, screen dumps, etc. etc.
Without this, asking for help is pointless!!
Post example code, URL's of the website, System Information, screen dumps, etc. etc.
Without this, asking for help is pointless!!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CMSMS 2.0: $page_lang no longer works?
Ok, I have a multilangual, babel-based website. Each page has per page meta tags to specify the page language.Rolf wrote:You have to be more clear what you want, what fails and what you have done trying to fix it.
Post example code, URL's of the website, System Information, screen dumps, etc. etc.
Without this, asking for help is pointless!!
So far, the following code worked to fill in the language in the template:
Code: Select all
<__html lang="{$page_lang|truncate:'2':''}">
Now
- The per page meta tags are missing in the <head> section.
- $page_lang is empty.
Regards,
Patrick
Patrick