Jump to content

sebibu

Members
  • Posts

    72
  • Joined

  • Last visited

Everything posted by sebibu

  1. Thanks so much, @7Studio! This works. Now it makes sense, that I saw the placeholders {alignleft}, {aligncenter} and {alignright} in the JSON-file „wire/modules/Inputfield/InputfieldTinyMCE/defaults.json“. Thread-topic solved.? Yes, @AndZyks links are really helpful, but i still have to make friends with the syntax.? What are you trying to accomplish? Maybe me or someone more experienced can help.
  2. @Boost I have the exact same need to see TinyMCE generating the uk-text-left class, instead the align_left one. I tried dozents of JSON-instructions in Default setting overrides JSON text, i.e. { "replace_alignleft": { "classes": "uk-align-left", "selector": "img" }, "replace_aligncenter": { "classes": "uk-align-center", "selector": "img" }, "replace_alignright": { "classes": "uk-align-right", "selector": "img" } } and changed the whitelist (.., img[class=uk-align-left|uk-align-right|uk-align-center], ..) to accept the new classes, but no effect. Did you get it done and if, can you please share your JSON???
  3. Amazing, @bernhard!? Wasn‘t online yesterday and will test it today.? Until then.? Have a great day!☀️
  4. Dear Bernhard, I'm really thankful for your fast help and implementing the new methods.? But as I wrote, compiling of one file worked like a charm, but to completely customize UIkit like this https://getuikit.com/docs/sass#how-to-build (and any other design framework, too) the import function is - at least in my opinion - necessary. And you wrote, it would need some more work for you to implement it. So I tried to follow @snck solution (with imports) and read in the SCSSPHP documentation to get it working and maybe do some groundwork for you!??
  5. Dear @snck, I tried your code above to compile SCSS (UIkit in my case). But I get the following error: Uncaught Error: Call to a member function setSourceMap() on null in site/ready.php:26 #0 wire/core/ProcessWire.php (893): include() #1 wire/core/ProcessWire.php (674): ProcessWire->includeFile() #2 wire/modules/Process/ProcessPageView.module (511): ProcessWire->setStatus() #3 wire/core/Wire.php (413): ProcessPageView->___ready() #4 wire/core/WireHooks.php (968): Wire->_callMethod() #5 wire/core/Wire.php (484): WireHooks->runHooks() ready.php for the code is the right location? Any idea what I can change to make it work? Thx in advance.!?
  6. Please say yes, @bernhard!? ..sorry, @Stefanowitsch?. Today I tested compiling of one single SCSS-file successfully! Very smooth.? Then I tried to include partials for customizing UIkit via @import, but files are not found. Tried this three versions in site.scss (variables-theme.scss is in the same directory): @import "variables-theme"; @import "variables-theme.scss"; @import $config->paths->templates . "scss/variables-theme.scss"; Any idea what I am doing wrong??
  7. Oh.. how could I overlook this last option.? Thanks for the fast answer, @bernhard!??
  8. Wow.. thanks a lot, @bernhard!!? That is great. I'm sure a lot developer will love this oppertunity for SCSS beside LESS. Will test it a soon as possible and will report.? Have a great evening!?
  9. Thx! As far as I discovered, LESS is easy to compile with AIOM+ or your great RockFrontend module!? But I‘m using SCSS for years now, so I prefer this right now.?
  10. Thanks for the quick answer and sharing your workflow, @cwsoft! I like to be able to adjust styling even if I‘m on the way only with my smartphone. So I’m interested compiling and minifying SCSS for smaller projects serverside with @bernhards module. Where do I place @sncks code, please??
  11. Thanks @bernhard for creating this module and @snck for sharing your code/solution!❤️ I come from MODX and now creating a first website with ProcessWire. Very satisfied so far.? @everyone: Where do I place this code, please? Thanks in advance! Sebastian
×
×
  • Create New...