Jump to content

elabx

Members
  • Posts

    1,511
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by elabx

  1. RT @processwire: New post: ProcessWire ProDrafts now available in pre-release, with a surprise or two as well – https://t.co/RYx07XQYcU

  2. Waiting on the @processwire hype train for the weekly update :D

  3. Thanks a lot Matthew!! I have done a few things with D3.js and it's amazing what can be done, just browsing the examples page is really great! For example, I am a BIG fan of this guy and his work, be sure to check it out.
  4. I...don't use SVG... Could anyone point out to resources of how to properly use SVG? I have read that there are a number of ways of embedding SVG, fallback stuff, etc. Is the IMG tag as tooth-paste mentions, the most practical approach??
  5. RT @YashiroMR: La Ciudad de la Igualdad.. Cuando vengan digo yo.. #Kiss https://t.co/s1LZ3aPW03

  6. I agree with that loading the page edit through ajax could be a great improvement, a user sent me a module once that basically accomplished this and it is wonderful, I keep it in all of my PW installs. It just misses to update the tree without reloading. I have been working on Shopify, and this "smoothness" in going from one part of the site to the other is very well accomplished in their interface.
  7. I didn't even know PHP could actually look like that. First time I was like, "what the heck with all those arrows?".
  8. Check this example by Ryan himself, I think this form is as simple as it gets, pretty much in a regular PHP way, but using PW API to make it all a lot nicer. This other post by Soma has insight on how to create a Page and save it. You just need to put the data from your form into the fields.
  9. I am always used to plan something ahead in Chrome. If I want to add something, I just write the HTML markup with the correct id or class in the file, and in Chrome I start fiddling with the CSS directly. I will have to check the developer mode completely. For the IDE, I'm very happy editing with Emacs.
  10. RT @Chacoproject: Nos vemos hoy 4pm Radio @imerhoy Para solicitar su entrada al teléfono de la estación 56010802 o MD con su nombre https:…

  11. RT @isellsoap: My @processwire article is published on @tutsplus, check it out: 4 Reasons to Choose ProcessWire as Your Next CMS https://t.…

  12. RT @yuuji_higa: #b3d トトロ水彩調3DCGblender 2.76で作りました。 https://t.co/Z5ScFgVyyl

  13. I have to say I agree with pwired, what he is exposing is exactly what I got as a first impression of the overall site. Nonetheless, I like the other design feats, color choice and typography and of course imagery all looking nice to me.
  14. This is cleared by the answer written by Tom. I will elaborate on his answer just trying to include the HTML you wrote a few posts back, I hope it makes it more clear. I'm not exactly sure the syntax of the nested dropwdowns is correct, hope you get the idea. <?php $results = $pages->get("/")->children("template=events|articles"); //$result is one of your "content types", in this example, it could be Articles or Events page object. ?> <?php foreach ($results as $result): ?> <li class="dropdown"> <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?php echo $result->title //This would echo either "Article" or "Events" ?> <span class="caret"></span> </a> <ul class="dropdown-menu"> <?php foreach($result->children as $user):?> <li><a href='<?php echo $user->url ?>'><?php echo $user->title ?></a> <?php foreach($user->children as $item): //This would be an article or event in itself?> <li><a href='<?php echo $user->url ?>'><?php echo $user->title ?></a> <?php endforeach; ?> </li> <?php endforeach;?> </ul> </li> <?php endforeach; ?> This could be included anywhere in any template and render the same, because $pages (whatch out for that plural!) variable that let's retrieve any page no matter where you are on the tree. The $pages->get() retrieves one page, in this case the root page, and the next method "children", returns the PageArray whose contained pages matches the selector. The only thing I don't like about this is that I would need to specify the selector's parameters in case I add more "content types". But that's more of a topic on how you would plan your website.
  15. Conclusion, we are weird anti social people. Ok, jokes asides, it seems to be the trend with the type of developers Processwire attracts as diogo stated. I also think that also the very nature of Processwire makes it a bit "anti marketing buzz". We just won't be seeing: "10 MODULES YOU CAN'T LIVE WITHOUT" and I think that because this "markets" don't really exist in the PW related dev world. I wonder if we should take a look at what other frameworks more like Laravel are outputting to the social media. Ironically, I started using Twitter a lot more recently to basically get more involved with anyone out there who is using Processwire.
  16. Nothing better to cure The Erector Set than the PW roadmap for 2016! Everything looks so exciting, thanks for the great work! I look forward to keep developing and contributing to the community this year, it's included in my new year objetives Happy new year!!
  17. It is plain easy with Processwire! Check out this topic by Ryan or this other topic where some basics are discussed trying to clarify this topic for another forum member. If you are still a bit confused, try researching a bit on what is AJAX, this is all more about frontend work than backend, so you will be getting into javascript to learn how to make the requests, receive the data, and output it into your already existing HTML.
  18. I double the thanks! I think LostKobraKai's posts around the forum are a damn awesome source of learning, short elegant code filled answers right in your face! But certainly can't stop thanking here, there is so much talented and experienced people giving away so much valuable advice, I had forgotten how important a community can be when learnimg new stuff. And no, I'm no that drunk yet! But already feeling sentimental lol
  19. Yay! This was the year I started my Processwire affair, it has been great! Thanks everyone for the good vibes!
  20. Could this be used for example, if I don't want to use the "else" statement to render normal requests content, and just have it on the rest of the template file?
  21. What I would do to render things inside Resume, is to have the template assigned to the Resume page have something like this: $jobs = $pages->get("title=Jobs")->children; foreach($jobs as $job){ echo $job->render(); } In this example, I would be rendering each page under the Jobs page inside the Resume rendering. In the jobs template, I would have to include only the HTML needed to render each job (wether it is a li element or something else). Heck, if its only a list I would render it in the foreach loop above.
  22. I think we all just our answer on the latest blog post https://processwire.com/blog/posts/a-preview-of-coming-attractions-to-processwires-image-tools/
  23. If you know how to put a HTML website with their scripts and css files running, you are already on your way. Processwire content gets called through the API and you can basically put it anywhere you want. I have built a lot of "basic" websites in a better way than I could have imagined with other CMSs (or on my own for what matters!). If you'd like to see some stuff built into the basic level, I would gladly show you.
×
×
  • Create New...