Jump to content

gmclelland

Members
  • Posts

    582
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by gmclelland

  1. You can also use http://modules.processwire.com/modules/module-settings-import-export/. Works great for me.
  2. Here you go https://github.com/processwire/processwire/commit/c7dfb37a7ece9d1a2e0369a92263e7c18663502a Looks like it was fixed in 3.0.100
  3. I think this was a bug in a past version of Processwire that has been fixed. What version are you running?
  4. Strange... I tried making the same changes in production and on another site, but that didn't fix the TemplateEngingTwig module's config page.
  5. Many thanks Robin! I was able to add a php comment in the TemplateEngineTwig.module which forced a recompile. Now all the text on that module's config page appears correctly. However, I tried the same with FormBuilder module but couldn't get the text to correct on the modules page.
  6. For some reason on two of my sites, the module pages at mysite.com/processwire/module/ look like they are getting compiled. Also on another module config page "TemplateEngineTwig", I get the following: Does anyone know of anything I can check to prevent this from happening? I have tried clearing the compiled files button on the modules page and I have manually deleted the contents of the site/assets/cache/FileCompiler/ folder. I'm running the latest dev version of Processwire 3.0.106, but I have noticed this with older versions as well. No problems with the frontend of the website.
  7. Happens to me as well with LastPass, not only in Processwire but with Drupal.
  8. @Macrura - Great looking module! Couple of questions for you: Can you perform any validations when using this module? Example: Say you have a settings field for integers. Is there a way to verify that the integer is greater than 10? Can each settings page be restricted by some kind of role or permission? Ex. Site editors could access/edit a "Theme settings" page, but couldn't access/edit the "API Settings" page.
  9. Thanks, Theo. I was able to install and play around with it. So far, it looks really nice. Great job!
  10. gmclelland

    learning php

    Here is a good one I came across: https://github.com/david-hernandez/drupal8-oop/ It explains object-oriented programming fundamentals in PHP within a Drupal 8 context.
  11. @uliverse - for now that option only works on the frontend not the backend. Here is what I use:
  12. Great looking website @maxf5! Can you explain or show some more page edit screen shots on how the Page-Builder done with PageTable works?
  13. I just wanted to follow up and say that my issue is strangely now gone after upgrading from Processwire 3.0.101 to 3.0.102
  14. Beautiful site. I'm curious... what is your preferred way to structure your template files? ie. Template File Strategy? I'm referring to https://processwire.com/docs/tutorials/how-to-structure-your-template-files/. Direct Output, Direct Output with Includes, Delayed Output, WireRender Pattern, Markup Regions, etc... What does the main content tab look like when editing a page? Did you use FieldtypeFieldsetGroup or FieldtypeFieldsetPage?
  15. No, I haven't solved this, but I did open a new request for it in the github link above. Let's see what Ryan has to say. That would probably work, but I think this should be configurable via Processwire.
  16. https://github.com/processwire/processwire-requests/issues/191
  17. Many thanks Ivan. I'll open a github issue for this.
  18. I was just wondering if it is possible in Processwire to move Composer's vendor directory outside of the web root folder to a location that is not web accessible? Is there a configuration variable to control this? I couldn't find information in my searches. Why would I want to do this? ...for security. I don't want script kiddies trying to scan for/exploit vulnerabilities in my installed php libraries.
  19. Hello @Soma, thank you for providing this module. On one site in production, I noticed that for some reason the top level menu items change randomly in a different order. On a page I can keep hitting the refresh button and the menu items will randomly change order. My tree order looks like this: Home About Us Support Us Resources Memberships Sometimes the menu is rendered correctly and other times it renders like: Home About Us Support Us Memberships Resources Here is how I'm calling it: (Note: I'm using the TemplateEngineFactory module. That is why you see the $view->set) I have also tried it without the sort=sort, but I have the same random results. Does anybody have any ideas as to why I'm seeing this problem? I'm running Processwire 3.0.101. Thank you for any help you can provide.
  20. This was an interesting read. http://blog.mauriziobonani.com/processwire-building-a-basic-reserved-area/
  21. @justb3a I was able to fix this module to work with the latest version of TemplateEngineTwig by modifying TwigExtensions/composer.json to: { "require": { "twig/extensions": "~1.5", "twig/twig": "~1.35" } } and then run composer update. Twig also gets installed when composer install is ran because it is a dependency of Twig Extensions Library. So anytime the TemplateEngineTwig module updates it's version of Twig, this module will also need it's version to match. Here's the pull request. https://github.com/justb3a/processwire-twigextensions/pull/11 I think we also should remove the debug extension. That's included in the TemplateEngineTwig module now. See https://github.com/wanze/TemplateEngineTwig/commit/776d3d8b3cf2fd04ea584d92fdc33e214468996b#diff-174a5e0bac30f021aa66bb8899550f87R55 I'll try to create a pull request for this fix as well. Hope that helps!
  22. @V7dev make sure you're using the versions I specified above. If you use all the latest versions of the modules, you will run into the errors.
  23. @V7dev - Twig Extensions module seems to work fine with Template Engine Factory 1.1.3 and Template Engine Twig 1.0.4 Hopefully @justb3a can take a look some time soon to see why it's not working with Template Engine Twig 1.1.0? I'm still trying to figure it out, but I'm not making much progress.
  24. Strangely, I tried updating the module with the ProcessWireUpgrade module, but it gave me an error "Session: Invalid download URL specified." It might have been because I originally downloaded the module from github. The text looks good now, it's no longer cut off. Thanks Robin!
  25. The problem with the core implementation is that isn't immediately discoverable that you can click the image's filename and rename it whereas your solution make's it obvious with a label "Rename / Replace." Most content editors aren't very technical savvy. Ah..Forgot about that one. Thanks I tried to take a look at tonight, but it looks a little more involved to get it just right across the different themes. I think the cutoff text is due to the negative margins. I'll investigate some more the next chance I get. I'm running Chrome on a mac with the latest version of Processwire and AOS.
×
×
  • Create New...