Jump to content

teppo

PW-Moderators
  • Posts

    3,259
  • Joined

  • Last visited

  • Days Won

    112

Everything posted by teppo

  1. 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.
  2. The 15th issue of ProcessWire Weekly is out right now, right here: http://t.co/w7bVs6CUZq. Check it out! #cms #processwire

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

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

  5. 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'.
  6. RT @jkenters: Considering a new #cms? Also consider the community behind it; it can make or break your project. These are great: @craft @mo

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

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

  10. @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).
  11. 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…

  12. 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
  13. RT @lizardbill: "Dates can be sometimes a little bit tricky to work with as data..." -@jtleek /That's some weapons grade understatement rig…

  14. Still using Eric Meyer's reset. Always works for me, so never really had a reason not to use it / look elsewhere
  15. 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…

  16. 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
  17. @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
  18. @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..
  19. @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.
  20. 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.
  21. RT @viljamis: Sometimes the Internet just stops. http://t.co/FKsq4MhHTv

  22. RT @anttti: Opinionated Rundown of JS Frameworks http://t.co/5gpuSuglJT via @instapaper

  23. RT @apeisa: Huge new feature for @processwire - template export & import: https://t.co/fbTAc4cvWb

  24. Number one trick for getting retweets and favourites: cat pics. Works every single time. #SocialMediaMadeSimple

×
×
  • Create New...