Jump to content

horst

PW-Moderators
  • Content Count

    3,449
  • Joined

  • Last visited

  • Days Won

    69

horst last won the day on July 9

horst had the most liked content!

Community Reputation

4,892 Excellent

About horst

  • Rank
    observer of the big picture
  • Birthday 11/05/1955

Contact Methods

  • Website URL
    https://nogajski.de/

Profile Information

  • Gender
    Male
  • Location
    Aachen, Germany
  • Interests
    Photography; PHP, HTML, CSS (SASS,LESS), JS;

Recent Profile Visitors

32,858 profile views
  1. This looks good! Will try it in the afternoon. Many thanks. 👍
  2. When I load a site per link with URL & anchor (https://www.example.com/#anchor), is it possible to catch / prevent the native jump and instead delegate this to an own javascript? I found many resources about smoothscrolling within a doc, but I need to know if there is an event that can be catched, before a browser does a native anchor jump. :)
  3. Hi @iipa, here are some useful links: I use the hook from Ryan since a few weeks and it works really good: Maybe one can this adapt to match more than inline styles. (?)
  4. @toni Great to hear you solved it! 👍 I set the thread title to "[SOLVED] ... ". The forums software allows editing of the thread title when opening the initial post.
  5. @toni Very often it has to do with not enough memory for loading the source image into ram and create the variation(s). Check PHPs max_memory and if possible, use the imagick image rendering engine, as it can process images in chunks or lines, whereas the GD library always need to load the complete uncompressed image into ram.
  6. @gmclelland here are screenshots of my use case and solution with the medialibrary module and the imagepicker module: This is very nice solution. The site owner likes it. She can select completly visual. No distracting informations around. Just the icons. :)
  7. @gmclelland many thanks. Will have alook at it. Meanwhile I had solved it with bitpoets medialibrary (and maybe something other in combination? Don‘t remember correct atm.)
  8. No, sorry, no snippet at hand. But you can look into any TextformatterModule that deals with images, as they do exactly that (parsing the markup and identify images). Look into the modules directory to find some. ;-)
  9. Hi and thanks for this useful module. I added to my list of things I need to explore soon. ;-) A common usage for modules that need to inject content in the head or body output of pages, is to optionally serve a manual way per API call besides the automatic way.
  10. I think, you need to parse the html markup of the textarea field(s) for <img src="..." />, collect any found in an array, and then, when displaying all images from the images field, compare each name with the collection and skip those that exists in the collection.
  11. Hi Pete, I'm not sure if this is of any help with editing user, as it all belongs to page edit buildform. But maybe you just have to look for ProcessUser instead of ProcessPageEdit like in this related snippet: protected function afterBuildForm(HookEvent $event) { // Only for ProcessPageEdit (not ProcessUser) if($this->process != 'ProcessPageEdit') return; Here are some links to posts with tips and other links on this topic for pages: https://processwire.com/talk/topic/17444-modifying-tabs-moving-fields-to-another-tab-in-page-editor/?do=findComment&comment=153312 https://processwire.com/talk/topic/19537-pageeditor-children-tab-possible-to-load-children-directly-on-open/?do=findComment&comment=169412 https://processwire.com/talk/topic/14887-hook-to-hide-inputfield-in-admin/?do=findComment&comment=133586 Regarding this useful information, you cannot completly remove the name filed, but hide it:
  12. Hi @kixe, additionally to what @jploch said above, and when you are already at it ;-), it would be very helpful to have the option for auto-backup on login! The real life usage of auto backup on logout is not consistent because some users simply leave the backend without logout process. So I would prefer to switch to auto backup on login process. :-) (Login process can not be skipped like Logout process!)
  13. What's about a cache busting param with the last modified timestamp of each image variation file? /site/assets/files/1/basename.300x0.jpg?ts=1565267238
  14. https://www.i-programmer.info/news/197/12978.html Nothing practical for me, but an interesting read. ;-)
  15. Tracy debugger has many tools to help in development. One of them is the user-switcher, which exactly does what you asked for! There are also other modules out there that provide this user switcher functionality. If I do remember right, @Pete has build and released one. (search in the modules directory for it) My ALIF module once came up with this, but in the meantime I have stripped it out, as there are now other solutions for this, so that I don't have to maintain to much functionality with my modules. :)
×
×
  • Create New...