Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/19/2012 in all areas

  1. ProcessWire2.+ Admin Hot Keys 0.0.7 This modules adds hot keys functionality to PW backend. The keys can be configured in the module settings in the admin. I created a repo here for download and if anyone interested in picking it up. https://github.com/s...ic/AdminHotKeys Currently it supports Save : ctrl+s Add New : ctrl+n View Page : ctrl+v Open Pages search : alt+q (search field can be configured) Open Templates search : ctrl+shift+t Open Fields search : ctrl+shift+f Goto Pages : ctrl+shift+p Goto Setup : ctrl+shift+s Goto Modules : ctrl+shift+m Goto Access : ctrl+shift+a Note: If you're inside a text input it will ignore the hot keys, as to avoid problems with already defined key. Tip: If you open up templates or fields autocomplete search `ctrl+shift+f|t` press `shift+tab` to focus on the link in the label previous to the search input box. Now hit enter to get right to the template or field screen. (If using FF make sure to enable tab focus for all elements in MacOSX: http://support.mozil...enus or buttons)
    2 points
  2. Hi, I really do like how PW crops and resizes images but, you know, I always want more So my little wish list goes like this: Set quality on the fly: $thumb = $image->size(100,100,75) - some images like logos need 90% quality and some would only need 75. And you could argue that some could cop a 50% hit in image quality - full page background images for example. Set the position of where the crop takes place ala phpThumb (useful yet hideous in many ways): $thumb = $image->size(100,100,90,TL) or $thumb = $image->size(100,100,90,TR) or $thumb = $image->size(100,100,90,C) Cheers Marty
    2 points
  3. I'm with you on that Soma. Even on my largest site with 400 pages there are only a few images (maybe 5-10) that actually needed to be re-used elsewhere. The more I think about file managers the more my head hurts nowadays, but it did seem odd at first coming from MODx's file manager (something hooked up to TinyMCE) but after you get used to it it's far easier this way for most purposes I've found.
    2 points
  4. You should also be able to grab the last image and add the description to it: $page->images->add($filename); $page->images->last()->description = "description";
    1 point
  5. I updated your code: <?php $features = $pages->find("featured=1, limit=6, sort=-date"); foreach($features as $feature) { $thumb = $feature->images->first()->size(100,100); echo "<li>" . "<a href='{$feature->url}'><div id='explore_thumb'><img src='{$thumb->url}'></div></a>" . "<h3><a href='{$feature->url}'>{$feature->title}</a></h3>" . "<em>{$feature->date}</em>" . "<p>{$feature->intro}</p>" . "</li>"; } ?>
    1 point
  6. In lieu of any real file management (discussion has already started: http://processwire.com/talk/topic/425-file-manager/) I think there should be a video field. Parsers for the most popular sharing sites, youtube being the big one. I have not really dug in to the api yet and my programming skills are pretty amateur, but I am going to take a look at the Flickr Field module and see if I can get any insight into starting off a video field.
    1 point
  7. I always use a text field to copy in video url or code. If needed inside a text I use a tag that will be replaced.
    1 point
  8. Interesting fact is that after building couple sites, some with lots of images, there's been always a good solutions (image per page) that even without a media manager it just works. The on page files has limits it seems at first, but it has also many pros. People working with me or clients wheren't really asking for something, but saying this is amazingly simple. Drag upload all files, arrange them and the gallery is finished. I find it fascinating that you can actually do pretty much with that system and even without a "real" media manager all the other cms have, which I mostly found akward to use.
    1 point
  9. should be ... $video->template->set('filename', 'teaser.php'); ... $template->setFilename() is protected.
    1 point
  10. Thank you for this update, Soma! Having tried both modes, with and without transition, I can tell I definitely prefer the latter
    1 point
×
×
  • Create New...