-
Posts
79 -
Joined
-
Last visited
Everything posted by jbroussia
-
I'm using SQLite for my own programming, it's a very nice little tool. Wouldn't hurt to have it as an option, in fact I've been wondering for long why we have to use such a monster as MySQL when 95% and more of the time, something like SQLite would be enough. But that's an extra-work and PW probably a lots of more important stuff to do before thinking to convert to SQLite... What would be nice though is that you keep PW "as compatible as possible" so that one day - when the list of priority improvements my be empty - it will be "easily" possible to adapt.
-
Excellent, thanks Soma !
-
I can't find the page back, but I think it was on a website comparing different light/innovative CMS, and I saw a reference to PW in the comments section by Ryan ;-) At that time I was heavily checking (and choking) on ModX, and found the transition to Processwire so easy, and the CMS so much clearer and well designed, it was love on first sight :-p
-
Better have an additional "modified" date field.
-
I don't know about the licensing issue, but you'll have technical issues then, because you'll have to manage each upgrade manually (edit files) or chose to keep an outdated version for your client.
-
Module: Languages (multi language content management)
jbroussia replied to Oliver's topic in Modules/Plugins
Goooood ;D -
Module: Languages (multi language content management)
jbroussia replied to Oliver's topic in Modules/Plugins
If I understand correctly, cloning file or image fields is different because those are stored in the file system instead of the DB !? What about the other fields, do you clone them by creating new copies of the content in the DB, or do you "link" new fields to the original fields ID in the DB ? -
Module: Languages (multi language content management)
jbroussia replied to Oliver's topic in Modules/Plugins
Oh in my case there is not need to hurry, the multi-language site I'm planning to do will only have a few pages, for now I can still do manual copies. Does this clone function clone pages *and* their children ? And what is "setIsNew" for ? -
Module: Languages (multi language content management)
jbroussia replied to Oliver's topic in Modules/Plugins
Well if the page copy/clone functionality is added to the core API, a big step will be done. -
Module: Languages (multi language content management)
jbroussia replied to Oliver's topic in Modules/Plugins
That's good news. Would/will it be possible to indicate if a page has to be cloned to other languages ? Some pages could be language specific, that is, only available in some language (think of local news for example)... -
The default template files are ANSI encoded, maybe they should be converted to UTF8 for it to work (I have no idea !) ?
-
Ouch ! I'm on SSD too, but only the OS is there, all my data is stored on another HDD, with "regular" backup (that is, when I think about it !) and the most important data is also sync'ed to my SugarSync account... but I realize now that my local web development work is not sync'ed... will add it to SugarSync !
-
Some questions (Plus tutorials on how to support multiple languages)
jbroussia replied to Snakehit's topic in General Support
I knew that that codeordie page was not from you (well, I assumed), I just mentioned it in case you wanted to redirect me to it. I'm not in a hurry, if you think it will be published in two weeks, I can wait... Meanwhile I will try to figure some things by myself, maybe asking a few questions here and there ;-) -
Some questions (Plus tutorials on how to support multiple languages)
jbroussia replied to Snakehit's topic in General Support
Adam, could you please elaborate on how you're implementing this method ? I know about http://codeordie.posterous.com/multi-lingual-sites-with-the-processwire-cms but some details seem to be missing !? I'm not talking about the YAML part allowing to translate PW messages - I'm not there yet - only about the structure, pages and their content to be made available in different languages. How did *you* do it ? By any chance, do you have a blank multilingual "demo" website that you'd use as a basis when you're starting a new multilingual project (and would be willing to share ) ? -
I think the code could be made simpler by using... <?php $languages = array('en', 'al'); if(in_array($input->urlSegment1, $languages)) { $session->language = $input->urlSegment1; } else { $session->language = 'en'; } $body = $page->get("body_" . $session->language); $headline = $page->get("headline_" . $session->language); $sidebar = $page->get("sidebar_" . $session->language); ...so you don't have to duplicate the lines with required fields for the default language.
-
Well it's too late but here they're giving 10 starts out of 5 to the Razor Imperator 2012...
-
You can drag things between apps even if you apps are running in fullscreen mode under Windows, there are at least 2 ways: 1- drag your stuff over the icon of the target app in the taskbar, that app will come to the front and then you can drop your stuff 2- drag your stuff and while holding the mouse button, do Alt+Tab to switch to your target app, then drop...
-
I already had (not for long) a mouse with a few additional buttons and a side scrollwheel, I could never get used to it: too much things to remember, and too many actions triggered unexpectedly, because if one finger slipped a little bit from its supposed position, bam it clicked on the wrong button ! I don't know anything about Macs and OS X, but I use Linux from time to time, and there are some nice shortcuts to manage the desktop under the 2 main composers - KWin and Compiz - like bumping some side/corner of the screen to have a Scale or Exposé display.
-
I thought real programmers only used the keyboard ? ;D
-
Oh I just understood that copying is not as easy as it seems, I made the assumption that the move was doing a copy/delete like in a file system, but I now realize that the move is probably just a change of parent ID in the DB. Copying implies a lot more work.
-
What's neat with the "move" functionality is that you can move *branches* of the tree: pages and their subpages will be moved. That would be great for a copy function ! From your screenshot it doesn't seem like it was possible with PW1 ? Concerning your proposal, I don't want to bother you with that (for now :-p)... but just to know, how would you detect that a page needs to be translated in multiple languages ? And as someone pointed in the previous conversation, there may be cases where some pages will be different from one language to another, local news for example, so maybe manual cloning would be better than automatic ?
-
Hi, After discussing the options for multilingual sites (http://processwire.com/talk/index.php/topic,259.0.html, sorry for using the News & Announcements section for that !), I'm now evaluating the possibility to use the "tree" method... One of the first things that come to my mind is that, for using such a method it would be nice to be able to quickly clone/copy a page from one tree to another. What I mean is that there could be new link after the existing edit/view/new/move ones, named copy (or clone) to be able to drag/drop a copy of any page, instead of moving it. So the fields would already be set up and filled with data, all that remains is the need to translate the content...
-
Multi-lingual sites with the Processwire CMS
jbroussia replied to ryan's topic in Multi-Language Support
Another problem is that for some parts of the site, the client might have to create new content: imagine there is a news section, or a blog section, the client writes a new post... then he has to browse the tree, find the matching page in every language and create a new child with the same - translated - content :-\ Also the pages won't be "linked", for example if he wants to hide or delete some content (or modify some property), he has to remember to hide/delete them under each language tree. I don't know, would it be easier to write a some tool to analyze each page and automatically duplicate fields named with a specified suffix: say my fields have the _en suffix for the default - english - language, if it doesn't find the same fields with _f_ or _es then it creates them... Then the templates could display the _en content by default if fields in the current language are empty (untranslated) !?