Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Using Page Contorl for Multi-language


Reply


1584 Views

Avatar
Rayman

Community Member, 3 Posts

5 January 2009 at 3:52pm

I am trying to build my first themes, but I meet a problem on page control in Multi-language.
I have make a new type-page for the HomePage, it will show some content high-light.

For example, I make a <div> area to show out some items under product.
I try to use <% if $title=Product %>, it successful find out which items I needed. But when I change to other language, it don't work because the $title translated to other language.

Any build in variable can be use for my case.