Jump to content

apeisa

Moderators
  • Posts

    4,632
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by apeisa

  1. But the saving problem persist? I guess that is also because ajax-saving in PW-core doesn't support multilang yet.
  2. There is just a typo on Ryan's example: $createduser and $createdUser.
  3. there is field permission module by Ryan, you find it from modules directory. on mobile so I leave the searching for you.
  4. Adrian, thanks for your work on this. I am super busy at the moment, but I have great plans for this (reusing common templates etc..). Will definitely give this good ride soon.
  5. PW is like a drug. Don't try kids, you will be hooked.
  6. if you dont need local password/login then nothing bad in this solution. other options are building your own or modifying this one.
  7. absolutely fantastic (on mobile)!
  8. i use it on few hobby sites. works great, but not the most elegant solution.
  9. Just realized that Teppo's awesome blog isn't mentioned here yet: http://www.flamingruby.com/blog/ and really recommend it's new hooks post: http://www.flamingruby.com/blog/using-hooks-to-alter-default-behavior-of-processwire/
  10. How about using text field and simple pattern to keep it like date? If you put this into pattern setting of your textfield: [0-9]{1,2}:[0-9]{2} it will only allow values like 9:15, 14:20 etc... Of course that regexp could be tweaked to US friendly if pm / am etc are needed. I find all the timepickers clumsy compared to clear and simple text input. Oh, and if data needs to be 100% valid, then this is no good of course, since this allows values like 99:99. Regexp could be tweaked though...
  11. Daddy bear is back!
  12. Works great - except for CKeditor on inline mode. Data is saved correctly, but it seems that JS fails to populate the retrieved content.
  13. Great module, thanks for building it!
  14. Tyssen, might be good idea to provide little bit more information about the job, since form builder module is not available for everyone.
  15. little confused. You don't need to touch htaccess at all. just create folder /anotherweb/ next to your site and wire folder and it should work just fine.
  16. Maybe you have some other request (iframe, ajax loading, something?) that is happening behind the scenes. Maybe add $_SERVER['REQUEST_URI'] to your log?
  17. what about using default language as a placeholder? always redirect to some other language if accessed. oh, i am little slow today
  18. you are probably hooking into page save (you left the actual hook away from code). When you create new page, then it is also saved and hook gets repeated. Simple way of preventing is adding runtime property to your new page: $calendar->skip = true; and check for that property before creating new page. EDIT: I see you have template check there that should do the same - but it has a bug in it: if($page->template = 'group') should be with ==
  19. Teppo: have you tried this with the upcoming admin theme yet? I tried few weeks ago and it didn't work (probably just because CSS class name changes). Didn't mention about it then since all is bit experimental still.
  20. Ryan: noticed that font-awesome has just changed the naming convention from icon-iconname to fa-iconname. Should we keep using icon-iconname, require new one or support both?
  21. Just hitted this myself. Should all languages be active from API by default? That would be in line with how it functions in admin.
  22. Was on mobile earlier and didn't look at the site. Now visited and gotta say I love it! Superb work!
  23. I guess your host has enabled some kind of redis based sessions that clashes with file based one that PW uses. That RedisException is definitely not coming from PW, maybe from phpredis: https://github.com/nicolasff/phpredis/issues/184 One option to think is to install "Session Handler Database" module (comes with PW core) that moves sessions from file based to mysql database. Not sure how the redis sessions work at your host, so not sure if that helps at all. It seems that the host is taking sessions from pretty low level anyways. Which host you are using? Probably only that you do not find sessions files from /site/assets/sessions/ (they go into your hosts redis db).
  24. For me (incognito) it was fifth.
  25. If you can PM me login credentials, I can take a look. Login page seems to be normal at least.
×
×
  • Create New...