-
Posts
4,314 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
André, with the new module themes it's already easy to do it but for users and not roles (would be nice to be able to define it by role, though).
-
Nico, I'm sorry but still didn't have much time to look into this. I'll try to do it later today. I will merge your version since it works well with 2.4, and that's the most important anyway. We can try to fix the details I mentioned later. Thanks for working on this
-
Nico, for what I understand this version wouldn't allow to create custom fields on the page, right? another problem is that, because we create a php file inside templates but not a template for it, this will always be suggested by PW for new templates which might get a bit annoying. If there are solutions for these, I will be glad to merge
-
so much for the "Tao of Vagrant"... It's still a great concept though.
- 28 replies
-
- 1
-
-
- vagrant
- virtualbox
-
(and 1 more)
Tagged with:
-
Sorry for deviating you from your track, but it's great to hear that
-
One of the things I miss from Linux is the ability to browse compressed files and even edit files inside them. Not the ideal. but at least with this tool I can look inside them http://macitbetter.com/BetterZip-Quick-Look-Generator/
-
Not sure if you already got this, but just to be clear: you don't just "receive" one or more results, you explicitly ask for either of those. A get() will return one result that you can use directly, even if the selector you use would return more, and a find() will return an array that you have to itterate through, even if the result of that select is only one page.
-
prev and next look for a the prev and next pages inside any pageArray, if you use it with the same array that you used to build your posts list, it will respect that order.
-
Get and find do the same, except that get retrieves a single page. Everything about selectors is here https://processwire.com/api/selectors/ but now you have the perfect environment to start with the planets tutorial https://processwire.com/talk/topic/693-small-project-walkthrough-planets/ and that's where you should go next
-
You're right, just found that option on dropbox. Didn't find it on gdrive though.
-
Everything looks great! The site and the food You're probably not the one to blame, but those facebook buttons —especially the one in the nav— kill some of the charm...
-
Exactly! One thing at a time. In PW things are not tied together like in other CMSs, this is what makes it so flexible. You will learn faster if you focus on the content. Test with a blank page, you'll see it's fun. And once you know how to print in that blank page exactly the parts of the content you want, it will be so easy to take any responsive theme and apply it to your site
-
In that example $a is a wireArray (can be a list of pages, or a list of fields, or a list of users... and so on) $key represents the position that you want. so $a[0] would get the first item in the array and $a[5] the sixth. Works like in a normal PHP array. By the way, here is another good read —you will see "key" mentioned a lot there— http://www.php.net/manual/en/language.types.array.php But I don't think that was the relevant part of the page that Martijn linked to.
-
One more trick I learned: ctrl+f3 (or ctrl+fn+f3) to use the dock with the keyboard and the same with f2 for the top bar. I must say that Gnome is much more intuitive and faster to learn for keyboard freaks than macOS. I'm making an honest effort here, since this will be my production machine for a long time (hopefully), but I keep thinking that the Gnome team is doing a hell of a job in Gnome 3.
-
Sorry Sevarf, I was playing with Apeisa, didn't intend to confuse you. Ignore me
-
count(array_diff($array_1->explode('id'), $array_2->explode('id')))
-
(let's make it even more awkward for apeisa ) Sevarf2, a very similar question was asked here https://processwire.com/talk/topic/5961-filesystem-limit-32000-reached/
-
Thanks guys! Here are some things that I found already: https://www.foundapp.com/ (wow! looks for files in the disk, gmail, evernote, dropbox, just name it...) http://evernote.com/skitch/ http://www.clipmenu.com/ (seems to be better than jumpcut) https://skyfonts.com/ http://lifehacker.com/182657/how-to-turn-mac-os-x-dashboard-off (great!! ) https://onedrive.live.com/about/en-us/download/ (srsly, the only from the "big ones" that lets you choose the folders to sync) http://wakaba.c3.cx/s/apps/unarchiver http://kapeli.com/dash (lots of documentation for languages) http://koala-app.com/ ( gui compiler for preprocessing languages) http://www.allvu.com/index.php/products/startninja.html (very important!!) http://gimp.lisanet.de/Website/Download.html (try to make "color to alpha" in photoshop ) http://www.ampps.com/ http://www.vagrantup.com/ Ok, enough! By the way, Atom is looking pretty nice
-
Very nice! I love them both. Favourite detail is the hover effects on the photographer site Small detail: on the artists website, when I enter an individual page this happens while the images are loading would be solved by giving the footer much more height, and a negative bottom margin.
-
André is teasing me to tell that the Linux freak here just bought a Mac (my last mac was this one, by the way http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT1772/88039_9.gif). Yep that's true, couldn't convince my team to drop all the Adobe rubbish and the collaboration was becoming far from ideal So, if anyone has some advices for the newbie, bring them in! And yes, I installed Atom as soon as the wireless connected But also TextMate 2.0, nice surprise!
-
It's not that difficult to install PW the normal way either, right? Actually, what impressed me most wasn't the PW script in particular, but the AMPPS server itself. Very easy to setup and works perfectly, great alternative to Mamps and Xampps for sure. The ability to run those scripts easily is more of a nice extra Edit: as I told on another thread, I'm also very impressed with Vagrant, and keeping an eye on Docker.
-
This is what I do to avoid accidents if ($input->get->kill == "yes") { // do dangerous things }