Jump to content

elabx

Members
  • Posts

    1,303
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by elabx

  1. 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.
  2. RT @ieure: Ah, finally got my Emacs setup just how I like it. http://t.co/f0B10cZybh

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

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

  5. 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.
  6. 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.
  7. 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!
  8. 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.
  9. That NearlyFreeSpeech looks really nice! I might try them for my personal website to save some bucks!
  10. 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!
  11. Geez I'm sorry, OS X, sorry for the stupid omission.
  12. That looks really nice! But I'm not on Windows
  13. 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.
  14. 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!
  15. thanks, noticed that yesterday, the owner cancelled his hosting what a bummer Supposedly it will go up again.
  16. 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
  17. It took my a while to realize that this could be VERY educational, thank you BernhardB!
  18. This! Please don't tell me I have to offer Woocommerce for my next eCommerce site
  19. When I read posts like this, I always think about a list of quotes titled "Developers react to Processwire" , it always seems to be kind of a shock to find out about PW.
  20. I tested adding this function to the module: <?php function convert_twitter_links($tweet) { //converts URLs to active links $tweet = preg_replace('/((http)+(s)?:\/\/[^<>\s]+)/i', '<a href="$0" target="_blank">$0</a>', $tweet ); //converts mentions (e.g. @stathisg) to active links, pointing to the user's twitter profile $tweet = preg_replace('/[@]+([A-Za-z0-9-_]+)/', '<a href="http://twitter.com/$1" target="_blank">$1</a>', $tweet ); //converts hashtags (e.g. #test) to active links, pointing to a twitter's search URL $tweet = preg_replace('/[#]+([A-Za-z0-9-_]+)/', '<a href="http://twitter.com/search?q=%23$1" target="_blank">$0</a>', $tweet ); return $tweet; } and then called it like this: $text = $this->convert_twitter_links($text); Though, I had to put this line just below this line (this is within renderItem() definition ): $text = wire('sanitizer')->entities($text); I will guess I must be doing something wrong here not sanitizing this string before rendering it, but I can't really tell, I don't know much about this "entities" methods, so I will recommend taking this solution as unsafe or something like that until someone else gives a hand
  21. I hadn't thought about this two points of view around admin. I have seen some apps made in processwire around the forum, like for example this preview of an intranet, is this the same kind of "front end edit" you are talking about LostKobrakai? Just in case it's that, I would also be pretty excited to learn how to do that
  22. I have used fullpage.js in a few sites! Clients love that thing
  23. My bad! I didn't read the issue properly, and I would have never reached to your answer I think
  24. Maybe you could use something with $page->parents to get which are the parent pages, and make a selector accordingly? $parents = $page->parents; $pois = $pages->find("parent=" .getPathString($parents). ",template=poi, interests=$int"); I included that getPathString() because $page->parents returns a PageArray that I don't know how if has a method to make it into a string like "/this/is/a/path/".
  25. Now that I know what this is about, I'd like to mention use this: https://imageoptim.com/ And googling for what SuperPNG does, I found this which seems to be from the same author as ImageOptim, though I don't really know if it does the same: http://pngmini.com/
×
×
  • Create New...