Jump to content

$page->name always returns default name


saschapi
 Share

Recommended Posts

Hi guys,

I already developed some smaller projects with PW and I like it! ;) 

Now for the first time I'm trying to build a multilanguage site. I have the default English and German. 

Everything works smoothly.

When I output $page->title I get the current title in English or German, depending which language I'm in right now.

However if I go for: $page->name, I always get the English name. 

Does anybody know why this is happening and how I can get it to return the name of the page in the currently active language?

Thanks for any hint or solution!

Cheers Sascha

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...