Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by gmclelland

  1. AFAIK there isn't any way to do this currently. I also wish there was a dedicated permission for renaming files. There are some cases were I don't want certain users to rename any uploaded files.
  2. I'm not sure, but maybe looking at the code from http://modules.processwire.com/modules/table-csv-import-export/ would help?
  3. I'd love to see the code that does this. I have a Google Spreadsheet of all the employees with their contact information. I would like to easily import and update each employees info so that each employee can have their own contact page on our site.
  4. Can you elaborate more on how you achieved this? maybe some screenshots of the page editing?
  5. @Mustafa-Online - I haven't tried it, but you might try http://modules.processwire.com/modules/page-edit-per-user/
  6. Don't know the fix, but here is the issue for this https://github.com/processwire/processwire-issues/issues/331
  7. Did you turn off cloudflare's rocket loader?
  8. I'm sure other people have better solutions, but I usually handle this with redirects. I usually create two templates: redirect-internal redirect-external So in your example, I would create a page for about/newsroom/ that uses an redirect-internal template and redirects to news/newsroom/. Here is what my fields look like for redirect external: Here is what my fields look like for redirect-internal: redirect-external.php <?php namespace ProcessWire; $session->redirect( $page->redirectTo ); redirect-internal.php <?php namespace ProcessWire; $session->redirect( $page->redirectToPage->url );
  9. Thanks tpr! I'm not seeing any PHP errors, but I'm still seeing some display issues. When viewing the AOS's module settings page with AdminThemeUikit, the enabled modules boxes are to big and the screen scrolls a lot because of it. To fix it, I had to add to src/aos_config.scss // fix AdminThemeUiKit from expanding the min-height at runtime .InputfieldContent.uk-form-controls{ min-height: auto !important; } There are couple of others small issues, but I'll follow up on Github.
  10. That seems like a lot of images to store in an image field. Looks like there might soon be some improvements to the file/image fields to support pagination. See https://processwire.com/blog/posts/fieldtype-pagination/ There is also a request at https://github.com/processwire/processwire-requests/issues/106 for image grid mode to not include the image thumbnails in the image field. That could help performance client side, but I'm not sure off hand why the reordering of your image fields aren't working.
  11. Modx has a similar popular extra/module called Client Config https://www.modmore.com/extras/clientconfig/ with the goal of exposing some site-wide settings for clients to be able to edit. Another name could be ClientConfig, SiteConfig, ConfigSets, Configuration Module, ConfigPages Module, SettingPages Module?
  12. Here is a request for something similar https://github.com/processwire/processwire-requests/issues/118
  13. I think I understand what @bernhard is saying, but the gif is hard for me to understand. Basically, I think he is saying "Why be limited to using one field with shortcodes, when you can render an entire help page that has multiple fields"? With InputfieldRuntimeMarkup you can render the entire help page with ALL it's fields as you wish on the page that needs contextual help. So you could create a fieldgroup tab(HELP) on your basic-page that includes one InputfieldRuntimeMarkup that renders your help page inside of it. I haven't tried InputfieldRuntimeMarkup yet, but I like where this is going...
  14. Note: https://github.com/rolandtoth/AdminOnSteroids/wiki#hotkeys AdminOnSteroids has some of this module's functionality if you need something that works with 3.+
  15. Thanks for sharing. This would make for a good recipe on https://processwire-recipes.com/
  16. Both would be probably be fine. I prefer everything to be in site/templates so I know I can copy that whole directory to another site if needed to get the same functionality. If snippets are uploaded to site/assets, I then have to change out of my working directory and hunt down specific folders in site/assets. I prefer to work in one primary directory (site/templates) without switching around if necessary. It saves time. The way I see it is: Does the module have to generate files? if yes, store the files in site/assets. If no, store the files in site/templates somewhere. Sounds good Thanks for all you do!
  17. IMHO.. I think it would be best to specify a default directory in site/templates/TracySnippets and allow an override in Tracy for the directory to use in site/templates. I wouldn't recommend snippets in /site/assets/TracyDebugger/snippets because that folder typically isn't versioned control whereas site/templates/ is version controlled.
  18. @SamC - You can configure the module the way you like under Modules > Configure > AdminThemeUikit Also @tpr - updated the AdminOnSteroids module to fix the hotkeys now. Thanks @tpr!!
  19. @abdus - With AdminOnSteroids you can enable the Alt + d shortcut to focus the search field. It doesn't work yet with the new AdminThemeUikit though. https://github.com/rolandtoth/AdminOnSteroids/issues/56 There are other shortcuts as well like Alt + o to open the page tree in a panel. Cmd + s to save a page.
  20. I submitted the InputfieldCheckbox issue https://github.com/rolandtoth/AdminOnSteroids/issues/53 to reduce the comments here.
  21. Sorry, it looks like those fields are collapsed ajax loaded fields, not fieldsets. So to summarize: Field Initially Collapsed - Field set to Open when populated, closed when blank = works good, span full width and tooltips appear when hovered Field Initially Collapsed - Field set to Open when populated + Closed when blank + Load only when opened (AJAX) = doesn't work, only spans the width of the label, tooltip doesn't appear when hovered. I think the type matters here as well, I think I'm seeing the problem only on InputfieldCheckbox fields.
  22. I noticed an issue when AOS is enabled. The collapsed fieldsets aren't fully expanded. In Chrome dev tools, you can hover over the "label" html element to see it. I think it has something to do with this rule: .aos_hasTooltip .title, .InputfieldCheckbox label { position: relative; display: inline-block; } I also noticed on those fieldsets, the AOS tooltip popup isn't working. Nothing pops up to show the edit field links. If I find a solution, I'll report back. Hope that helps, -Glenn
  23. @Hantsweb - could you elaborate more on how you used Authy with Processwire?
  24. Do you have an admin.php in you site/templates folder?
  • Create New...