Jump to content

sebibu

Members
  • Posts

    34
  • Joined

  • Last visited

Recent Profile Visitors

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

sebibu's Achievements

Full Member

Full Member (4/6)

12

Reputation

  1. Directly another question.πŸ˜‡ To save the editor the trouble of entering a dropdown field, I would like to determine the value of a dropdown field in the next (and probably only) pagetree-upper page having a template with template-id e.g. = 50. Is this also possible only with Latte or do I have to determine the value in PHP first?πŸ˜… Thx!πŸ‘‹
  2. Thanks to all three of you! Learned something new again. I'm on PHP8 and because the $page object should be existent on every page, this should be sufficient and works great: <body n:class="$page->category?->value"> πŸ‘πŸ™
  3. I am also already in love with Latte, but curiously enough can't find a solution to output a fieldvalue only if it exists. Ideally with short code and output class-tag only if the value exists. What I tried: <body n:class="$page->category->value !== '' ? $page->category->value"> // Unexpected end, expecting for element started on line 46 at column 5 (in '.../sections/header.latte' on line 120 at column 26) {if $page->category->value !== ''}{$page->category->value}{/if} or <body n:class="$page->category->value !== '' ? $page->category->value"> // 2 x PHP Warning: Attempt to read property "value" on null in .../Latte/templates-sections-header.latte--27db76d0dd.php:53 I'm sure it's so easy.πŸ˜‡ Can you help me out?
  4. I just installed and played around with AdminStyleRock and AdminThemeBoss to be a little bit prepared. Good points! I agree with you. I think it makes sense to design all action related things (mostly buttons) with the same striking color. Normal mode and dark mode should IMO be separated from the color contrast topic. Normal mode bright and friendly. Dark mode to work more relaxed in the dark and to generate less ambient light. Just seen.. with AdminStyleRock the Offcanvas mobile menu looks as if it was not styled. Is that intentional? In any case, the colors are very contrasting. Looking forward to see in a few minutes! Sebastian
  5. Okay, changing a template with same RPB-fields preserves content. But changing the template of a page to a template without the former RPB-field deletes the content. Even if you change the template back. Hope that helps for this topic, which is obviously and unfortunately not of interest for you.
  6. πŸ˜… So let's go!πŸ˜‰ For editors who prefer to change content in the backend, editing content/blocks already in 2 or 3 columns is way more natural. Moreover, when selecting "2-column layout" then there are still 3 RPB-fields of which you are not allowed to use the last one, if I understand you right.πŸ˜‡
  7. I see it the same way. With the dropdown, two dimensions of the function (action and position) are accommodated together (it's easy to get lost), which can be separated and visually simplified. Action via cut/copy and paste icon. The paste position could be determined by selecting the paste icon before and after each block. This is intuitive for me and is also used by other pagebuilders. But that would mean that it must also be possible to insert new blocks above and below. Which I would very much welcome.😁
  8. Great the API is already there.πŸ‘ A cut and copy icon in the context menu in top right of every block would be intuitive, I think. And when having already cutted or copied a block a paste icon in the context menu in top right of every block. If you have a RPB field on template1 and template2 and you have to change the template while having content in the RPB field, the content should not get deleted. Also when having e.g. 1 and 2 column-templates and the editor wants to change the layout on a page from 2 to 1 columns and simply changes the template while having content in RPB fields, the content should not get deleted. If the RPB field on the old template is also in the new template, the content should be preserved (moved in the background/db), if the RPB field does not exists on the new template RPB should asking if/where to paste the content to.πŸ˜‡ I can now think of two more functions: Drag and drop blocks from on RPB field to another RPB field on the same page. Cut/copy fields in blocks from on page to another.πŸ˜‡
  9. Good Morning @bernhard, even though I'm not a trained designer, I'm interested in the topic and I can certainly contribute constructive criticism. And new to Processwire it's also good to get in touch with you and other enthusiasts via video call. If nothing comes up, I'd be there on Friday preferred between 2 - 3 pm (or else 11 - 12 am)! Sebastian
  10. Good morning @bernhard, thx for creating RockPageBuilder! Now I finally have the first real project to work and playing around with it.☺️ If you don't already have this features on your roadmap, I would love to see them added: Cut/Copy and paste blocks between fields from type RockPageBuilder. Persist content (i.e. blocks) when changing the template of a page and asking where to paste content if there are fields missing in the new template (for example changing from 3 column-template to 2 column-template. I can imagine that this is not so easy to implement. In my opinion, however, the functions would be of great added value, especially for large websites with a lot of content. Cheers Sebastian
  11. @kongondo I just switched for the last project from MODX to Processwire and for the next bigger project a media manager is crucial. Your screencast, the ideas and conversations look very promising and I would love to buy and use the new version already. But unfortunately no progress on this for a long time. Can you surprise us?πŸ˜‰ Can I test or buy the current/old version of the media manager? Your shop seems to be in maintenance mode for a long time, if Iβ€˜m not wrong!? Thanks in advance & Cheers Sebastian
  12. That's a good point! Default elements <strong> and <em> are styled in my UIkit-frontend, so I didn't thought about that. In the JSON-file β€žwire/modules/Inputfield/InputfieldTinyMCE/defaults.jsonβ€œ I can see that the CSS-classes for text-aligning of elements p,h1,h2,h3,h4,h5,h6,td,th,div,(table,)img,figure,audio,video is also defined via placeholder {alignleft}, {aligncenter}, {alignright} and {alignfull}, but I wasn't able to find the place were the values of these placeholders are defined so far.πŸ€” I suspected in module-configuration of InputfieldTinyMCE, but that's not the case. Via β€žDefault setting overrides JSON (text/file)β€œ it is certainly possible to overwrite the placeholders, but I am still struggling with the syntax.😎
  13. 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.
  14. @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?πŸ™πŸ‘‹
  15. Amazing, @bernhard!πŸ™ Wasnβ€˜t online yesterday and will test it today.πŸ‘ Until then.πŸ‘‹ Have a great day!β˜€οΈ
Γ—
Γ—
  • Create New...