Jump to content

Jonathan Lahijani

Members
  • Content Count

    281
  • Joined

  • Last visited

  • Days Won

    6

Jonathan Lahijani last won the day on June 14 2018

Jonathan Lahijani had the most liked content!

Community Reputation

798 Excellent

About Jonathan Lahijani

  • Rank
    Distinguished Member
  • Birthday 04/24/1983

Profile Information

  • Gender
    Male
  • Location
    Los Angeles, CA
  • Interests
    Web Development, Snowboarding, Hiking

Contact Methods

  • Skype
    jonathanlahijani

Recent Profile Visitors

8,736 profile views
  1. Actually this is possible with the update: https://github.com/processwire/processwire/commit/12aede03fe297421b538ea6ef16c0f42424077a4#diff-fc95d41f7bed91883ef3f4f16d8c92cdR1104
  2. Nice update, although I don't think the version bump was committed.
  3. Why not just use Chrome's built in password manager that syncs with your Google account? Works flawlessly. I used 1Password for several years and it became a buggy mess, in addition to the whole subscription fiasco vs. desktop app. While Chrome's password manager doesn't have certain categorization features or editing capability after a password is saved, I realized it's really not that necessary.
  4. This is a good argument and something to think about. Of course the drawback as you said is that any new code in the generator would have to manually be added to sites that were generated in an older version of the generator. Very nice demo. I'm using UIkit 3 of course. I'd love to check it out.
  5. It works for overriding a template file (let's say /site/templates/child-templates/basic-page.php for our example), but with partials that get included using PHPs 'include' function, it fails. For example, in /site/templates/_main.php I have: <?php include './_menu.php'; ?> The location of _menu.php is in /site/templates/_menu.php. But since we're overriding basic-page.php, it expects _menu.php in /site/templates/child-templates/_menu.php as opposed to falling back to /site/templates/_menu.php. I wonder if there's a way around this using either include or wireIncludeFile. I was hacking away at this last night but couldn't come up with a solution.
  6. I'm creating what's essentially a starter site profile that I'll release one day, in the same vein as Underscores or Sage, which are WordPress starter themes. Both of those themes are meant to be used as standalone themes, meaning they should not be a "parent" theme that is overridden by a child theme. For my starter theme, I do actually want to see what methods exist for some sort of override approach for the /site/ folder, or perhaps just the /site/templates/ folder. This wouldn't be a requirement however. ProcessWire does not have such a feature natively, but I read about UnionFS which seems quite slick. I did a little experiment with it on some simple folders and files, and Apache does handle it well with a few simple adjustments. If anyone has any techniques or thoughts on ProcessWire overriding template files at the PHP level or UnionFS (which is at the Linux filesystem level), I'd love to hear your thoughts.
  7. From time to time, I copy/paste snippets of code in the forum here to my editor (SublimeText). Unfortunately, I think the forum software sometimes throws in invalid, INVISIBLE unicode characters that break the copied code and usually will throw PHP errors that at first sight don't make any sense. These characters are impossible to detect in SublimeText, but with the following plugin I just discovered, it will identify them: https://packagecontrol.io/packages/Gremlins
  8. Just a note, better to update the recipe code to: if($page->template=="admin" && $page->parent->id==2 && $page->name=="settings") $input->get->id = $pages->get("/settings/")->id;
  9. @horst I filed this bug report a few weeks ago (includes a video of the bug). Any insight as to why it may be re-generating already generated images? https://github.com/horst-n/PageImageManipulator/issues/4
  10. In regards to API Variables in the documentation, is there a reason why the $notices variable is not listed with all the other API variables? It does have its own documentation page: https://processwire.com/api/ref/notices/ Also, same for $options, which I got a mixed response about here (2015):
  11. Going here causes internal server error: https://processwire.com/blog/posts/
  12. How about a new favicon of the ProcessWire logo instead of being lost in the clouds? I attached two 512x512 PNG files (PNGs can be used for Favicons by the way and all browsers support it; worth ditching .ico).
  13. I'm not a Mac user, but for Windows, Xyplorer is freaking amazing. It's like the ProcessWire of file managers.
×
×
  • Create New...