Jump to content

teppo

PW-Moderators
  • Posts

    3,262
  • Joined

  • Last visited

  • Days Won

    112

Everything posted by teppo

  1. Just for the record, since it's closely related to this thread, there's a pull request in GitHub about SQLite support (opened back in May). There are quite a few changes and most likely it isn't in sync with current dev branch (it's based on the master branch), but still works as a nice proof of concept for SQLite support. If any SQLite user here is able to get that one running and could run a few tests to see how well it behaves (the questions Ryan asked in his comment to the PR, like how well selectors work etc.) it would be interesting to hear.
  2. "Harming civilians results in an instant game over". Real life has so much to learn from video games.

  3. @mvdesign: sorry, corrected my earlier post -- meant to say bootstrap use, not API use. The principle was correct, though; if I'm guessing right, you're bootstrapping ProcessWire, and thus output formatting is always disabled and file fields will always return arrays, regardless of output settings (including the "output single item if limit is one" setting).
  4. Bootstrap use, presumably? In that case output formatting is off and field value is returned in array format. You'll need to call wire('pages')->get($id)->file->first()->url etc.
  5. The 15th issue of ProcessWire Weekly is out right now, right here: http://t.co/w7bVs6CUZq. Check it out! #cms #processwire

  6. RT @felixwahner: Just released a little Textformatter that wraps the essence embed lib for @processwire. See https://t.co/DRTetjvKkH

  7. RT @reiner: We had @minimizepw ,@cronpw and now we're working on our next @processwire project.

  8. Probably the easiest way would be using Schedule Pages. If you need the unpublish date to be automatically set to x days after publish, you'll need to write a simple module to auto-populate the value of field 'publish_until'.
  9. RT @jkenters: Considering a new #cms? Also consider the community behind it; it can make or break your project. These are great: @craft @mo

  10. RT @WIRED: The '80s videogames that built castles from words-and changed my life http://t.co/vdFsLhhCX3 http://t.co/FAor1OpIJq

  11. Moved the topic from "Community Support > General Support" to "Off Topic > Dev Talk".
  12. RT @viljamis: What you should know about JavaScript regular expressions http://t.co/b0a2hHvpYf

  13. @Sparrow: not sure if there's any specific documentation for these. FieldsetOpen and FieldsetTabOpen are two of the field types you can choose when you're creating a new field and when applied to a template, you can use them to split one template (in Admin, as these fields rarely have any meaning at template files) into fieldsets and/or tabs. That's all. Edit: fieldsets are also discussed in the overview video. If you're not familiar with that, the entire presentation is worth watching (in fact it's where every new user should always start from, if you ask me) but here's the specific part discussing fields (including fieldsets).
  14. RT @EdFelten: White House cybersecurity czar “sees his lack of technical expertise in IT security as an asset in his job”. http://t.co/P6GU…

  15. Even if alternatives are not needed (sorry!) and though you've probably already evaluated it, when I used to develop on Windows, XAMPP was all the rage. Cross-platform, well maintained, free, etc. Just saying. Then again, it's way over 100MB package, so if that makes a difference (?), it's probably out of the equation too
  16. RT @lizardbill: "Dates can be sometimes a little bit tricky to work with as data..." -@jtleek /That's some weapons grade understatement rig…

  17. Still using Eric Meyer's reset. Always works for me, so never really had a reason not to use it / look elsewhere
  18. RT @searls: Why write a shell script when I could publish a package in a popular language that'll be slower, longer, and stop working in tw…

  19. Might want to consider a simple module for that task. In a situation like yours, where all affected fields are most likely well known, it wouldn't require too much magic to hook after image descriptions are changed, find references to said images in specific field(s), replace alt texts and then save the field(s). Some regexp required, but that's just about all there is to it
  20. @kongondo: sorry if this is unrelated (I don't have a proper test environment at hand right now) but sorting by dates is entirely doable using MarkupAdminDataTable too. It just requires a bit of extra work: prefixing actual, visible value with hidden, sortable value; something like yyyy-mm-dd etc. This is how I solved it in ProcessLoginHistory. Sorting multi-page values is another issue entirely, but as far as sorting visible results is good enough, no need to complicate things with new 3rd party components
  21. @LostKobrakai: multi-language image description part makes sense, but I'm not so sure about the latter suggestion. IMHO these (image desc and alt text in RTE) are not the same thing and shouldn't be connected in such a way. Description being used as the default alt text is pretty good compromise, actually. For an example, I've used one image multiple times with different alt texts quite often. There's also the point that in this case the alt text should be updated for other pages too, which would make this rather complicated to implement (if it's updated for some cases where the image is used but not all of them, that's just plain confusing). On the other hand this is something I've had to explain to others multiple times, so perhaps some sort of "[ ] define here: ___________ / [x] inherit from image" option would be an optimal solution, though I'm still not quite sure how cases where image from another page is used should be handled..
  22. @SiNNuT: it should probably be noted that Phalcon is not written in PHP but C and thus it's even more difficult to fairly compare it to any framework written in PHP. It's a different type of animal I'd really like to stress that Laravel and other web application frameworks are very different from ProcessWire by nature. ProcessWire does a ton of things they don't (the content management part) and they probably do a bunch of things ProcessWire doesn't. Apples to oranges and so on.
  23. Looks like there's a problem with InputfieldPage. PageListSelectMultiple didn't originally support findPagesCode at all, until Ryan added that feature per my request -- but in that version it was actually broken and the fix was only introduced to dev branch. Since it's essentially a bug with with a module in wire directory, your options are .. a) using another input field type such as AsmSelect (works fine if you're only dealing with direct children of one page), b) using dev branch of ProcessWire (if this site is still a work in progress this might be a good idea anyway) or c) replacing /wire/modules/Inputfield/InputfieldPage/InputfieldPage.module with newer version of same file. Hope this helps a bit.
  24. RT @viljamis: Sometimes the Internet just stops. http://t.co/FKsq4MhHTv

×
×
  • Create New...