Forums / Developer / attribute_id
Golvier Jean
Friday 14 May 2004 2:49:38 am
How could I find the attribute_id of language_code ? My aim is to filter articles on language attribute because on my multilingual website, all articles of my primary language are not translated in the second language.
Thanks for help,
Jean
Willie Seabrook
Friday 14 May 2004 10:29:29 pm
From ez version 3.3 (i *think* thats the correct version) you can view the number id of each attribute from the content classes page under setup. Just click on the link to view the class as you would view any content object.
If your version of ezPublish is earlier then you'll have to click the edit button.
Are you in fact talking about an actual attribute here or localisation?
Regards,Willie
Monday 17 May 2004 7:02:13 am
"Language" is not a part of "article" class when you look at this class in the setup.
In order to reach my goal, I make a switch condition which match the language_code but I can't use it everywhere. In another page where I use a fetch with google type pagination, I must filter on language in the fetch otherwise only translated articles are shown but pagination correspond to all articles ?
Help me !