Jump to content

Jonathan Lahijani

Members
  • Posts

    642
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Jonathan Lahijani

  1. Has anyone used the Vimium extension for Chrome? Over the past few days, I've been working on some productivity hacks and part of that included relying less on the mouse for basic tasks. I've never been a true Linux user or one who uses Vim, but I gave this extension a shot after a few days, it's very liberating to be able to browse websites and control Chrome (especially manipulating tabs) entirely with the keyboard! I can see myself using vintage mode for Sublime in the near future. Maybe also the ability to navigate my file manager (xyplorer) with keyboard shortcuts (or just start using the command line a lot more often). Check it out: http://vimium.github.io/
  2. If you've done heavy frontend WordPress development, then you may have heard of Roots: http://roots.io/ Roots 7.0.0 on Github: https://github.com/roots/roots/tree/7.0.0 It's described as: Roots, a WordPress starter theme, helps you make better themes with HTML5 Boilerplate, Bootstrap, and Grunt. Some key points from their site: Optimized for production use - The Roots Gruntfile compiles your LESS & minifies and concatenates CSS and JS. Bootstrap ready - Roots includes Bootstrap for faster web development, but it can easily be removed or replaced with your preferred CSS framework. Write less code with the theme wrapper - Template markup is controlled by a theme wrapper and is handled by one file instead of being scattered across all template files like typical themes. It's a starter theme (not a theme with an existing design) for tech savy developers and comes pre-configured with a nice set of tools, build scripts (css and js minification, etc) and an excellent template architecture and file organization from which you can build a site. How everything is organized is what makes it shine (as well as how it fixes a lot of ugly things in WordPress). I've been using it as my go to starter theme for over a year and I like the way it's been thought out. I recently used it on a large corporate site with some strict production environment requirements and it allowed me to dive very deep into Roots and get a great understanding of it. With that being said, I still have yet to settle on a standard site profile for when I create ProcessWire-based websites. I figured since I like Roots so much, I could create a site profile based off of it, if not for the template structure, then mainly for the tools it provides as well as file organization. I spent a couple hours and got a lot completed already. Anyone else have experience with Roots? Jonathan
  3. Add me on Skype. I can give you 30mins if you're ready right now. My Skype username is: jonathanlahijani
  4. Hello all, I love ProcessWire and the community. It is a fantastically architected CMS. I believe over the next few years it will continue increasing in popularity as more people catch word of it. Perhaps it can even take a few percentage of marketshare away from WordPress, which powers 20%+ of all websites on the internet (insane, right?). Well, I'd assume a good portion of those are just wordpress.com blogs that no one reads or have been abandoned, but I could be wrong. I believe we can speed up the adoption rate and open people's eyes faster. They just need to see the light. The forum recently past the 2000th signup, which is about double the number last year. Perhaps we can have 10,000 a year from now. With that being said, I wanted to announce a project that I will be pursing... (drumroll please)... It will be called: Wirecasts.com I envision it as a website containing short, 5-10 minute videos discussing various topics with ProcessWire, much like Railscasts.com is to Ruby on Rails. My first goal is to start with a series of videos that goes head to head with WordPress. I will demonstrate how to do things in ProcessWire that developers are accustomed to in WordPress. For example: Local Installation ProcessWire Pages vs. WordPress Posts + Pages + CPT's Building Menus Custom Fields Themes vs. Site Profiles Shortcodes vs. Hanna Code Showcasing all kinds of plugins in WordPress and their ProcessWire equivalents (like Gravity Forms vs. Form Builder, etc.) I also anticipate creating videos related to some of the topics here on the forum. What's the best way to make a login form? What's the best way to organize content? And so on... Over the last few days, I've been perfecting my screencasting technique for this project. I have a super clean virtual machine with Windows 8 and minimal software (Chrome, Sublime Text, XYplorer) specifically configured for these videos. Videos will be shot in 720p with my Patrick Bateman-like radio voice narration (will need to work extra hard to get that part right). Here's a video I recorded and edited today. It does not yet have voice narration, but it will give you an idea of the quality I'm shooting for. http://bit.ly/1m1H66B (10mb mp4 file) I'd like to hear your feedback and any suggestions to make this a great site! Stay tuned. Jonathan
  5. Yes. The whole home page slideshow uses that library. It's nice to work with once you get the hang of it.
  6. Hello fellow ProcessWire devs. I recently developed and launched the following site: http://whiteconst.com/ Specs: PW 2.4 Zurb Foundation 5 Full width layout + responsive design; font-scaling in certain situations Ajax page loading; window history pushstate CSS3 based loading animations (page to page, project modal) Heavily animated home page slideshow (built with sequencejs) Developed so that every page is properly indexed by search engines despite used of Ajax (each page has it's own unique URL; canonical meta tags also indicate to search engines what the official URL of a page is to prevent duplicate content cases) Form Builder module Hanna Code module XML Sitemap module Video Embed for YouTube/Vimeo module (don't know about this one? you should!) Custom module to that allows administrators to view all projects in the admin section using a table layout with more metadata screenshot: http://goo.gl/3HfJTW Custom modal to view projects Custom developed news blog (with categories, year archives, recent posts filters) Content is easily manageable by site admins All kinds of frontend coding to make the layouts look great, especially the project pages (image gallery, videos, etc.) This was a challenging project for several reasons. Several requirements and layouts were changed along the way. Also, whenever dealing with Ajax based page loading, that seems to complicate things by a factor of 3 (must take many other things into consideration for it to work properly and lots of edge cases). This was also the first PW site I did that needed a blog / news section. I didn't start with the Blog profile, but this was easy to roll. In fact, I like being able to build out the blog myself because of the greater control it provides. I wanted URLs to be formatted in a particular way. It needed to be Ajax based. I like naming things my own way (Blog or News? Post or Article?... WordPress's defaults are extremely confusing to the end user). At the end of the day, ProcessWire was a perfect fit for this project. - Jonathan
  7. Thanks for that resource Adrian. However, I don't think that approach will work for what I have in mind. For example, let's say I'm on a page that is of the template "car" that lists all the details of the car. Naturally, this gets stored in $page. Then let's say while still on that page I want to output the content of a separate page of a totally different template... let's call it "computer". $mycomputer = $pages->get("/computers/macbook-pro/"); At this point, both $page (which has a template of "car") and $mycomputer (which has a template of "computer") are of the Page class, but of different templates. Naturally, some methods would apply to "car" and some would apply to "computer". So, for example, would it be possible to add a property called "hello" to just a Page of template "computer", even without being on the "computer" template?
  8. Hello, The Hook API documentation is great in explaining how hooks work. I wanted to know if it's possible to add a method or property to a Page, but pages only of a specific template type. The reasoning behind this would be certain methods or properties would only apply to specific template types. Possible? Thank you.
  9. Another suggestion for just local testing / not sending out the actual email is a program called 'Test Mail Server Tool': http://www.toolheap.com/test-mail-server-tool/ However, make sure to not run it with a program like hMailServer simultaneously since there will be port conflicts.
  10. Check out hMailServer: http://www.hmailserver.com/ Works well for me with my Gmail account.
  11. Hey all, Here's a demo of what I've built. It's become my primary bookmarking system: I didn't demonstrate it in the video, but this system works amazingly on a mobile device too. It's so easy and quick to pull up stuff I want to read when at a coffee shop or have a few minutes to kill when on the go. I found Diigo's Android App very limiting in comparison, especially since it doesn't allow you to view all of your bookmarks on the mobile app (last time I checked). I have no plans as of yet to release this, but I may in the near future if you are all really interested. There are features I still want to build out as well as a lot of code cleanup and security measures that need to be implemented. Enjoy! Jonathan
  12. Is anyone here a heavy bookmarker like I am? Typically I'll get most of my news from Hacker News and Slashdot, followed by some great blogs on a daily basis. I usually never have time to read an article in depth when I first come across it, so I'll bookmark it for later. Or, if I quickly need to get up to date on some topic, I'll do a search (usually by tags) and familiarize myself with important stuff I've bookmarked in the past. After having used browser native based bookmarking (Firefox and Chrome), then Delicious, then Diigo, then Pinboard and becoming frustrated by all of them for various reasons and limitations, I've decided to roll my own little single user (and non social) bookmarking system with ProcessWire (with Bootstrap 3 as the frontend framework). It's still a work in progress, but it takes the best of all those systems with my own power features. It also utilizes ajax for certain actions. I'll need to create a Chrome extension to tie it all together. I have to say however, after working non-stop on it for hours on end and not being able to think of anything else, it's looking slick. Damn you ProcessWire for making this so enjoyable. Jonathan
  13. Isn't the idea you described just to remember a user's username in a cookie, even after they've logged out, so that it'd prepopulate a login form with their name? What would be the best approach for truly keeping them signed in (unless they specifically log out), even after they've closed their browser? Basically a "Remember Me" feature much like WordPress or other web apps (Google, etc.) where it expires after a couple weeks. I'm having difficulty with this.
  14. In my situation, Users in Role A will require a set of fields that Users in Role B will not need and vice versa.
  15. I understand how to add a field to users (regardless of role), however I would like to add a field that only is assigned to a specific user role. Is this possible? Couldn't find any information about this in the forums or documentation, so I'm resorting here to the forums. Sorry if this is a repeat question.
  16. Thank you. This was very helpful in building a user messaging feature! Loving ProcessWire.
×
×
  • Create New...