Jump to content

elabx

Members
  • Posts

    1,520
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by elabx

  1. Great purchase which will save you a lot of time:
  2. When you insert an image through CKEditor, ideally I'd want to grab the description from the image's description field. CKEditor Inputfields fields have an option called "Image management" that should enable this: https://processwire.com/docs/fields/textarea-fieldtype/#markup-html-option I just can't get this to work well, if I add a new image to the text fields, their descriptions are not pulled from the images. My bad again man, I kept on reviewing this on the CKeditor source and just realized this is done on runtime.
  3. Hi everyone! Does anyone know if this has been fixed in recent versions? Still broken for me on 3.0.136 My bad here, I kept on reviewing the source code in CKEditor and this is done at runtime.
  4. @kongondo Finally managed to updated!! But you know what, now I didn't have to clear anything, it just worked after a module refresh!! Just so you have more info, the only difference was that I namespaced the old modules (in a desperate attempt to bring back everything to work because it kind of broke after I rolled back from my first install failure). honestly don't have very clear what happened, but indeed the new version works flawlessly. Questions/issues: I don't seem to be able to drag and drop over the Inputfield. I can give you access to my site if you need to debug. I cannot seem to find the edit button for the image description now, the one that was placed at the top right? Is there a new way to edit the descriptions? Appending how my images look when I click on them. Jut realized now this is done in a normal, maybe you could enable an Edit link right on the Inputfield? At least on my site it's not showing, I'd guess that's the most practical for editors, instead of opening the Media Manager Popup. I cannot get the alt text on images placed in CKEditor to update accordingly, I also have the setting updated in the Inputfield configuration, have you had any issues with this? All my questions crossed where solved configuring the Inputfield :) This is a GREAT update kongondo! I know this has been mentioned before but the improvement in the UI is a huge plus! I see you mentioned you have a lot of users that had never mentioned this, but in my case as with other PW users, all my clients complained about the lack of polish in UI, but this update really solves a lot of the inconveniences.
  5. honestly It's something that doesn't happen very often and I had even bragged about LiquidWeb support which is my main choice for projects that demand a nice hosting setup. But this time not even their "best effort" team managed to find a solution. Indeed we ended up hiring service from Percona to see if they can tune our database and figure out if we are getting hit by a MariaDB bug.
  6. When their family settings are set you can let is put a timestamp in the name. https://processwire.com/docs/modules/guides/process-template/
  7. @wbmnfktr Would be great to read about it! Wouldn't like to bother you on the weekend or anything, so please take your time, thanks for your kind offer. It's not urgent and I'm still not sure this is the answer for my "higher availability", at least what triggered this search now was this mysql server going down and well, I'm obviously not that well versed in the whole mysql administration. So the whole JAM Stack hyped brought me to looking into this option, since also most of the sites I maintain in this scenario are static and with the user interaction going as far as the usual contact/signup forms.
  8. Just pushed ProCache's cache time to like 100 years lol. That's also what I want to achieve at least, not letting the site completely die even if forms/backend are not working. So like mentioned above, a "build" step is something i'd need to work on. I guess I could put pw backend in a subdomain (possible?) and put the rendered static files in another folder of the server to render on the right domain. Also I guess there's a lot other stuff to consider like 404's, formbuilder forms in iframes...Maybe I should just get MySQL to behave but I guess that's gonna take me a couple years at least :P
  9. Hi everyone! I come here after a very ugly situation in which mysql server was down holding around 50+ websites in a pretty big server using ProcessWire only. So I start to feel where all this static site generation hype comes from. Has anyone moved further on this aspect?
  10. Hi! Is this module working with recent versions of ProcessWire? Is it compatible with UIKit theme?
  11. Three people now! haha Any news on this bug?? Thanks! I rolled back but now I am having issues with JqueryUpload version 008 working, tried rolling back to 002 but I still can't open when I click on Add Media on any of the pages, getting: Uncaught Error: Class 'ProcessWire\JqueryFileUpload' not found in /srv/users/serverpilot/apps/ladosis/public/site/modules/ProcessMediaManager/ProcessMediaManager.module:209 Ok this took me through a tour of namespacing issuer all over the MediaManager modules and got it working back.
  12. Awesome! Thanks @dragan! Great start! Though I am thinking of something a lot less complex. I think I might just build it myself because I'd rather build upon the existing image field markup so I can upload right then and there. Plan is: Add a "select icon" to the image thumb. Save the selection through AJAX in page. Maybe with the brand new meta API. Probably this is a very personal requirement, but I plan to open this page in a pw-modal window, select the image and send back the image url in the event message. Do you think this is possible?
  13. I've always had this same issue. Can confirm it happens on even previous versions.
  14. As the title implies, does anyone know if there is an existing module to "select" an image from a multiple images field?
  15. What about finding the fields first? $textFields = $fields->find('type=FieldtypeTextarea|FieldtypeText') $page->builder->find("$textFields!=''")->each(function ($item) use (&$content, $sanitizer) { $content .= $item->get(...); }); EDIT: Oh just read again about "text extended fields". This obviously won't work :/ Maybe: $textExtendedFields = []; $fields->each(function($f){ if(wireInstanceOf($f->type, "FieldtypeText") === true) { $textExtendedFields[] = $f; }; })
  16. I wonder if you should rather, delete() every page also, not use removeAll() because I think it's just removing it from the object, not from the db. foreach($pages->get("template=home")->submissions as $s){ $s->delete(); }
  17. Wow old issue! This is still not working! :O
  18. Has anyone done a non-geographical map? That is, an image of a mall, a park, plaza, etc with markers and some navigations (zoom/pan). Any js libraries to recommend? Found this: https://leafletjs.com/examples/crs-simple/crs-simple.html Something like this is the closest i could find, but don't know how much I'll be able to hack it to save maps in PW: https://codecanyon.net/item/image-map-pro-jquery-interactive-image-map-builder/2792438
  19. I THINK, in your saveReady code you are trying to get a page that is not yet saved, so that's why you get a Null reference. This two lines are king of redundant, because argument 0 will always be a Page object, but saveReady is happening like the hooks says, just before saving, so when you try to find a page with $pages it doesn't find it even if you already have a Page with an id.
  20. When creating the page you have to set the number in the field "repeater_matrix_type". $repeater_field->repeater_matrix_type = 2 Now the problem is how to get the numbers, if you inspect the repeater matrix module configuration ($modules->getConfig('FieldtypeRepeaterMatrix')), you could get the info from there. Basically every repeater matrix type has a number. You can also get this info by inspecting the html from a repeater matrix field, you will see that the fields have a number prepended. That sounds like you are referencing the page in the wrong way, if you can paste all the code of your hook we could help a little bit more, the page being saved should be accessed like this: $page = $event->arguments(0);
  21. @Juergen this is too much for monday! haha. But you know, looking at the config page, this list probably generated on runtime because there is also no way to delete them on the config screen, I took a look at the source code and I THINK, it's happening here, so maybe you can call executeNavJSON?: https://github.com/processwire/processwire/blob/master/wire/modules/Process/ProcessPageAdd/ProcessPageAdd.module#L151
  22. Maybe it's because the Array is printing as true? I don't see what could be going wrong! Have you tried: print_r($data, true);
  23. elabx

    SeoMaestro

    HI! Awesome module @Wanze! Does anyone know if this module allows a fallback field (or lists of them) within the page if for example, the description is not set?
  24. You don't need to include_once() if the vendor folder is in the ProcessWire installation root, it has loaded the libraries already, if i remember correctly the index.php of PW takes care of this. I am also almost sure you also have to have the use statement like @Edison points in the examples.
  25. Hi! Has anyone tested this module with recent ProcessWire versions?
×
×
  • Create New...