Jump to content

markus_blue_tomato

Members
  • Posts

    175
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by markus_blue_tomato

  1. Nice! will you upgrade TemplateEngineSmarty also soon?
  2. @gebeer did you solve your problem with the... $_SESSION = array(); session_destroy(); ...solution? Did you see any performance improvement?
  3. I think this is okay - maybe to put some documentation note about that in the readme for user's who used MarkupSEO and will migrate zu SeoMaestro.
  4. Very cool! I used this other markup-seo module since yet but I think I will try to switch soon, because I had to trick some stuff into the other module to get multilang. One thing what would be cool, I guess: the whole SEO-Fields into an extra "SEO" tab on the page.
  5. Recently I created some graphic which shows our cms-stack and nice we are using percona mysql as database I noticed that ProcessWire and Percona have some similar logos: 😁
  6. Not now but soon. We are developing around our ElasticSearch Instance a GraphQL Service and will than show Content from our Blog etc. in other heavy traffic section on https://www.blue-tomato.com When it is live I will post it here
  7. I found a solution. I added following to my php.ini: redis.session.locking_enabled = 1 redis.session.lock_expire = 60 redis.session.lock_retries = -1
  8. I'm looking for some help with Sessions in Redis and Memcached. First, I discovered this issue in the third-party module SessionHandlerRedis from @netcarver After reading more about Session in PHP with Redis, I found that PHP can handle this (and also with memcached) out of the box without any third party module. I tried it with Redis and memcached so in this cases I added following to my php.ini session.save_handler = redis session.save_path = "tcp://127.0.0.1:6379" session.save_handler = memcached session.save_path = "127.0.0.1:11211" Everything went well and sessions were saved to redis/memcached in both methods. ..... but: The only thing what does not work, was the upload of multiple files at once. So when I upload two images, only the image which are last finished are saved to the database. In the JSON response of the AJAX upload request, the page-id of the file where in both files the same id. Sometimes with memcached the response failed because the response was no valid JSON and the response was the login page of processwire. I opened an issue in processwire-issues but @ryan hasn't worked with this kind of session handling since yet: https://github.com/processwire/processwire-issues/issues/798 Does any body uses Redis or memcached as session handling and has also found this bug?
  9. Hi @adrian thanks... something is wrong with my forum account. I can't edit my posts, I can't edit my profile (picture etc.) and on the module page I am not visible ad author of the module... do you know what could be wrong?
  10. ElasticsearchFeeder This ElasticSearch module for ProcessWire will sync your page content to an ElasticSearch index, which provides you a convenient way to search it. Thanks to @jonathan-dart who created the first ES Module for PW and which influenced us a lot. Our approach was to create an a module where we can make for each template a flexible schema. You can define on you own which data ind which format should be transfered to ElasticSearch. Github Page: https://github.com/blue-tomato/ElasticsearchFeeder Module Page: https://modules.processwire.com/modules/elasticsearch-feeder/
  11. node-processwire-logger Node.js module to log directly into the ProcessWire CMS/CMF log. Why? We had an use-case where we pre-generate static html pages from ProcessWire with ProCache and some internal node.js generator script. We thought it would be helpful to log errors when something goes wrong in the generator-process directly to the ProcessWire log. For this reason we created this Node.js Package. Github Page: https://github.com/blue-tomato/node-processwire-logger NPM Page: https://www.npmjs.com/package/node-processwire-logger
  12. TemplaneEngineMustache This module adds Mustache as engine to the TemplateEngineFactory. Project page in Github: https://github.com/blue-tomato/TemplateEngineMustache/ Module Page: https://modules.processwire.com/modules/template-engine-mustache/
  13. hi @thetuningspoon ! does the redis module still work for you? I got some strange issue with it and also with the native redis and memcached session_handler im PHP: https://github.com/processwire/processwire-issues/issues/798
  14. okay this is not an bug in the module. this happens also with native redis php session store and also with memcached. I have filed a PW bug: https://github.com/processwire/processwire-issues/issues/798
  15. Hi @netcarver I run into a very strange bug with SessionHandlerRedis which I documented as github issue: https://github.com/netcarver/PW-SessionHandlerRedis/issues/5
  16. Hi, I have tried to install the module and got an error. full report: https://github.com/karltdev/SessionHandlerDBRedis/issues/1
  17. Is there a way to use https://www.smarty.net/docsv2/de/api.register.function.tpl with this module? Can I access the $smarty class?
  18. $pages->find("template.name=songs, title=Last Christmas, band=Wham")->play(); // sorry for trolling ;-)
  19. I've tried some experiments with Processwire on Heroku (with multiple Dynos). It worked - I used For Sessions: Heroku Redis + https://modules.processwire.com/modules/session-handler-redis/ + https://elements.heroku.com/addons/heroku-redis For Uploads: Amazon S3 + https://modules.processwire.com/modules/amazon-s3-cloudfront/ For the DB: https://devcenter.heroku.com/articles/jawsdb-maria
  20. Thx! Our IT and Web-Dev Department is located in Graz - so greeting to vienna 🙂
  21. Thanks! I tried this and it works great (example): $field->useRoles = 1; $field->editRoles = array('author'); $field->viewRoles = array('translator', 'author'); But I decided to solve it in an other way - because I have an hook where "translator" have also edit right to the field. The user only should not have write-access in the GUI to it. I solved this with the "Visibility" setting. Namend "collapsed in the API: $field->collapsed = 7;
  22. I want to create a field, which I add later to a template. How can I set the access-rights only to superusers? I want, that this field is only visible to superusers. And my second question: Is it possible to make the field also read-only in the frontend but write-able from the API? $field = new Field(); $field->type = $modules->get("FieldtypeText"); $field->name = "my_field"; $field->label = "My Field Label"; $field->value = ''; $field->save();
  23. aaaah. holy shit sorry. my fault! I have 2 image fields in my template and the field which I tested was empty. But I was worried why I got an asset-path back and not NULL or else... Now with an uploaded image in the field it works.
×
×
  • Create New...