Andreas Augustin

  • Content count

  • Joined

  • Last visited

Community Reputation

14 Good

About Andreas Augustin

  • Rank
    Jr. Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Graz, Austria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Andreas Augustin

    @Robin S yes, this works well - I will use that way thank you for the investigation
  2. Andreas Augustin

    @Robin S this works, but I get the actual value from the database and not the new input from the field which I want to validate
  3. Andreas Augustin

    has anybody an idea?
  4. Andreas Augustin

    Didn't work. I got this error after saving: ProcessWire: ProcessPageEdit: Method InputfieldTextarea::getLanguageValue does not exist or is not callable in this context
  5. Andreas Augustin

    Nope. I tried following and this did not work: public function validateShortlinks($event) { $lang = $languages->get('de'); $value = $event->object->getLanguageValue($lang); //dont work }
  6. hello, I want to build a custom validator on my multilang site. I added following hook, but I get only the default language value. How can I access the values of the other languages? public function init() { $this->addHookAfter("InputfieldTextarea::processInput", $this, "validateShortlinks"); } public function validateShortlinks($event) { $field = $event->object; $text = $field->value; // only the default language, how can I get the other languages? }
  7. Andreas Augustin

    Sure - I added 2 files with adminonsteroids: site/template/admin/admin.css site/template/admin/admin.js With these codes I hide following features: Image Cropping Image Variations Image Title change Image Actions Image Change on Drag & Drop /* added ot admin panel sites */ .InputfieldFileActionSelect, .InputfieldImageEdit__info, .InputfieldImageEdit__buttons button { display: none !important; } .InputfieldImageEdit__buttons button.InputfieldImageButtonFocus { display: inline-block !important; } .InputfieldImageEdit__name span { cursor: default; } .InputfieldImageEdit__imagewrapper .detail-upload { visibility: hidden !important; } // added ot admin panel sites $(document).ready(function() { $('.InputfieldImageEdit__name span').removeAttr('contenteditable'); });
  8. Andreas Augustin

    I solved it with AdminOnSteroids and Custom CSS/JS
  9. Andreas Augustin

    I found, that Ican skip fields in the ProcessPageEditImageSelect Config... but when I add the field... nothing happens. I still can crop the image
  10. Hello! Can I deactivate the renaming feature of images and the editing (croping, rotating etc) in the processwire admin panel?
  11. Andreas Augustin

    Other question. What would the best way to extend an existing Image Field database table with a new column? When I Upload the image in the hook to the thirdparty provider, I will get the URL after the upload is finished and want to save this to a column like "cloudinar_url")
  12. Andreas Augustin

  13. Andreas Augustin

    Hello! is it possible to hook into the image upload and send the uploaded image to a thirdparty asset managment service? After the image is uploaded on the server, I want to send it via an API to an other serrvice where I receive an URL which I want to save in the db to the image entry. Any ideas?
  14. Andreas Augustin

    FYI. Currently we have an bug in FF with Tracking Protection :-( Will be fixed soon
  15. Hey! We use Processwire in for Blue World Content Section and did some fancy SVG Primitive lazyloading for our images. How do you like it: We also wrote an article about how we did it: