Jump to content

sarah_hue

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by sarah_hue

  1. Horst, thanks a lot for this wonderful module. It is extremely useful to me and I'm impressed by its complex possibilities! I've got a question regarding the caching and rendering: While regular images are cached, those images I process using PageImage Manipulator seem to be recreated on every access of the frontend page containing the image. Is this a desired behaviour, or did I just miss setting the right parameters? Here's the code used in my template to output an image with added watermark on the website: $img = $page->special_image; // choose file containing watermark sample $watermark = $pages->get("/special/watermark")->images->first(); // add watermark to image $imagewithwatermark = $img->pimLoad('tw',true)->width(800)->watermarkLogoTiled($watermark->filename)->pimSave(); // output image $content .= '<img src="'.$imagewithwatermark->url.'" title="'.$page->title.'" style="height: '.$imagewithwatermark->height.'px; width: '.$imagewithwatermark->width.'px;" /><br />';
  2. Well, that was too easy... Must have read "wishlist" several times when scrolling the forums, but just didn't realise... I understand that there's a letter ä in several languages (earlier this day Wikipedia blew my mind when I checked how many alphabets are using it). That's why I thought of setting a rule only for those installations using the German language files. But that is too difficult to integrate, I suppose. Thanks, Martijn, for suggesting the ß-ss-thing!
  3. Great, thank you very much for your help, WillyC and horst! This is exactly what I was looking for. Thank you for the instructions. I would like to see the correct entries for German umlaute as a standard for German language installations of ProcessWire (though it might be difficult since it's not in the language files). Is there a wishlist? Sarah
  4. Hi, while setting up my first ProcessWire site, I ended up with a very specific problem: The PageNameURL does not consider German umlaute when using the page title to generate the page's URL name. In written German, ae, oe, ue and ss serve as substitutes for the umlaute (mutated vowels) ä, ö, ü and ß, if the actual umlaut cannot be used. As far as I know this is a specific German thing, since other languages use the regular o instead of ø or a instead of å. So here's what happens, if I put some German words in the page title: Page Title: Falsches Üben von Xylophonmusik quält jeden größeren Zwerg. Generated Page URL: falsches-uben-von-xylophonmusik-qualt-jeden-gro-eren-zwerg (correct form: falsches-ueben-von-xylophonmusik-quaelt-jeden-groesseren-zwerg) Since I'm quite new to ProcessWire, I can't figure out where to change the PageNameURL generator's behaviour. I guess two changes will need to be done, one for JavaScript and one in the PHP scripts. Thanks a lot! Sarah
×
×
  • Create New...