Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by gebeer

  1. Hi everyone, I'm currently setting up my first multilingual project on a brand new 2.4 install. One of the things I tried to find out is how to change the default language. Fortunately I'm not the first one and I found good solutions. While reading through a lot of stuff I stumbled upon the suggestion to change the language of the guest user here and here. So I tried that and always get the error: "The guest role is required". Despite the error the language change gets saved. Two other users also reported this here and here. Like Relmos reports, after switching the guest user language, my site also displays in the default language. I checked with <?php echo $user->language->name; ?> in Chrome Incognito mode. This raises 2 questions: 1. Is setting the guest user language really affecting the language displayed on the home page or is it only determined by what language I set the default language to (like explained here)? 2. Can anybody reproduce the error message when switching language of guest user and what does it mean? The guest role is still there after switching. So I don't quite understand the meaning of that error message. Patiently awaiting partial enlightenment through this great community gerhard
  2. Hi Joss, I wish I could do that also. There's plenty of space in my garden but unfortunately the clients are not willing to pay for transition to PW :-(
  3. I spent the last 10 days or so fiddling around with some Joomla/Seblod installs that I have to maintain and totally missed out on the PW2.4 release. Now I quickly updated the config.php of my pwfoundation5 template on github to reflect all the changes.
  4. @Sérgio, thanks a lot for your help! I was not aware of the update issue with Foundation and will add the link to the readme. For production sites, I guess most people are still using PW2.3. But for those who want to use 2.4 I would like to add an alternative config.php to my repo. Could you please open an issue on github and paste your complete working config.php for PW2.4 there? I will then include it as an alternative in the repo. That would be great. Cheers gerhard EDIT: config.php is updated to 2.4 version
  5. @nfil, if Ryan's Foundation 4 profile is working for a multisite setup, mine should be, too. Because it is based on Ryan's. Only changes I made is adding Foundation 5 scss files and change the structure so that only a single css file is output.
  6. I just added this to the valid attributes on a 2.3 stable install and it is saving the title attribute just fine + it is showing up in the source.
  7. Thank you, Sinmok, for this module. I'm playing with it in my new Foundation 5 Profile and it seems to work nicely with text. Haven't tried with images yet. I might be using this on a live site for a client. Haven't looked at the module code yet. Does it check whether page is editable before loading required code/assets? I am not sure, so I prepended the code in my template with "if($page->editable())", so it looks like if($page->editable()) $inline = $modules->get("InlineEditor"); if($page->editable()) echo $inline->setupField("headline|title"); if($page->editable()) echo $inline->scripts(); Is this necessary at all? Thanks gerhard
  8. This looks great, Joss. Thanks for sharing. Nice implementation of the clearing lightbox. I also like the images. Why are those sheep annoying? And what a great name for the repo
  9. Thanks for clarifying this, kogondo. I went to https://github.com/r...ProcessWire.git, chose the dev branch and copied the clone URL. Ending up cloning the stable version. You can see, I'm not that familiar with git yet. I just read up on how to checkout a branch and now can see font-awesome stuff in my local branch.
  10. @kogondo Thanks, I didn't know that. I cloned from https://github.com/ryancramerdesign/ProcessWire.git dev branch and there's no font-awesome in there. So this must be 2.4 then?
  11. I also released my Foundation 5 SCSS template today. You can check it out at Joss's Foundation 5 template thread. Have a great day!
  12. @Joss now I had the time checking out your template. Nice work! Always good to see how other people approach things. I see you are using font-awesome. Thats a good inspiration. Wanted to check it out for some time and haven't done it yet. As far as I can see, there is no central scss file that handles all the @imports. So you are using the foundation scss stuff to compile foundation.css. And for the site.css there's no corresponding scss. If you take a look at my template, I combined everything, so that there is only one resulting style.css that includes everything, foundation and site specific styles. This way you can define your own scss modules and add more logic to the scss structure. Cheers gerhard
  13. Hi all, today I finally managed to get everything working together properly. Now here is my Foundation 5 dropin template: https://github.com/gebeer/pwfoundation5. It uses Foundation 5 SCSS files. There's a quite extensive readme file with instructions. The template is based on Ryans FoundationSiteProfile. My approach takes advantage of the SASS/SCSS/Compass technology. So the output of the final CSS is highly customizable and only one file (style.css) is put out. You have full control over which modules of the Foundation framework you want to include in your project. This results in smaller CSS files that can be minified upon compilation with Compass. You can use the template as is. But if you want to modify the CSS, you need to have additional software (Ruby/Compass/Zurb Foundation gem) installed on your machine. In the template's Readme.md you will find instructions on how to do this (for Mac and Linux machines - Windows: sorry I don't know). If you are familiar working with SASS/Compass you will find your ways around easily. I have setup a structure that allows for updating the Foundation framework independently and that separates the project specific css from the Foundation css. This is a work in progress and I'm planning on using it for the relaunch of my own website. If you find any bugs, please let me know here or on the github bug tracker. I will try to fix them. Everyone is welcome to contribute or ask questions. Cheers gerhard
  14. just a little followup: I'm still working on my template. Having trouble with correct configuration of compass / foundation scss to output the desired file in the desired location. Should be straight forward, I thought. But foundation documentation is a bit scarce on that topic. So I'm going through lots of trial and error with no satisfactory result so far. So it will take me take some more time until I can release something. Also hanging in for Joss's template, sounds great
  15. Just to be on the safe side I would need to know whether AJAX page load can lead to problems with multilingual sites and a language switcher. Haven't done a lot of AJAX so far and just wanted to clarify if this is possible on a multilingual setup without too much of a hassle. Thank you gerhard
  16. @Craig thank you, I will take a look and see how I can utilize this for my project. Cheers gerhard
  17. Hi all, great to see that so many of you are interested in an update to Foundation 5. So am I. I'm currently working on a Foundation 5 profile based on Ryans great work. I use the scss version of foundation as to have more control over the compiled css (compiling with compass). Also I'm including scss replacements for the main.css that get compiled together with the foundation stuff. So at the end I will have only one css file, minified. Not sure yet how to handle the foundation JS. At the moment I'm using the minified version with all modules included. But it would be nicer to generate my own js file that includes only the project-relevant modules. As there is no JS minifier included in Foundation framework, I'm looking for other ways to achieve this. If anybody has got an idea, please post here. Will take me a few more days until I release my work because tomorrow I'm off to the beach for a couple of days with no www access. But plenty of sun and Sangsom
  18. @Soma I had already checked for the right Apache/PHP user and it was the owner of the cache file. So something else must have gone wrong.
  19. gebeer


    @teppo thanks a ton. Strange is that I tried the root for favicon and it wouldn't get picked up by neither FF nor Chrome. I had purged my cache to ensure that it wasn't a cache issue. Not sure, maybe I should've closed and reopened the browser,too. I will give it another try. There's an interesting read "rel="shortcut icon" considered harmful" about link rel="shortcut icon" vs. rel="icon". It discusses html5 validation and browser compatibility issues. That is why I would like to go without the link tag in the head. Cheers gerhard
  20. I solved the probem by deleting ModuleManager.cache. After that ModulesManager started just fine and was rebuilding its cache file.
  21. Hello and thanks for the nice ModulesManager module. I'm running into a problem after deploying the site on the live server. When I open ModulesManager I get this error: TemplateFile: cannot read cache file /is/htdocs/.../site/assets/cache/ModuleManager.cache The file is there and its permissions are set to 640 so it should be readable by PW. Any idea what might be the cause? Thank you gerhard
  22. gebeer


    Hello, this may be a dumb question, but I'm fairly new to PW and just have finished my first project. Now I'm asking myself: Where in the PW directory structure would I put the robots.txt file? My first guess would be /site/templates. Second is root. I'm asking this because I had problems with the favicon.ico. I still don't know where to put it so it gets picked up automatically by browsers. Itried various locations and then ended up putting it in templates dir and have a <link rel=icon" href="path/to/favicon.ico"> in the head section of my template. But I'd rather go without that link tag. Any enlightenment on the correct locations for robots.txt and favicon.ico would be great. Thanks gerhard
  23. @teppo thanks again. Yes, this solves my problem.
  • Create New...