Jump to content

3fingers

Members
  • Posts

    437
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by 3fingers

  1. I've just discovered this app that should import web pages straight to photoshop files, and divide them by layers (following the DOM structure previously applied). I don't own a Mac (poor me..) but I think this is a great little tool to have, could be useful.
  2. Very nice, informative and clean design you've built on your company website. I really like it. It goes straight to the point without unecessary informations, just to make the company "cooler". I like the way you've managed the contact form, where red borders means required fields to compile...on top of that the "100% width" submit button looks good on desktop too. Ahhahahahah, I totally agree!
  3. As usual Italy is at the bottom of the list....we are too proud of pizza and Cristoforo Colombo to make a step towards evolution
  4. Here here is my favourite one : http://slid.es/
  5. I'm a bit in a hurry right now but i suggest you to take a look at this script to always center a div that has a percent width ( the "content" div you got has px based width = no good if you want to let it resize at any width). If you want to stuck with px width you need to use media queries ( also known as breakpoints ) to define width dimensions at different scales.
  6. For me it could be even more useful if the same approach could be applied to illustrator files. Even if I don't know how they are going to implement the "psdlens" feature, probably the supposed "ailens" one might be even easier to develop, due to the fact that vector graphics could be better translated to web counterpart. We will see
  7. I think this two new upcoming features could make me switch over from Sublime to Brackets in a while : http://dev.brackets.io/preso/cssconf/#/5 Psdlens and Response What do you guys think about?
  8. Absolutely, very kind of you! I'm going to bookmark this page for future reference Thanks again Macrura!
  9. Hi Macrura, excellent site, very clear and well organized! Could you please provide some infos on how you developed the "speaker-finder" section ? I'm really interested on how you've managed the filtering and selections of the various products. Thumbs up!
  10. I'd don't know if it's just me, but I cannot understand what's the problem with the "dedicated IP".
  11. Ciao Alessio, mi chiamo Lorenzo, la tua è una buona idea...vediamo quante altre persone sul forum sono italiane
  12. There's no need to sanitize the password, as long as you've selected a "password" field in your template to store the input text associated. Processwire will handle that for you.
  13. Hello vineonardo I'm on a similar project as yours, and I'm not a skilled programmer too, I'm a front-end developer and I had same question you got right now. I'd suggest you to have a look at this 2 topics (here and here), which were enough for me to setup a user registration form with PW API. Finally, here is a post I made where you can find my code and other userful insights. I'm going to follow this topic, if you got other questions Have fun!
  14. I'm very very happy for you Ryan! Congratulations!
  15. Habemus papam! I've used the plugin that Wanze indicate me along with jquery validation and then sanitizing my input fields as Soma suggested. I'm on php validation now, I'm going to dig into the forum to find the right solution to make my form a bit safer to play with Thanks guys, you rock!
  16. Ok @Wanze and @Soma I'm going to dig more on the problems and as soon as I find a solution I will post it here....such a sad story that I can't upload files via ajax without a kind of hack by the way... What's the best way to prevent a CSRF attack to my form (after I'm going to add sanitizer to every $input) ? I'm going to check google by myself anyway THANKS.
  17. Ok, I took some time to test your suggestion but with no luck...I'm going to answer to you point by point: @Soma : The upload folder path gets created correctly, I checked the permissions and create/write/execute/modify are there. In the php.ini the "upload_max_filesize" is set at 2M and "post_max_size" is 8M. Enough for the file sizes I'm trying to upload (mostly jpg of 100k or so). I have two separated files because of jquery validation script I'm using ( you can check it here : https://gist.github.com/anonymous/5517761 ) , since - as l long as I understand- I cannot run ajax post requests inside the site/ folder of PW. This also explains the "./" action of the form (could also be ""). I've also tried to wrap errors inside an array as you suggest, and than if no errors continue to run the script, that infact never runs, since no images are uploaded. Here ( https://gist.github.com/anonymous/5517845 ) is the updated code. My head is burning....
  18. I'm on mobile right now, I'm going to check your suggestions in an hour or so. In the meantime thanks!
  19. Hello all, today I've got a problem with a form submission, specifically with images uploads. Before strarting this thread I've read and followed this topics: http://processwire.com/talk/topic/126-anybody-did-user-registrationlogin/ http://processwire.com/talk/topic/3105-adding-file-upload-field-to-form-via-api/ And here is my code: https://gist.github.com/anonymous/5517109 The form subscription worked correctly until I've integrated the WireUpload function, that seems to cause me some problems...infact if i comment out this count() check in the code... if(!count($files)) { $u->error("Sorry, but you need to add a photo!"); return false; } ... the form data get recieved (everything but the images..) and the newpage created. So it seems that the image upload never runs. I also tried to override PHP's upload_temp_dir with $config->uploadTmpDir = dirname(__FILE__) . '/assets/uploads/'; in site/config.php and use that folder as my temporary one, but no luck there too... I want to notice that my console didn't recieve any errors when I submit the form, everything seems to work but it's not I'm on a local server (Wamp on Windows) and in my php.ini file file uploads and temporary directory are set like this: ; Whether to allow HTTP file uploads. ; http://php.net/file-uploads file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; http://php.net/upload-tmp-dir upload_tmp_dir = "c:/wamp/tmp" Any advices from you guys? Thanks.
  20. Just a quick thought....Could the problem exists because <select> elements are non treated as <input> elements and then never passed?
  21. @yesjoar : Did you succesfully go live with your project? I'm really interested on that
  22. Hey Lance, any news on this?
  23. @k07n: I'ts just a matter of tastes there. I honestly prefer to write all the php first (In this particular case the foreach loop) and then echoing the results inside html tags. Doing so I avoid to forget the closing php tags each time, and for me it's more readable also.
×
×
  • Create New...