-
Posts
46 -
Joined
-
Last visited
Contact Methods
-
Website URL
https://www.blue-tomato.com
Profile Information
-
Gender
Male
-
Location
Graz, Austria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Andreas Augustin's Achievements
Jr. Member (3/6)
17
Reputation
-
Use of special url-protocols in CKEditor Fields
Andreas Augustin replied to Andreas Augustin's topic in General Support
Hm, strange. I will check it asap again. In my first try it only worked when I deaktivated the PWLink Module and used the default CKEditor Link Module. -
How can I make links with urls which have some special internal protocols like this links: contenthub://53634 page://some-cool-pag?param=xyz team://foobar This links will always be removed from my href="" in the field when I hit save. Also when I remove "HTML Purifier" and "Use ACF" setting from the field. FYI: This urls will be replaced by an other service after processwire builds the page. So don't wonder too much about this strange urls :-)
-
Andreas Augustin changed their profile photo
-
Acces multilang field values inside processInput Hook
Andreas Augustin replied to Andreas Augustin's topic in General Support
@Robin S yes, this works well - I will use that way ? thank you for the investigation -
Acces multilang field values inside processInput Hook
Andreas Augustin replied to Andreas Augustin's topic in General Support
@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 -
Acces multilang field values inside processInput Hook
Andreas Augustin replied to Andreas Augustin's topic in General Support
has anybody an idea? ? -
Acces multilang field values inside processInput Hook
Andreas Augustin replied to Andreas Augustin's topic in General Support
Didn't work. I got this error after saving: ProcessWire: ProcessPageEdit: Method InputfieldTextarea::getLanguageValue does not exist or is not callable in this context -
Acces multilang field values inside processInput Hook
Andreas Augustin replied to Andreas Augustin's topic in General Support
Nope. I tried following and this did not work: public function validateShortlinks($event) { $lang = $languages->get('de'); $value = $event->object->getLanguageValue($lang); //dont work } -
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? }
-
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'); });
-
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")
-
thanks!
-
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?