Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
I'm working on a client page and for now everything works like a charm.
but i'm stuck with a little problem.
some parts of the page will be multi-linugual. (up to 6)
i've put the editable areas in tabs to make it easier.
the blog section has two (dynamic) folders.
and now the problem:
how can i have the content of folder1 in tab1 and folder2 in tab2?
Hi,

I am sorry but I don't think I could understand the issue fully.
Could you please explain the problem a little more ? (maybe attach an image of where exactly you wish to have what).

Thanks.
Ok.. maybe i didn't explain it clear enough.
since only parts of the page are multilingual (main language is english) i've put the multi lingual parts in tabs.
The Blog is in english and german so i set up a folder for each language
as far as i understood the folders are like categories.
so now i want to display a listing of the english posts in one tab and the german posts in the other tab.
i need something like <cms:show folder='1'> to display the full posts in one language.

i hope it's better described now and you can help.
Could you expand on the tabs? I'm not sure what you are referring to. Is this something on your frontend design?

If you have setup the pages in folders, then you can quite easily show only the pages for each language:
Code: Select all
<cms:pages folder='en'>
    ...
</cms:pages>
If you are generating the list on the folder view (yoursite.com/blog/fr/) then you can simply do:
Code: Select all
<cms:pages folder=k_folder_name>
    ...
</cms:pages>
Pictures would be very helpful in understanding this.
I am using these 'tabs' to switch between languages: http://tympanus.net/codrops/2012/04/12/ ... with-css3/

KK helped me to find my problem and now everything is working like it should.
Code: Select all
<cms:pages masterpage='my-template.php'  folder='en'>

..did the trick and was what i was looking for.

@cheesypoof: thanks for you 'starter-theme' helped me a lot to get started with the page ;)
5 posts Page 1 of 1