Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

4 Neutral

About sz-ligatur

  • Rank
    Jr. Member

Recent Profile Visitors

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

  1. Hi adrian, I had a similar situation, and found an editor friendly solution using hooks: https://github.com/wanze/SeoMaestro/issues/8#issuecomment-486658463 Maybe that's a starting point?
  2. Hi BitPoet, thank you for that module, I'm quite happy cause I just recognized that it's not possible to use a multiplierfield in formbuilder forms – so your solution looks promising. I tried it with a single textfield and it works as expected. Except if the form validation forces the form to load again. Than the multiplier fields get messed up (cloned again) – and after a second submit error the fields are empty. Is this maybe related to a version conflict or is the repopulation after submit-errors just not implemented? ProcessWire: 3.0.123 FormBuilder 40/ states 39(?), FormBuilder Fieldset Multiplier 0.0.6 Form embed used: template embed (option B) Thanks for any help or hint…
  3. …ahhh – I see. That makes sense. Thank you!
  4. Maybe I get things wrong… I copied your js example-code now to my snippet file (and added the missed .js extension) – now there is no error anymore, but the snippets @file doesn't show up. I still see the snippets stored in local storage. The content (json) structure in local storage (code, modified, name) looks different from your example js code (name, content, tabTrigger)… I wonder if your code maybe is related to the snippet-runner panel? BTW. what means tabTrigger here? Sorry for all my confusion and thank you for your instant reply Adrian.
  5. Save Custom Snippets @file gives js error. Pwire: v3.0.123, TracyDebugger: v4.19.35 I try to save my custom snippets as given in the options at a local snippet file instead of LocalStorage in the browser. I have set up path and file, but on initializing td console after page load I see this error @browser console: Uncaught ReferenceError: getCustomCodeSnippets is not defined at <anonymous>:1:192812 at HTMLScriptElement.script.onreadystatechange.script.onload [as onreadystatechange] (?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1353) (anonymous) @ VM2077:1 script.onreadystatechange.script.onload @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1353 load (async) load @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1351 (anonymous) @ VM2077:1 script.onreadystatechange.script.onload @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1353 load (async) load @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1351 (anonymous) @ VM2077:1 (anonymous) @ ace.js:1 (anonymous) @ ace.js:1 n @ ace.js:1 a @ ace.js:1 a @ ace.js:1 i.onload.i.onreadystatechange @ ace.js:1 load (async) t.loadScript @ ace.js:1 t.loadModule @ ace.js:1 (anonymous) @ VM2077:1 script.onreadystatechange.script.onload @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1353 load (async) load @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:1351 (anonymous) @ VM2077:1 (anonymous) @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:531 evalScripts @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:525 init @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:37 (anonymous) @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:306 setTimeout (async) (anonymous) @ ?login=1&_tracy_bar=js&v=2.6.3&XDEBUG_SESSION_STOP=1:301 Any idea what's wrong? Thanks for any hint!
  6. It was my mistake – I use a download-file template, that forces downloading a pdf. To track this I used $page->save('phits') to update the counter. Obviously this is a page edit… by guest. if ( $user->isGuest() ) { $page->phits += 1; $page->of(false); //$page->save('phits'); $page->save('phits', array('quiet' => true)); $page->of(true); } The added option 'quiet' does the trick…
  7. A very nice simple tracker - thank you David. I have one issue – just realized, that pages with tracking activated are "edited" by each hit by "guest" (field phits) – that's obvious. In combination with the module "changelog" – where I want to list pages last edited only by editors – the "edited by guest" makes it difficult to filter out what my editor colleagues have changed recently. Maybe it's worth adding an option to set the field->save method to "quiet"? https://processwire.com/api/ref/pages/save-field/
  8. … and it works – thank you so much – your fix arrived just in time :o)
  9. Hi Maestros, I just recognized, that the meta_title_format field ist not correctly interpreted in language variants – instead the default language is used in the outputted markup. Can anybody confirm this? Any ideas where and how to fix this behavior? Please see attached screenshot. (SeoMaestro 0.8.0, pwire 3.0.123)
  • Create New...