Jonathan Lahijani

Members
  • Content Count

    249
  • Joined

  • Last visited

  • Days Won

    6

Jonathan Lahijani last won the day on June 14

Jonathan Lahijani had the most liked content!

Community Reputation

714 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,186 profile views
  1. Jonathan Lahijani

    UIkit3 is a bit more of a utility class oriented CSS framework. The benefits of utility based CSS are excellently summarized in this article, which I side with given my own evolution with CSS: https://adamwathan.me/css-utility-classes-and-separation-of-concerns/ Gridlex is just a grid system from what I can tell. If you need all the usual components (accordions, tabs, etc.), UIkit3 has it covered extremely well, especially compared to the other big CSS frameworks. Many great options. I rarely pull in other libraries since UIkit has it covered, and since it's all under one roof, it's very consistent and doesn't lead to conflicts.
  2. Jonathan Lahijani

    Does this work with FormBuilder?
  3. Jonathan Lahijani

    Feature request Can there be an option to redirect the user to another page if they land on a protected page (rather than showing them the login form)? Additionally, if there could be a field by which an admin can enter a custom message (or error) to $session->message("the message"); or $session->error("the message"); that would be really great.
  4. Jonathan Lahijani

    Great module @adrian. For the Custom PHP Code option, can you make it also have access to the $pages variable (in addition to just the $user variable)? I have a use case for it and it would be helpful. I modified the module to include it and it worked fine for me.
  5. Jonathan Lahijani

    What version of PW are you on? Newer the better? Also, recently one thing that was driving me nuts was a bug related to ListerPro pages taking forever to load (you might not be able to view the link since it's in the private ListerPro forum): The temporary work-around for that was to remove all the filters in my ListerPro. For some reason, my ListerPro was loading all 2000 pages on my site on each page load causing a slowdown. Is the site still slow when there's only a handful of people using it, as opposed to over 100+? If so, that may indicate something. Have you enabled debug mode in PW? Anything stand out?
  6. Jonathan Lahijani

    Actually what I think you're asking is for the Hanna Code Dialog module. Check it out.
  7. Jonathan Lahijani

    After Hanna Code is installed, you must edit your ckeditor field to have the hannacode textformatter.
  8. Jonathan Lahijani

    The way I make divs in CKEditor is to use two custom Hanna Codes, which while very reliable and extremely easy to program, may not be the easiest concept to grasp for non-technical people. [[div class="myclass1 myclass2"]] your content here, like paragraphs, headings, lists, etc. [[end-div]] The concept is based on a simple WordPress plugin I used a while ago (Div Shortcode).
  9. Jonathan Lahijani

    Hopefully CKEditor 5, which I haven't played with much yet, fixes some of the shortcomings of CKEditor 4. One thing that bugs me with v4 is that you can't apply multiple CSS classes (using the inline styles dropdown) to an element, which in the world of CSS frameworks that take the utility based approach (UIkit 3 being one that has a lot of utility classes), would be very helpful. Upvote this: https://github.com/processwire/processwire-requests/issues/217
  10. Jonathan Lahijani

    You could just create a template called logout.php (and a page called Logout using that template), and link them to that page to logout. /site/templates/logout.php: <?php namespace ProcessWire; $session->logout(); $session->redirect($pages->get("/")->url);
  11. Jonathan Lahijani

    I believe the yet-to-be-released DesignMe module has the ability to edit template files from within PW (kind of like WordPress):
  12. Jonathan Lahijani

    Nice play on words there. -- In the article you mentioned you could modify your tables to InnoDB by exporting, doing a search/replace, then re-importing. You can also do it like this: <?php namespace ProcessWire; // assuming this script is in the pw root dir; backup your database first, just incase! include(dirname(__FILE__).'/index.php'); $query = $database->query("SELECT table_name FROM information_schema.tables WHERE table_schema='{$config->dbName}';"); foreach($query->fetchAll() as $row) { $table = $row[0]; $database->query("ALTER TABLE $table ENGINE=InnoDB;"); }
  13. Jonathan Lahijani

    I've put in a feature request for this on GitHub: https://github.com/processwire/processwire-requests/issues/207
  14. Jonathan Lahijani

    @gonzz I think the Pageimage Assistant module might help here. At least it did for me when I wanted to convert PNG to JPG, which was helpful in my use-case for a particular site because I wanted to keep the lossless PNGs, but serve JPGs. Not sure what the support for TIFF is. https://modules.processwire.com/modules/pageimage-assistant/
  15. Jonathan Lahijani

    WireHttp might be one solution. https://processwire.com/api/ref/wire-http/