Jump to content

flydev

Members
  • Posts

    1,327
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by flydev

  1. @BitPoet And about this question? an idea ? Sorry Rajiv for the wrong link
  2. Hi, in before better answer, check this small thread from yesterday :
  3. I dont know. To test an upgrade, just make a backup of your database, rename the directory Blog to .Blog (in site/modules path) and past the new Blog folder from the ZIP you downloaded from github, copy the content of modules/Blog/template-file folder in your templates folder, then go to in backend > modules then click Refresh and see what happen. Edit: It dont work. The module have some dependencies not fixed, it do not copy the content of certain files, and some problems appear due to namespace. We must wait comment from BitPoet.
  4. From the module directory ? if yes : - uninstall it and reinstall this version : https://github.com/BitPoet/Blog/archive/dev-3x-compat.zip
  5. Hello @Rajiv welcome to the forum. Which version of the module have you installed ? It is the fork of @BitPoet linked there ? : PS: for better support you must post directly to the support thread of the module.
  6. also, consider buying PathFinder on your mac, you will have full control over your file system and will save you a lot of time. I am on a mac since september, and didnt opened the Finder since I tried this program.
  7. Got it working, the cron task call the PHP script. Now I am getting another exception, but I suspect my code MariaDB server - I will open a new thread, thanks for your help horst ! @Entil`zha could you update the module ?
  8. Yes I refreshed the modules cache, but even more, I reinstalled it from scratch (PW, PwCron) but still getting the same error. I will try on a live server into one hour and will come back. Thanks again.
  9. Thank you horst, I made the change, now calling the cron.php via CLI still give me this error :
  10. Another try on PW 3.0.40, another error : Someone has already tried this module ? if so, is it working properly?
  11. To complete @pwired answer, you can also read this blog post and this. You could also study the code of blog profile 2. It use another approach. I think that after these posts you should have a clear idea on how to structure your template folder.
  12. @Pravin You need to remove the html code - first (<pre>) and last lines (</pre>) in your clean-file.php.
  13. You could use $imageobject->width and $imageobject->height So you will use it like that : $square = $page->original_uploaded_image; echo ($square->width >= $square->height) ? '<img src="' . $square->width(500)->url . '" />'; : '<img src="' . $square->height(500)->url . '" />';
  14. Hi, I have the following error on ProcessWire 3.0.40 / MySQL 5.6.28 / PHP 5.6.25 : And this error on another live site (ProcessWire 3.0.25 / MySQL 5.5.50 / PHP 5.6.24 :
  15. try : $items = $pages->find("template=event")->setTotal(100)->setLimit(10); echo $items->renderPager();
  16. Hitting the "Refresh" button could help here ?
  17. Hi Jee, if empty, the inputfield set himself with the right value on the page save(). Doing something like this should work : // set outputformatting to false $page->of(false); // set the date field to an empty string $page->datenow = ''; // save the page, the date field should be updated $page->save(); // set outputformatting to true $page->of(true);
  18. Another little info : memory_limit must be > post_max_size to prevent poorly written scripts for eating up all available memory. And also the LimitRequestBody Apache's directive allows the user to set a limit on the allowed size of an HTTP request message body (set to 0 (illimited) by default).
  19. On the details tab of the field, look at Inputfield Type option, you should be able to switch between textarea / CKEditor.
  20. woohoo thanks you! how I missed that - its working
  21. I thought that the core function was doing the job : if(!is_array($options['exclude'])) $options['exclude'] = array($options['exclude']); Anyway I tried to assign an array, it does not work. Really it drives me crazy lol
×
×
  • Create New...