Jump to content

teppo

PW-Moderators
  • Posts

    3,208
  • Joined

  • Last visited

  • Days Won

    107

Everything posted by teppo

  1. At the moment @twitter, @LinkedIn and @github each have great Android apps.. for mobile users. 10.1" screen begs for a different approach.

  2. RT @npcount: Today's (Not Provided) Count is 78.62% - At this rate we'll hit 100% on 21st November 2013 http://t.co/W9JBUxfD6F

  3. @FuturShoc: wire function (wire('api-var-name')) is needed outside PW template context where $sanitizer, $pages etc. API variables won't be defined. This is briefly explained in API docs too. Most commonly this affects functions, modules (where $this->pages etc. are also available) and bootstrapped scripts. There's probably something about that internal server error in your log files (PW and/or Apache) so you definitely should check those first.
  4. Kind of pointing out the obvious, but the code Pete posted creates config ARRAY, while interrobangs approach creates OBJECT. It really doesn't matter which one you use here (especially considering that PHP array syntax isn't exactly pretty), just wanted to clarify the terminology a bit for any "OOP beginners" stumbling into this thread..
  5. Hello there! I can't seem to reproduce this -- searching with Chinese characters works just fine for me. Could you describe in a bit more detail what, where and how you're doing this? Are you talking about search in admin, site (front-end) or..? And just to make sure it's not something that's changed (though I can't think of such a thing right now) could you please provide the version of PW installed.
  6. Just guessing, but could it be that $urlcat is actually PageArray? Try $urlcat->first()->title instead (or change that "find" to "get".)
  7. @adrian: dropping conversions for now sounds like a good idea. I'm most likely going to take a look at the conversion part once I get a chance, as I'm still predicting various issues within our client base, but that's definitely not a requirement for most others.
  8. @adrian: my information was outdated, I had no idea that mp4 was that widely supported -- forget my comments about FLV Media conversion still sounds important, as in most cases our clients seem to either a) have video files they got from external source or b) something their recorder / web cam / whatever created.. and in both cases very little (or none at all) idea how to convert those to anything else. It's a shame that ffmpeg-php can't do it.
  9. @adrian: this sounds awesome and definitely fits some of our needs just fine.. so thank you very much for working on this! Regarding ffmpeg and ffmpeg-php, I've just tested two hosts and one had both of those installed. Other host is my Linode VPS which, as expected, didn't (and shouldn't) have them yet. I don't think this kind of requirement is such a big problem really, especially since this kind of field can IMHO be most useful in slightly larger projects, where getting a proper host shouldn't be an issue. YouTube is just fine for most others. Have you seen https://github.com/CodeScaleInc/ffmpeg-php, by the way? I can't speak for it's quality as I've never tried it, but it might be worth considering as an option to ffmpeg-php. Probably not a good default though, as a PHP extension would most likely have some advantages, such as speed (C vs. PHP.) From your feature list "automated video format conversion" sounds like the most important one to me. Unless I'm mistaken, video element only takes us halfway there; visitor's browser still needs to support each video format used and thus conversion + some kind of player sounds like the best option. One system I've been working with has something similar as this, though it by default converts all other formats to FLV and then uses Flowplayer to play those -- this has been in use for years and seems like a solid option. Anyway, I'll be sure to check your code better as soon as I can. Would love to help somehow, too. Edit: almost forgot to add that having an optional, built-in player would be a nice addition. Something like the Flowplayer integration I mentioned above, so that $page->video_field->render() would simply output the player. Just saying
  10. RT @vpieters: Interesting: The How-To Guide to Responsive Email Design. https://t.co/IeXfvZznOG

  11. teppo

    Hanna Code

    @Macrura: first of all, if you've enabled HTML Entity Encoder, make sure it comes in after, not before, Hanna Code textformatter. The code snippet you posted earlier works just fine for me, so I'm guessing something else is wrong.. most likely another textformatter messing with markup before it gets sent to Hanna Code. If that doesn't solve your problem, try debugging your snippet, ie. what's the actual attribute value in there.
  12. RT @funkatron: "A big framework with a lot of proprietary idioms is a risky choice. Remember Enterprise Java Beans?" https://t.co/xHhAEkta1…

  13. RT @funkatron: I'm not an advocate of never use framework at all, but your needs should dictate your tools, not the other way around.

  14. I'm not saying that this is a bad idea, but it won't fit all needs -- and thus it might not make sense to complicate the built-in login system with it. When it comes to login systems, "friendlier" could also be considered "less secure" -- but that isn't really such a huge issue here, brute force attacks being already pretty unlikely with Session Login Throttle enabled by default etc. Anyway, you can always roll your own custom login if you prefer something more specific: see this post by Ryan for an example.
  15. teppo

    PW Design

    First of all, I'm a big fan of PW's current admin UI and also aware of other possible admin themes, but I'm also very happy about the discussion in that thread @kongondo linked above.. and thus also the opinions expressed here Common argument here and elsewhere seems to be that PW allows you to swap the default admin theme to something else, but I don't think that people saying this are really getting it. There's a very special position deserved for default theme. It's an entry point, first impressions are based on it, and it also plays an important role when defining PW's external image, ie. what kind of message it wants to send. I've evaluated a few CMS products myself and I must admit that for me first impressions are very important. I'm the kind of guy who first looks for screenshots and then reads the specs. That's just how my mind works and saying that it's "wrong" is, in my humble opinion, more than a bit arrogant. Current default admin theme is very usable and I myself like it's simplicity a lot, but that two-column layout @Philipp presented in aforementioned thread was simply jaw-dropping. Just because PW is a flexible framework for building awesome custom stuff doesn't mean that it can't be pretty and sexy out-of-the-box, especially if that's what many (otherwise very capable) web designers / developers are looking for. There are a lot of CMS products around that all claim to be flexible, extensible and usable. It's simply not an easy market to crack and thus I don't think that we should skip over any steps that can make PW's road less rocky.
  16. Ryan has explained reasoning behind this here (and on couple of other posts, actually, that just came up first.) In addition to what @apeisa suggested above, you could probably use Pete's Maintenance Mode module to achieve what you're asking (not tested, but based on module description it should be doable.)
  17. Hello Joe -- welcome to the forum! Can't really say right away what could cause this, but that sounds like image resizing gone wrong. Are you using master or dev branch of ProcessWire and is there anything strange either at the server error log or PW's own error log at /site/assets/logs/errors.txt? There have been some changes to image handling in dev branch lately, but I haven't really been keeping track of those, so if you're using dev you could always try installing new PW from master branch to see if the issue exists there too. Also, are there any other files in that directory, apart from x.jpg and cabin1.x.jpg (are these actual filenames by the way?) It would also be helpful if you posted some basic details about your server.. is it running Linux, OS X or Windows, is the web server Apache, ngingx or something else etc.
  18. There's a "record" button for this at the bottom of Network panel, labeled "Preserve Log upon Navigation." Anyway, I definitely get what you're saying -- it's pretty much the same for me whenever I try to use Firebug these days. Most of the time both tools seem to do similar things, they're just organized differently. If you're a hardcore JS developer Chrome dev tools has stronger toolbox for you, but otherwise it won't really matter that much @Soma: agreed, speed was definitely a big factor for me when switching to Chrome in the first place. Generally speaking it just seems to function much faster and it's UI is super simple and uncluttered. Can't say anything about FF dev tools, except that the 3D view is absolutely hilarious.. useless (at least from my point of view) but very fun. Looks like FF devs are focusing on some very important stuff there
  19. Is this a question of preference or does Firebug still do something that Chrome dev tools don't and/or do something way better? Asking mostly out of sheer curiosity, as I've dumped FF+Firebug long time ago myself
  20. There have been a few rumors flying around about Elop's actions and motives as the CEO of Nokia, but who knows.. there's no solid proof about anything like that, of course. In any case both the fall of Nokia and the fact that they've already embraced Windows could be seen as fortunate things for MS, who seem to be looking for an easy way to grab their slice of the mobile market Oh, and by the way: MS is only buying mobile phone unit of Nokia. That's just one part of Nokia, although admittedly best known (especially in consumer market.) In a way this could actually be a good move for Nokia, as the mobile market clearly hasn't been working too well for them lately.
  21. @ryan, any progress on this issue? Just checking, 'cause we're getting reports of this one from clients. I might take a closer look at this one soon, but wouldn't want to repeat steps you might've already taken..
  22. RT @illumidk: “Responsive design won't fix your content problem” – @karenmcgrane, #aeachi

  23. See http://processwire.com/talk/topic/2376-funky-session-behaviour-in-module/?p=22396. Haven't tried this with PW and can't say for sure, though, but it looks like a good start
  24. RT @JavaScriptDaily: Preparing for Animations in Angular 1.2.0: http://t.co/dgHb7mQ76r

  25. RT @processwire: Check out the new @cmscritic CMS directory, powered by ProcessWire: http://t.co/BI5rSei9lO

×
×
  • Create New...