Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About Smirftsch

  • Rank
  1. Thank you very much 🙂 - it looks like I would have complicated things, glad I asked. Going to try that.
  2. Hello all! I am building a page for one of my clients and he wants to restrict content for a specific domain name. The .com has to show all pages and children, but the .de domain is supposed to show only a few pages/children of the .com domain. It is a multi language page and the ability to switch languages should be kept as well. Are there any recommendations or even modules how to do such a thing? I was digging the forums but haven't found anything so far. Perhaps I am just missing the right keywords only 🙂
  3. To answer the question myself, in order someone else may find this useful: It was "convert div tags to paragraph tags" blowing up on me. Thanks nevertheless 😉
  4. I've got some odd problem adding additional styles to mystyles.js. After reading some and following the article here: https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/modules/Inputfield/InputfieldCKEditor/README.md#custom-editor-js-styles-set I was able to add a custom style. So far so good 😉 It is displayed in the Styles menu and can be selected there. Now the odd thing starts, if I add a custom style like this: ... { name: 'Box Top', element: 'span',attributes: { 'class': 'box_top' } }, { name: 'Box Bottom', element: 'span', attributes: { 'class': 'box_bottom' } } it works and can be selected just fine. However, if I add this: { name: 'Box Top', element: 'div',attributes: { 'class': 'box_top' } }, { name: 'Box Bottom', element: 'div', attributes: { 'class': 'box_bottom' } } It is also displayed, can be selected - BUT - once the edit is saved, it is gone, won't be displayed in the page and won't be shown anymore in the editor as selected style, it goes back to "normal". Can anyone give me a hint what I missed?
  • Create New...