last day (36 days later) » 

3:43 PM
Hey Dominic!
 
Hi Carl
First time here
 
What did you mean with you used the code before?
Did it already work?
 
Yes, It did, before adding first locale from dashboard
To output code, I went according the documentation
 
What do you mean with first locale?
 
I was starting with craft, and wanted to see, How it works. So I was testing everything.
 
3:53 PM
It's great, isn't it?
 
By default there is English + first one
 
first one what?
 
Oo Yes, It is indeed!
locale
so at the end, there were two locales
 
Let's say you're from china, so there's the two locales "zh" and "en".
 
Correct.
 
3:56 PM
And you have localisation set up to work via subfolders:
 
Yes
 
if you're on example.com/zh, Craft will get everything from this "zh" locale only!
On example.com/en everything from "en", OK?
 
Yes
Wait.
 
entries, tags, everything
 
I have example.com for en and example.zh for china
 
3:59 PM
doesn't matter
 
but It gets everything correctly
Now, tags doesn't get load
 
So what's the problem you still have?
Yeah but why did you add the locale to it? leave it out, that's what I#m trying to explain you, OK?
You just said, it worked before adding it. So use the code I posted and you're fine!
 
Do you mean added the locales to the code?
 
You don't want to understand me, right?
 
I'm trying
 
4:04 PM
That's what you wrote: "Yes, It did, before adding first locale from dashboard"
And you also said that the code I posted does look like the one you already had.
 
Yes, but the code was untouched, I only added locales, so I can implement locales to the site
Like build the locales menu
Than I've noticed, that tags disappeared.
 
Something else must have gone wrong.
The tag code works the same, on sites with localisation enabled and on sites without.
 
It was odd to me too.
 
Yep, now that you now understand that craft always gets the data from the locale you're currently on.
Hey aberkie! Welcome..
 
Can wrong configuration in general.php do something to it?
 
4:12 PM
No, I don't think so, because everything else works for you.
But sorry, Dominic. I'm leaving you now...
 
Thank you Carl!
 
Have fun exploring all of Craft's features!
 
Yes, I will
 

last day (36 days later) »