Jump to content

elabx

Members
  • Posts

    1,513
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by elabx

  1. I think that fancybox 2 is more flexible in that kind of handling, though there is the license fee (which I think is worth it). Later you should check Magnific Popup, it's quite awesome too and totally free.
  2. I think it is best to echo the attribute directly in PHP, have you tried using the syntax used in the link Horst posted? (with the PHP tags in place) I have sometimes had trouble with the quotes and double quotes mixing when echoing attributes in HTML. Or if you post the PHP code you are using maybe we can spot the error.
  3. I think fancybox automatically grabs the title attribute as the text displayed below the image? I don't know if this is what you mean.
  4. Sometimes I feel horrible that I'm not using the cool kids tools, but truth be told I think none of my projects are that complex to really need this setup. Am I being lazy here? Should I actually try this tools to actually see the possible benefits? I mean, I do want to become a better webdev, just really haven't seen the need, I just feel that all that minification and optimized workflow works for complex stuff and when that time comes, I will make my move, meanwhile it feels like an overkill.
  5. I'm on the same track! Maybe a few meters ahead but not too far away haha, so any doubt you have don't hesitate to ask again. I believe Processwire is also an AMAZING tool to learn webdev too, I was always so lost with the tools I had tried before (the popular ones!) and with Processwire everything feels so within reach and little by little, as you go polishing your skills, Processwire unveils more of itself to accomplish what you want, I simply love that. Ok, enough PW love
  6. Hi Leopold, What you would need to do to add Fancybox is pretty simple, you just have to add the necessary javascript to the template that is rendering the current page (in this profile javascript is added in the _done.php template file, around line 117) and add the necessary CSS classes to your images. For example, in the previous link you posted about making galleries with PW, here is the part that echoes the linked thumbnail: echo "<p><a href='{$image->url}'><img src='{$thumbnail->url}' alt='{$thumbnail->description}' ></a></p>"; Let's say you want to use the CSS class "gallery" to mark which thumbnails will be "fancyboxed": echo "<p><a class='gallery' href='{$image->url}'><img src='{$thumbnail->url}' alt='{$thumbnail->description}' ></a></p>"; And according to the fancybox documentation, you would need to add this line of javascript (for basic functionality): $(".gallery").fancybox(); Just take a good look at where the javascript is added, because there is an IF statement that prepares the template in case the AIOM module is installed.
  7. It could be done with or without JS, input fields in HTML that are part of a form object will be send as the values in the URL specified in the action attribute, which can be the same page from when you are sending the data. So how do you handle this vars in the server if there is data in the POST variables? In the same template used by your page with the form, you can have something like this: if($input->post){ echo $input->post->fieldName; //Etc } I learned a lot about forms in PW from this post from Soma.
  8. Gists, and now I think I'll be using Gistbox
  9. I truly looks like a nice computer! The Surface screens are some of the best I have seen, this computer has really made me think about maybe moving away from Mac/OS X. The touch screen and stylus is a great plus for me at least. But I´m not really sure to trust my OS happiness to Windows again.
  10. RT @ieure: Ah, finally got my Emacs setup just how I like it. http://t.co/f0B10cZybh

  11. RT @sallesino: Ahora el test de personalidad más revelador que un hombre puede hacer:- ¿A quién eligen? http://t.co/FZ363oNNCp

  12. RT @apeisa: Padloper is out now! Damn it feels great! @processwire has #ecommerce now: http://t.co/dUVcrTEg0h

  13. Nice tutorial for noobs!! I will adapt the "~/Sites" part of the tutorial, the part where you include the other vhosts file and the error logs, god was I tired of looking for the apache /extra/http-vhosts.conf inside the MAMP mumbo jumbo path, I recently saved a bookmark in my text editor to just have it at hand.
  14. I believe there is no actual difference with the way you would use multi language, I have donde websites from scratch with direct output in my templates and the multi language just worked the same way (after enabling the modules!) My guess is that you would just have to set up the multi-language modules (which I think are already included but not activated) once you have your beginners profile set up.
  15. My first site with PW has an Instagram feed coded in the most horrible way haha, just like, plugged in from everywhere because I didn´t understand much of PW modules (I think I still don´t haha). I did resolve the caching issue just by saving the response in a file (though using file_put_content and stuff like that, no fancy PW functionalities, not even saving it inside the cache folder!!) , and also managed to make an ajax call to keep calling more images with the pagination API (that would be really nice to have in the module also!). With each new call, I updated the cache file list of image data and substituted the next pagination id. Some of my doubs is if suddenly a big cache file could turn troublesome and also I don´t really get how you could call a module function from an AJAX call, like, do you use an URL? Anyway, thanks for this nice module!
  16. I had been so tempted to post about the logo a few days ago! But seemed so silly to do it. Though I find it very amusing that minimal details in both logos make them quite different in the end. Too bad they got hacked, I follow a few artists that get support there. One of my favourites.
  17. That NearlyFreeSpeech looks really nice! I might try them for my personal website to save some bucks!
  18. I have a lot of faith in Processwire's future. I´m a graphic designer who happens to do web development, and I could not be happier with how easy it is to grasp Processwire's foundations and even more complex coding like making modules. So I think in the near future we will see a lot of non-technical background people having "AHA" moments when finding out about Processwire. I mean, the API is just pants dropper!
  19. Geez I'm sorry, OS X, sorry for the stupid omission.
  20. That looks really nice! But I'm not on Windows
  21. Does anyone know of a "portable" solution? Something that encapsulates the whole Apache/PHP/MySQL, so that I can move to another computer and just open again the my text editor, start the server and keep on developing? I read that I could do this with Vagrant and Docker but I´m not quite sure if I´m understanding correctly.
  22. In Setup > Fields, select a field and in the Input tab, there is a Visibility setting that can be changed to several options to display the field open or closed. Hope this helps!
  23. thanks, noticed that yesterday, the owner cancelled his hosting what a bummer Supposedly it will go up again.
  24. I always read across the forum that the best way to search, is what you are already doing, a kind of google custom search. https://processwire.com/talk/topic/6196-easy-search-on-pw-forums-with-google/?p=60632
×
×
  • Create New...