Jump to content

yellowled

Members
  • Posts

    284
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by yellowled

  1. Fresh install on PHP 5.4.16 (not sure about the exact Apache 2/MySQL 5 versions, let me know if those would be important). Worked like a charm. Had to explicitly set the RewriteBase to "/", but that's always been necessary on this server.

    The dev version identifies itself als ProcessWire 2.3.5, is that even the right one? (Downloaded the zip from the dev tree on GitHub.)

    • Like 1
  2. It does even offer an SCSS file and a Grunt build script. In my book, that's pretty much perfect.  :) It is also very accessible (e.g. using button for elements which actually are buttons), it seems to offer a fallback to display the content differently on very small screens (where a lightbox really doesn't make any sense) … boy, I wish more jQuery plugins other would be thought-thru that well.

    • Like 2
  3. The Magnific Popup caught my eyes as well (haven't had a chance to test it yet, but definitely will). It is done incredibly well, very flexible and customizable and also implemented with an eye for the little things. Definitely a plugin to watch.

  4. Although I know and sort of understand the wish of clients to be able to do so, from a designer's/developer's point of view, these “free form” content types are not necessarily a good choice. (Disclaimer: This might be a very subjective point of view, and yes, I admit to being kind of a control freak.)

    I don't know what kinds of clients you guys have, but a lot of my projects are websites for people who don't really know much about building web sites. Those clients can actually benefit from a “rigid” approach because it does not only limit their possibilities, it also limits their margin for error, bad layout choices and basically anything which makes designers pull out their hair, as arrogant as that may sound.

    Then again, as long as this is implemented as a module or an option, keeping the flexibility we all love about PW, this probably is a “why not?” feature.  :) (Just my 2 cents.)

    • Like 5
  5. It's funny how CSS layouts haven't really changed over the past couple of years since everybody stopped using table layouts.

    If you google “css layout types”, it's pretty likely you'll find articles on fixed vs fluid, on responsive, maybe even some on hybrid and elastic. Most of these (responsive being the exception) aren't even about types of layout, but about the dimensions used. (Layout beginner's, don't bother with anything but fluid and responsive.)

    Also, (probably) the most popular layout technique these days – floats – technically wasn't even meant to be used for layouts. Just like using tables for layouts (Beginners: don't. Just don't.), using floats to align boxes next to each other is actually a hack. But since the new CSS3 modules for layout are far from being usable even in modern browsers (Flexbox and Grids), we're left with what we've been using for years now for the time being – floats and absolute or relative positioning.

  6. jQuery is a great example of how a frontend framework can be useful – it makes writing JS way easier (some people would not agree that this is a good thing), takes care of browser issues (unless you use the new jQuery 2.0 and still have to support oldIE) and even makes using JS safer. But it does not impose things on the user like a lot of CSS frameworks do. That is, until you start using jQuery plugins, because some of them require specific CSS to work.

    The thing with CSS framework is, most of them include a UI component, much like jQuery has jQuery UI (but doesn't bundle it). It would be perfectly okay to use e.g. Bootstrap's layout module, but most people just download the whole thing and use it. (I'm not even sure if you can download just “the good parts”.)

    So a pretty good indicator for a usable CSS framework would be that it's modularized in a way that you can choose which modules you want to use. If if even has a generator which gives you an individual build, great. But if it is split into modules but still ships the whole nine yards in any download package …  >:(

    • Like 1
  7. I don't think there's anything to add to kongondo's list. That's pretty impressive.  :cool:

    I am not a fan of frameworks, especially not for responsive webdesign. I'm with Teppo here – understanding what's working how and why is very useful, especially if you're not familiar with it yet. Also, keep in mind that while RWD is not limited to mobile/smallscreen devices, they are primary objective. Most framework come with a lot of “baggage”, i.e. stuff that your site won't need. So technically, you'd have to remove a lot of stuff to keep your site slim. Personally, that's now how I like to spend my time …

    Also, most of these frameworks have kind of a “branding”. I have yet to see a site build with Bootstrap without being able to tell that it's been built with Bootstrap without even looking under the hood. It takes a lot of effort to drop the Bootstrap stuff – I guess that effort would be spent better in actually designing the site …

  8. I always try to avoid absolute or relative positioning unless I actually need it. That's not a judgement, it's just that in my experience, it usually opens Pandora's layout box. I also actually do (almost) every project responsively these days, or at least have it prepared to become responsive. So it's usually a flexible layout using percentage widths and floats or a flexible grid system. Also, I almost always use a mobile-first approach, which means I start with a “non-layout” and work my way up. Simply works better for me with responsive design.

    • Like 4
  9. How can I have them rendered out each one on it's own line ?

    By emitting a newline escape sequence at the end of your echo statement:

    echo "<link rel='stylesheet' type='text/css' href='{$config->urls->templates}$file' />\n";  
    How can I get all picture urls each on it's own line including the part alt=""

    For the new line, same thing as above. For the alt text:

    <?php
    foreach($page->images as $image) {
        echo "<img src='$image->url' alt='$image->description'>\n";
    }
    ?>
    

    Of course, the proper alt text will only be emitted if you or your editors actually enter an image description in the PW backend.

    Also, I would advise to emit the images as an unordered list here. That's what they are semantically. You can remove the list bullets using CSS, of course.

    • Like 1
  10. And Grunt.js is not preprocessing, right? It's a build tool, so how would you use Grunt for compiling Sass, Less and CoffeeScript while developing?

    You would have Sass (and/or Compass or whatever you prefer) installed and let your Grunt build script's watch task run it for you in the background. For me that's just it: Grunt can do so much more than just run a preprocessor. Yes, it needs some time to get into and get the hang of it, but once you've set up your Grunt tasks, it does practically everything but write code.

    And I'm sure the Grunt guys are going to figure that out as well one day.  ;)

    • Like 1
  11. I'm not totally clear about exactly what Homebrew is, but I love the name. 

    Well, it's a package manager for OSX. You may have heard of MacPorts, which is similar. Basically, Homebrew makes it easy to install software which is neither included in OSX nor available in the AppStore. For instance, I use it to install (and update) node.js.

    • Like 1
  12.  Should I have just tried to build everything from scratch and add in the extra features step by step?

    Not sure. I consider myself to be not very firm with PHP, either. In fact, I have stated on numerous occasions that my PHP knowledge resembles the faculty of speech of a toddler. I never bothered to check out out said profiles/tutorials (because they didn't exist when I first checked out PW), I just started to build an older, smaller site. Maybe it helps that I'm firm with jQuery, after which the PW API is tailored. Along the way, I searched the forums, the API docs and asked very stupid questions. That's how I got to know the basic solutions, the “how to do XY in PW”s, if you will. You definitely do not need to be a PHP wizard to build (basic, at least) sites with PW.

     I don't know where to even begin to tackle things, especially when it comes to specific customization.

    Sounds as if you're trying to take on too many things at a time. Try to relax and address one issue at a time. Don't hesitate to ask questions here – as long as you've searched forums and API docs and tried to understand it, no one here will bite your head off for asking questions.

    Most important of all: it is fun to work with PW. Try to have some fun.  :-)

     what the difference between $page and $pages is?

    Well, very basically said, $page is the “currently addressed” page, and $pages is an array (something similar to a list) of pages in your site. You can “modify” that list of pages by using selectors to “limit” the selection of pages you would like to work with.

    • Like 4
  13. But for me, if I was having to manage more than 10 pages separately in two languages, then I'd probably want to start using multi language fields and page names.

    Yeah, there's always the looming question „How many pages actually have similar content in both (or all) languages?“. I guess there really is no ballpark for this question … anyway, this multilang core functionality is another option, which is always great. :)

  14. Ryan, what is your threshold for “simple” here?

    I'm about to port a bilingual site to PW, but there is some wiggle room as to when it's due, so I could wait for 2.3. The possibility of core multilingualism sounds appealing, although I have also managed to set up a test site using LanguageLocalizedURL. But it does involve some work, which I might want to skip here since this is kind of a pet project.

    So, any rules of thumb as to when to use what?

  15. Also don't forget that once the (relatively small) “market” of developers and designers is “exceeded”, the term “content management framework” is pretty useless. After that, the market to target is “end users, which are not devs/designers”, and those are very unlikely to look for anything else than a “content management system”. That's the term they know.

  16. I have actually implemented two projects with Perch before switching to ProcessWire.

    It is probably not as easy to add PW to a site which exists as a static HTML prototype as it is with Perch. That is something Perch does exceptionally well. Here comes the “but”: as long as the site you're maintaining with it stays really small and not too complicated, it is perfectly fine for it. If the site grows and gets more complex (and most sites tend to do that over time), the effort you have to put into it with Perch grows as well, although I have to stress that this is my personal impression.

    I really don't mean to talk down or belittle Perch. If you and your users like it and it fits your needs, it is probably the right choice. But if this is a site which is likely to grow more complex, it might be easier to go with a CMS which (again: just in my opinion) can handle bigger sites better.

    • Like 2
  17. Website is translated as "Webseite". Better would be "Deutsche Processwire Seite" (Sounds better

    I beg to differ. First of all, I would set that “Processwire-Seite”, but I really prefer “Webseite” or “Website” (untranslated). (Honestly, I don't really care as long as it's not “Homepage”.)

    • Like 1
×
×
  • Create New...