Jump to content

Claus

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by Claus

  1. Closed Chrome and tried logging in again. Didn’t help, still no DEV version on offer. My ProcessWireUpgrade is v. 0.1.1
  2. Urg, now I can’t upgrade to the DEV version – it doesn’t show up in the SystemUpdater module. It did earlier today! Ha ha, I’m feeling pretty rusty today, but it has been a while since I looked at this last. So for captain slow here, how can I cajole PW to let me upgrade to the DEV version from within the admin interface?
  3. It did fix that issue – but not the upload issue, nor the animation issue. Here firstly is the error console output: Secondly, is there a way to use SVGs exactly as I upload them, around the ‘SVG File Sanitizer/Validator’ module? I don’t need the sanitation, but this module seems to be required to use SVGs at all???
  4. New problem: The SVGs are supposed to be animating, however they are not. They are also minified even though I specifically turned that off and re-imported them. Yes, I’ve attached a screenshot of the errors:
  5. It does not say anything revealing about the stall. Nope. Appears to be random. Sometimes it helped adding them one-by-one, but it is no correlated to the specific files. I also turned on and off the ‘external reference’ test, and that didn’t change anything. Anyhoot, it’s Safari so failure is to be expected.
  6. I wanted to use some SVGs in a very ordinary page, so I installed the SVG File Sanitizer/Validator module. That allowed me to upload SVGs into the editor. However, in more than half the times I try to upload an SVG file, the editor will just spin the circular dots and never finish. I then have to reload the page and start again. Why oh why – does anyone know? I’m using 3.0.184, working from the MacOS Safari 15.3 (17612.4.9.1.8) browser. I have my AdGuard disabled, and deleting the Page Renderer Cache does not help. NB: Just tried it in Chrome, and that worked no problemo. Appears to be a Safari specific issue. Which reminds me: Are there more than one editor available in ProcessWire? I seem to vaguely remember something along those lines?
  7. I just realised that a user can omit filling out any of the form fields, then press 'Send', and an email will be sent. Am I doing something wrong, or how can I stop this from happening?
  8. What would be the way to import blog posts from one PW-DB to another? I had a working PW installation with some blog-posts in it. I then exported the 'blog' fields using MySQL Workbench, then deleted the fields in the target DB, and then imported the exported SQL-file into this new DB. Alas that didn’t work. The 'blog' fields exist in the new DB, and they are populated with the correct data, but in the PW admin interface they don’t show up under Pages nor under Blog:Posts. I probably did something terrible?
  9. I’m using the Comments module via the Blog module, and I’d like to add ‘placeholder’ texts in the name, email, and text input fields of the comment function. How do I do this with the least amount of surgery? (And BTW, should ‘placeholder’ not be included by default in the Comments module markup? I think it ought to.)
  10. I’d like to add ‘placeholder’ texts in the name, email, and text input fields of the comment function. How do I do this?
  11. Figured it out. I needed to enable it under Admin>Setup>Fields>Body>Input>CKEditor Toolbar by adding ‘Styles’ there, and then editing the ‘mystyles.js’ and adding its path to ‘Custom Editor JS Styles Set’. Works like a treat.
  12. How do I go about adding custom markup to my Body-fields? I want to add some spans, but they are all removed if I add them in the ‘Source’ window. I can see that the Body-field is edited by CDEditor, but how do I add a custom ‘mystyles.js’ to it? (If that indeed is what I need to do). The guides I have have found on this seem outdated.
  13. I downgraded to 7.0.5 and that works without issues. Thanks for the help!
  14. I just tried to install it a few times on the current release version, but I get this same error every time: Error: Uncaught Error: [] operator not supported for strings in /Users/me/git/site.net/site/modules/SimpleContactForm/SimpleContactForm.module:131 Stack trace: #0 /Users/me/git/site.net/wire/core/Modules.php(602): ProcessWire\SimpleContactForm->init() #1 /Users/me/git/site.net/wire/core/Modules.php(477): ProcessWire\Modules->initModule(Object(ProcessWire\SimpleContactForm)) #2 /Users/me/git/site.net/wire/core/ProcessWire.php(495): ProcessWire\Modules->triggerInit() #3 /Users/me/git/site.net/wire/core/Wire.php(380): ProcessWire\ProcessWire->___init() #4 /Users/me/git/site.net/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___init', Array) #5 /Users/me/git/site.net/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessWire), 'init', Array) #6 /Users/me/git/site.net/wire/core/ProcessWire.php(587) (line 131 of /Users/me/git/site.net/site/modules/SimpleContactForm/SimpleContactForm.module) This error message was shown because: you are logged in as a Superuser. Error has been logged.
  15. Before I install Wireshell I have a question: Can I use WS to batch set a field to a specific value on all pages using a specific template?
  16. I tried to setup a download delivery (here on my local dev machine), and the process echos that the email with the download link was sent, but I didn’t receive the mail. So how is Padloper sending these mails? With sendmail? Where should I look for these (enqueued?) messages?
  17. It does have inventory. Don’t know to what extent it is implemented yet, but it is there.
  18. I have a button sending users to a checkout page, but I only want to show it when there is items in the cart. Is there an API call for this? if(count($cart->getCart()))
  19. Hey Martin I had a bit of consultation behind the scenes with Antti, and as it turned out Padloper can only add pages to the cart. So instead of using Profields or repeater fields I now converted to using PageTable pages, and that works. Now I just have to make MariaDB work again after I updated the box yesterday, but that is a whole other matter
  20. Thanks, I renamed $p to $page and then that worked. Now i just have to figure out how to deal with the repeater loop. As I wrote earlier I get this error: Notice: Object of class RepeaterPage could not be converted to int in /path/to/... I have a repeater-field called `shop_item` with this content: And I then foreach it like so: foreach ($page->shop_item as $product) { [stuff] } So, what should I do to make this work?
×
×
  • Create New...