Jump to content

HammHetfield

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by HammHetfield

  1. So the first one (duplicated tree) seems to be the simplest for my actual skills... My first website with PW is already online : www.justinmarsan.com only a day of work \o/ haha love it !
  2. I'll need to read that carefully once again because I didn't understand everything, but will ! In the meantime I had an idea : I could add (fr|en) in the htaccess : RewriteRule ^(fr|en)/(.*)$ index.php?it=$2 [L,QSA] This way, PW's should work fine since it'll get what it would normally have (the uri) and I can get the language from the url. I'm not familiar with everything (thought it's really simple, amazing) so I'll have to think about it again...
  3. Thanks for your reply (didn't expected it to be that fast). Actually I'm not worried much, I'm just thinking about the end admin (won't be me) he'll still have to create the pages twice or duplicate them instead of filling 2 fields, one for each language. If there is no other way, I'll do that but I'd rather not have to use a duplicated tree. Is there, by any chance a way to add a variable in the beginning of the uri like (fr|en). For short is there a way to add something at the begining of the uri that PW won't "watch" to match the routing ? I think this would be the simplest solution, maybe not to code but for the end user/admin...
  4. Hi everyone I'm new to PW, discovered it yesterday and playing with it today and I have to admit that I amazed, It powerfull but still so simple, I don't why I had never heard of it ! Anyway, I'm wondering how you would create an international website (2 languages, french and english). My only requirement is that the language bust be present in the URL. At first I thought I could create 1 child to Home for each language and "duplicate" each page in both languages but this seems a bit too much, I'm pretty sure you could tell me how I could add a variable at the beginning of the uri or something like that. Or maybe another solution Anyway great CMS/Framework here, I'm pretty sure I'll use it for a lot of websites (my portfolio is already on the way).
×
×
  • Create New...