Richard Jedlička

Members
  • Content count

    52
  • Joined

  • Last visited

  • Days Won

    1

Richard Jedlička last won the day on December 10 2016

Richard Jedlička had the most liked content!

Community Reputation

78 Excellent

About Richard Jedlička

  • Rank
    Full Member

Contact Methods

  • Website URL
    http://uiii.cz

Profile Information

  • Gender
    Male
  • Location
    Czech Republic

Recent Profile Visitors

2,912 profile views
  1. Richard Jedlička

    @ICF Church Hi, I've released new version which should fix your problem, I know it is a little bit late but if you are still interested, you may try it. I didn't face the error before but now, there are some misterious ways to me how PW detect module updates and sometimes detect the updated module as a new module so the `upgrade` method is not executed and the namespaces are not fixed which leads to the error mentioned by you. So I've moved the 'namespaces fix' code to the init method so it will check if the namespaces are fixed each time the module is initialized. It may happed that you will see the 'Fieldtype 'FieldtypePDF' does not exist' when updating the module, just hit the refresh button again and you are fine.
  2. Richard Jedlička

    @ICF Church One more question. Did you installed it as a new module, or updated the older version?
  3. Richard Jedlička

    @ICF Church Hi, I'm trying to solve your issue, but I can't reproduce the error. What version of PHP are you using? During module installation there is a step where the `use` statemenents in source files under FieldtypePDF folder are prefixed with `Processwire\' namespace if PW 3.x detected. Could you please examine what's wrong? Look into this method https://github.com/uiii/ProcessWire-FieldtypePDF/blob/d11ff962d520782fa25215f5ce606886773a5a44/FieldtypePDF.module#L232. Thanks
  4. Richard Jedlička

    @ICF Church Please go to the page /admin/module/edit?name=FieldtypePDF a post here the exact version of FieldtypePDF you have, thanks
  5. Richard Jedlička

    @ICF Church Hi, what version of ProcessWire and FieldtypePDF are you using?
  6. Richard Jedlička

    I had some problems with the database. E.g. the one @esper mentioned. So I deleted the table manually and uninstall the module, because it breaks the frontend when you accessing non-existing page. The error was something with myslqi and the message was Couldn't fetch ProcessWire\Database I'm using PW 3.0.70, i'm not sure if it was working on PW 2.6
  7. It's done. I've considered the options and with @LostKobrakai's advice added beforeCmd config option allowing to run specified command after PW installation but before test suite execution. See more https://github.com/uiii/tense#beforecmd. Currently on master branch only.
  8. I'd would like to implement the before_script option, but there are some things I'm not sure about. Your help is appreciated, see the issue: https://github.com/uiii/tense/issues/13#issuecomment-295303576
  9. Hi, version 1.0.0 is released. The main changes are: project's name is changed to Tense (Test ENvironment Setup & Execution) Symfony/Console is used for colored output and arguments parsing config file uses YAML instead of JSON tense init command can be used for config file initialization waitAfterTests option renamed to pause
  10. Richard Jedlička

    Or instead of adding an option, you can, as I've written always check the name on page save if it corresponds to the title (according to settings) as a fallback to javascript.
  11. Richard Jedlička

    It would be great You, I can handle it myself, but the module handles also the conflicting page names, which is not trivial code.
  12. Richard Jedlička

    As I see it's used only when the page has no settings tab, which is not my case. I've tried changing the title using API but it didn't work.
  13. Richard Jedlička

    Hi @adrian, I've started to use you module, it is great when editing in admin, but it is useless when I change the title using the API. According to you code it uses javascript for it, which is good that is reflects the changes immediately. But could you consider checking the name on page save if it matches the title and change it if not (of course respecting the module settings)?
  14. Richard Jedlička

    You have probably a typo in field migration example https://lostkobrakai.github.io/Migrations/examples/#field-migration $this->insertIntoTemplate('event', 'date', $f->name); should be $this->insertIntoTemplate('event', $f->name, 'date');
  15. Richard Jedlička

    Thank for your reply. One more question. What is the letter after the migration filename?