Jump to content

dotnetic

Members
  • Posts

    1,070
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by dotnetic

  1. 2018 update: You can also use strtotime in selectors since a while (don't know in wich PW version, but it works in versions > 3. So you could do: $pages->find('template=invoice,created>"first day of this month",created<"last day of this month"'))
  2. Hello @colinosoft. Normally your hosting company should have backups of files and databases available. Please provide more info of what exactly you did. Did you remove files via FTP, SSH? Did you ask your hosting company for a backup?
  3. @tires The pull request is here https://github.com/ryancramerdesign/TextformatterVideoEmbed/pull/12
  4. I am planning to make a PR on github the next few days, in the meantime you could download my version of the module, as soon as I release it on github. Will notify you here.
  5. I did the same for the TextformatterVideoEmbed module. Also added an option to it, if you want to use the nocookie domain or not.
  6. I come from the future and have to tell you ProcessWire is here to stay @gebeer My sync is not connected to git, I am planning to do so, but you know... missing time. I send you the rsync shell script via DM.
  7. @wbmnfktr Thanks for the compliments. Regarding your question: It might be good to make an own thread for this. But to give you an answer: If there is some sensitive data in the case study, I ask my customers if it is okay, to have that data in the study. If not, I remove it. And sensitive data in the backend is replaced with dummy data or blurred, because if not, it could conflict with the law (regarding your country).
  8. I am tracking the changes from the beginning with your module, and want to query the markupactivitylog table for the first entry a specific field named "status" (not processwires status) was changed at first.
  9. @Zeka I added the link to my article. Thanks again.
  10. In the beginning of the year, I relaunched the website of P. Jentschura and it took some time to publish the case study for it, but here it is (only in german atm, but you could use a translator tool). Wie wir P. Jentschura halfen, die Conversion Rate zu erhöhen, neue Interessenten zu gewinnen und eine Erfolgsmessbarkeit einführten. Translated title: How we helped P. Jentschura to increase the conversion rate, win new customers and measure success. I plan to publish the case study in english also, but it could take some time.
  11. Hey @bernhard any updates on a release date or progress with RockDataTables? RockFinder repo at gitlab even mentions, that you renamed it to RockGrid?! I can't wait to get this module into my hands.
  12. Hey @renobird, is it possible to get the first date a specific field was changed? How would I do this? Any suggestions?
  13. Ok, here you go. It's simple. Create two files in your root directory gulpfile.js var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var gulp = require('gulp'); var jsFiles = 'lib/**/*.js', jsDest = 'dist/'; gulp.task('scripts', function() { return gulp.src(jsFiles) .pipe(concat('scripts.js')) .pipe(uglify()) .pipe(gulp.dest(jsDest)) }) gulp.task('default', ['scripts']); Please change the paths to your javascript files according to your needs. In my example every .js file under "lib" and its subdirectories are catched. You can also change the jsDest. This is where the concatenated file "scripts.js" will be stored. Create a package.json { "name": "gulp-simple-concat", "version": "1.0.0", "description": "", "main": "gulpfile.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "gulp": "^3.9.1", "gulp-concat": "^2.6.1", "gulp-uglify": "^3.0.0" } } Then run npm install Node.js has to be installed for this to work. But it is very common now for web-devs to have this installed. When npm is finished, just run `gulp`in your console/terminal. That's it. Now you have a concatenated and minified javascript file.
  14. Multiple files would be multiple HTTP Requests which would take a longer time, than loading one large file. There are some readings what is "a lot" and if you stay under 14KB you can do the whole file in one roundtrip. Don't know if this is correct, but this is something I remember. Don't know if this still is relevant with HTTP 2.
  15. Then a simple gulp task or webpack would be the way to go. Are you interested in a simple minification script for gulp?
  16. @bernhard You could use the AIOM Module for this, it should also work in the backend. Please look at the sections "minify Javascript" and "Conditional loading". You can even parse LESS files with it. But who needs LESS, when you have SASS? Oooops, I didn't say anything
  17. If you want to do this just for a specific language, find the ID of this language and replace {id}, including the curly braces with this ID in the following code: $pag = $pages->find("has_parent!=2"); foreach($pag as $p) { $p->setAndSave("status{id}", 1); }
  18. This module does not work with ProcessWire 3.0.x. If you try to edit a page "The process returned no content" appears (translated from german). Must have to do with the hooks not returning correctly. Sadly the README on github says, that this module is no longer maintained.
  19. RockSqlFinder is sooooo fast and memory friendly, even when using one page. Really nice.
  20. Wow @bernhard. This looks so good. Can't wait to get my hands on it. Could you give me access to the source so I can play with it? Really looking forward to this module.
  21. I don't share the opinion that the installer ist the best thing possible. There could be more improvements, for example the locale setting that you mentioned. Or displaying the installer in another language. But as ProcessWire is Open Source everyone can submit ideas or fixes. If you don't speak English so well, use an online translator such as https://www.deepl.com/translator, which is the best one I know and submit your ideas to this forum or on https://github.com/processwire/processwire-requests
  22. @fermion As a reaction to your hosters answer: The setlocale() function only has an effect if the locale you are trying to set is installed on the server, and locales do not have the same name on every system. Some linux distros or windows use different names. If for example the "de_DE" locale isn't installed and you call `setlocale(LC_ALL,'de_DE');` then the default locale would be used instead. That's why there are different namings for a language in my code. On linux you can find out which locales are installed with `locale -a.
  23. Hey @adrian, thank you for your continous great work and efforts on this module. Is there any way we can support you with a little donation or something else? Would you even want that? Tracy Debugger helped me so many times, and reduces my work and error finding, so I would like to give something back to thank you. I know, that you invest much time in developing this.
×
×
  • Create New...