-
Posts
4,077 -
Joined
-
Last visited
-
Days Won
87
Everything posted by horst
-
I'm not sure if it is worth the (for me ATM, not available) time to add new functionality to this module as we got the "focus point thingy" now in the core. When this get a zoom functionality too, it is much much easier to use for authors and devs too. https://processwire.com/blog/posts/pw-3.0.89/ @adamspruijt
-
Cropping now can be done via a focus point, directly in the core image fields: https://processwire.com/blog/posts/pw-3.0.89/
-
To get a "quote" how useful it maybe for a specific site, log all (search bots) user agents for a while.
- 30 replies
-
- 2
-
- antispiders
- anticrawler
-
(and 2 more)
Tagged with:
-
Look here, there is complete upgrade procedure with help:
-
ähhm, ok. Now I've learned something new. I wasn't aware that a single csv file already is a "pw language pack". Until today I thought it must be a bunch of little files.
-
Yes, that's the prefered way for those use cases.
-
Hi and welcome to the forums, @duncan That's a very well first post! Do you have this also in form of a pw language package? Or is it easy to generate one from your source? ( I personally haven't done much in regards of translation files, only downloaded and installed ready to use language packs from here: http://modules.processwire.com/categories/language-pack/ )
-
-
Hi @Chris, you PM'ed me with the question if I once had written a module that creates one page per uploaded image. No, I never had. But those questions are better asked directly to our friendly and helpful community. I remember too that there was something, but was it somas images manager? or does anyone else has written something among that line? If there isn't anything else around here, you may strip out the upload and page creation process from somas module.
-
Thanks for the tipp. I think it will be easy to find a solution that can work with the feeds.
-
Maybe a dump question, but how or where can I configure Github to get email notices of every commit to the PW repository? I get a lot of emails for issues, but currently not for commits. Any hint is much apreciated.
-
I have a question related to security. AFAIK in a lot of shared hosts that are based upon php as apache module, not a cgi version, the php www-user only (should) have write access to files under assets, not modules and templates. Is there a way, workaround, for those cases to use the module too?
-
But maybe this CKE-plugin is an addition for AOS? @tpr If tpr adds it, @marcus you may only check if AOS is installed (incl. the min version this plugin gets added) and displays a reminder.
-
[SOLVED, partly] is inputfield files usable without the ajax functionality?
horst replied to horst's topic in General Support
After some testing I now use a simple HTML file field embedded into a InputfieldMarkup: public function hookAfter_ProcessPageEdit_buildFormContent(HookEvent $event) { $p = $event->object->getPage(); if('my-desired-template-name' != $p->template->name) return; // early return !! $form = $event->return; $uploadField = "<input type='hidden' name='MAX_FILE_SIZE' value='{$this->MAX_FILE_SIZE}' />Diese Datei hochladen: <input name='userfile' type='file' />"; $f = $this->modules->get('InputfieldMarkup'); $f->attr('name', 'my_markup_fieldname'); $f->value = $uploadField; $form->add($f); // write back the modified form $event->return = $form; } In init or ready I check for the file fields value, and if a file is sent, I validate the file and add it to a hidden PW file field of the page. -
Hi @kongondo Is it possible to use this in pws backend page edit? Maybe in junction with a hidden files field?
-
[SOLVED, partly] is inputfield files usable without the ajax functionality?
horst replied to horst's topic in General Support
Thanks. I have a page with a filesfield, I hooked into ProcessPageEdit::buildFormContent and added the property noAjax = true. Result: the files drop area is gone, but when I select a file for uploading, it still gets uploaded directly. What I want is to select a file and its upload should start when I press the save button of the page. Is this possible? -
search IDE with Plugin for PW Autocompletion and Other Support
horst replied to pwuser1's topic in General Support
Nusphere PhpEd supports all frameworks, just by crawling and parsing created/defined (site)-projects. -
Looks really promising!
-
PW > 3.0.86: PNG images can't be cropped anymore?
horst replied to titanium's topic in General Support
maybe it is also of interest in which admin theme you are working -
Hi @Carlie Fairchild, good to hear this. I have read that you want to rework the linuxjournal website. Have you already thought about to use ProcessWire?
- 3 replies
-
- 4
-
- linux journal
- linux
-
(and 2 more)
Tagged with:
-
You need to check / debug WireMailSmtp settings, (its module config screen).
-
There is also somewhere a conversion module from @Nico Knoll for wp to pw, and there also must be an in depth post from ryan explaining the conversion from existing wp sites, (with data), to pw.