ryan Posted March 29, 2013 Author Share Posted March 29, 2013 Thanks Soma, that one is fixed now. Link to comment Share on other sites More sharing options...
Soma Posted April 6, 2013 Share Posted April 6, 2013 Not sure what about it, but when I'm logged out (guest) the language page names doesn't work at all, it just throws 404 on front-end. When I uninstall the module I can access the pages (without language url) just fine. Link to comment Share on other sites More sharing options...
WillyC Posted April 6, 2013 Share Posted April 6, 2013 to.check some checkboxen active o no ? Link to comment Share on other sites More sharing options...
Soma Posted April 6, 2013 Share Posted April 6, 2013 Ah ok that something. But the languages are active. But I had on the home, entered "en" in both default and german language name. I corrected that and have now default "en" german "de" on home page. Now the german pages work for guest user but NOT the default language, it just shows 404. Now the url is /en/about/, but the page about shows only /about/ as the url. So somehow the language segment for default language doesn't work for default, but works on the alternative languages. So if I remove the "en" on home name it works. So there seems to be a bug. Link to comment Share on other sites More sharing options...
ryan Posted April 7, 2013 Author Share Posted April 7, 2013 Thanks Soma, I can reproduce that. I was not using a segment for my default language, so hadn't noticed. It should be fixed on the dev branch. Link to comment Share on other sites More sharing options...
kixe Posted April 7, 2013 Share Posted April 7, 2013 Hello Processwire-Community, I have installed German Language Module from here: http://processwire.com/talk/topic/925-german-de-de/While trying to enable multi-language, I got that: Error: Exception: Unknown column 'field_title.data1009' in 'field list'(in /Users/c/Sites/processwire/wire/core/Database.php line 118)Any solutions???Christoph/ Cologne/ Germanyscreenshots:pcw_error_1.tiffpcw_error_3.tiffpcw_werror_2.tiff Link to comment Share on other sites More sharing options...
ryan Posted April 7, 2013 Author Share Posted April 7, 2013 What version of ProcessWire? (I couldn't tell from the screenshots). What are the steps to reproduce? For instance, after which action did the error start occurring? Thanks, Ryan Link to comment Share on other sites More sharing options...
Soma Posted April 7, 2013 Share Posted April 7, 2013 Latest PW. Nothing special, no matter from where iI call the find. Not sure what else to say. I will test with another install again. Wrong thread! Sorry. Link to comment Share on other sites More sharing options...
kixe Posted April 7, 2013 Share Posted April 7, 2013 Thats right Soma its the latest Version 2.3.What I did:1) Admin -> Modules | enabled Languages Support and Languages Support -Fields2) Admin -> setup -> Languages -> Add New ("german")3) Admin -> Setup -> Languages -> Install from file http://processwire.c...5-german-de-de/4) Admin -> Setup -> Fields -> Body | changed the Type from Textarea to TextareaLanguage5) Warning: Screenshot 2 (my_last_post_above) Warning ignored6) Error: Screenshot 1 (of_my_last_post_above) occured7) Admin -> Setup -> Fields -> Title | changed the Type from PageTitle to PageTitleLanguage8) Warning: Screenshot 2 (my_last_post_above) Warning ignored9) Database crashed, Error: Screenshot 3 occuredI am just playing around with the system and the example page. Until now I didn't put in any data.I need the possibility of multi language editing in the backend. Link to comment Share on other sites More sharing options...
Soma Posted April 7, 2013 Share Posted April 7, 2013 Uppps I posted this from mobile and my mind was in another thread of mine... So ignore my post! Link to comment Share on other sites More sharing options...
kixe Posted April 7, 2013 Share Posted April 7, 2013 I installed PW again. I did step 2 and 3 after 4 and 7 and changed all the other field types to the **Langage - Type too.Its working now. no errors 1 Link to comment Share on other sites More sharing options...
petsagouris Posted April 11, 2013 Share Posted April 11, 2013 I have downloaded a fresh Processwire from the homepage and I am not seeing the screenshots as in Ryans screengrabs What am I missing ? Link to comment Share on other sites More sharing options...
apeisa Posted April 11, 2013 Share Posted April 11, 2013 Those active boxes are on the dev branch. Link to comment Share on other sites More sharing options...
horst Posted April 11, 2013 Share Posted April 11, 2013 (edited) I have downloaded a fresh Processwire from the homepage and I am not seeing the screenshots as in Ryans screengrabs ... What am I missing ? I'm not sure, but could be that you have the last stable PW and this feature you looking for is only in last dev-branch: https://github.com/ryancramerdesign/ProcessWire/tree/dev EDIT: Ok, apeisa is to fast for me Edited April 11, 2013 by horst 1 Link to comment Share on other sites More sharing options...
petsagouris Posted April 11, 2013 Share Posted April 11, 2013 Ah, good good thanks both of you for pointing that out. Is there a way to update my current installation to the latest dev branch ? Link to comment Share on other sites More sharing options...
horst Posted April 11, 2013 Share Posted April 11, 2013 Ah, good good thanks both of you for pointing that out. Is there a way to update my current installation to the latest dev branch ? replace the complete wire folder with the new one, but keep the sites-folder unchanged (just delete / copy or rename to backup and copy new) Link to comment Share on other sites More sharing options...
Soma Posted April 11, 2013 Share Posted April 11, 2013 Replace only wire folder and do clap your hands two times. Done. 1 Link to comment Share on other sites More sharing options...
petsagouris Posted April 11, 2013 Share Posted April 11, 2013 Replaced the 'wire' folder from the dev branch but still the same. I have even tried typing the path again hoping that it will get added but nothing has changed. I also clapped my hands twice that didn't work too Link to comment Share on other sites More sharing options...
horst Posted April 11, 2013 Share Posted April 11, 2013 Hhm, that's a thing for the pro's. Only thing what comes to my mind is if you use an AdminTheme in your sites-folder you can do one test with it disabled (renamed) to see if the missing elements get suppressed by it. ?? Link to comment Share on other sites More sharing options...
petsagouris Posted April 11, 2013 Share Posted April 11, 2013 Disabled the admin theme still no path prefix to the other language page. http://i.imgur.com/2FjYvBW.png Link to comment Share on other sites More sharing options...
horst Posted April 11, 2013 Share Posted April 11, 2013 Disabled the admin theme still no path prefix to the other language page. http://i.imgur.com/2FjYvBW.png Sorry, have no more ideas. It's up to the pro's here. Link to comment Share on other sites More sharing options...
petsagouris Posted April 11, 2013 Share Posted April 11, 2013 Sorry, have no more ideas. It's up to the pro's here. Not a problem. Thanks for your help and persistence so far 1 Link to comment Share on other sites More sharing options...
Soma Posted April 11, 2013 Share Posted April 11, 2013 What are you missing again? Paths prefixes? you mean like /de/... /en/... ? Those are set on the homepage name. 3 Link to comment Share on other sites More sharing options...
petsagouris Posted April 11, 2013 Share Posted April 11, 2013 What are you missing again? Paths prefixes? you mean like /de/... /en/... ? Those are set on the homepage name. AHAH! Thats it!! At the most logical of places. Thanks for the tip Soma! 1 Link to comment Share on other sites More sharing options...
ryan Posted April 13, 2013 Author Share Posted April 13, 2013 I've been making regular updates on the dev branch to the LanguageSupportPageNames module, so if you guys are using this, you may want to keep track of the updates. The good news is that this module is now running a production site: http://tripsite.com/cruises/ (only the /cruises/ site, as the rest of the site is running on a different copy of PW). This morning I pushed an update that makes it easier to tell if a given $page is viewable in another language. Now you can do this: if($page->viewable($language)) { ... } // Language object if($page->viewable('es')) { ... } // Language name That is basically telling you if the page has its "active" checkbox checked. Since these pages would already be excluded from search results, you don't typically need to use it except when on a given page and trying to determine what other languages that page is available in (like if you want to link to them, as the select box at the top of tripsite does). 6 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now