Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.2k
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Some ideas: Copy & pasting
row / columns
In-text plugins
|
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 7 comments 11 replies
-
@macolo Interesting thoughts, here's my experience with our clients: Copy/pasteNot really a big issue; I don't think any of our clients/editors have ever raised this. Rows and ColumnsThe complexity is definitely an issue for our clients. When we template out articles/bios/services, etc., we remove the need for editors to get involved with rows and columns. But on landing pages, we essentially have an empty template that leads to lots of questions/confusion for editors who don't use the system every week. We try to get around this by having an unpublished "/templates/" section in the sitemap where we have pre-built examples they can copy/paste/edit, but it's definitely fiddly. We talked about building something that allowed you to create "Templates" in the plugin list when you click + to add a new element. Users could save existing row/column layouts as a "Template" and then re-use them later from the plugin list instead of using individual plugins. We never built it, but I'd happily outline our thoughts in more detail. The other alternative as you say is to simplify it but my concern is that clients always manage to find a 5 column layout they need so how would that be built outside of the "standard" 2/3/4/6 column layouts? In text pluginsI don't like these, so we discourage clients from embedding; they have link/button functionality in a separate plugin, so we encourage them to use that. When we switch over to tiptap we might hide it completely to stop them from doing it :) |
BetaWas this translation helpful?Give feedback.
All reactions
-
Good points@mj8arrett - I think re row / column complexity there are different aspects:
I think@fsbraun approach below solves both problems for editors. btw, the solution you describe, i.e. being able to create custom plugins on the fly (without coding) by creating templates is already available here:https://github.com/django-cms/djangocms-modules (not sure if it works yet in v4, however it's been working very well in v3) |
BetaWas this translation helpful?Give feedback.
All reactions
-
That's exactly what we were talking about; how did I not know about this? |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
With djangocms-text you can specify white and blacklists for text-enabled plugins. I.e. you can install plugins and control which are available from within text fields. To disable them altogether, use the following setting:
(in future releases, this will just be |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
With respect to an improved editor experience and overview on the structure of plugin trees I have had the following thoughts for a while now:
|
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Yes, I think that would be a great idea. I wonder how this could work on a code level, maybe something like the following. pseudocode example (do not use):
|
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Here's the code from the above example (no highlighting and no disabled edit so far - that has to go into the core). It comes from djangocms-frontend's new component interface expected to be part of djangocms-frontend 2.0 and to be used for the next installment of our website:
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
#7989 Will allow plugins (say columns, but also slots in custom components) to mark themselves as not editable and thereby disable the edit modal for them. |
BetaWas this translation helpful?Give feedback.
All reactions
-
PS: It does not include a color coding but would allow apps to add their css to the |
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
😄 1
-
Hi@jrief ! How did you add the style to the structure board drag item? |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Adding thismixin class to any plugin, adds an extra Boolean field to that plugin in order to optionally hide it. Very useful while developing a CMS page. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
OK, you just render the corresponding styles into the document body in edit mode. 👍 That's also a nice way of doing it. |
BetaWas this translation helpful?Give feedback.
All reactions
-
I also would like to recap my discussion from 2017 added to the discussion board in June:#7969 |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
-
@macolo Do you think we should move to something like Tailwind as that is mostly a de-facto standard now or do we go with a generic solution without endorsing a specific framework? |
BetaWas this translation helpful?Give feedback.
All reactions
-
I think we need to be independent of any specific framework as, in agencies, there could be others already in use. For example, we have many bootstrap sites so adopting tailwind would be a major headache for us. We’ve discussed internally how to make rows and columns more user friendly and I think it can be done independently of the framework used. Happy to look at this in the new year. Maybe a use case for an ai based script which is something I am interested to look at as part of a wider project. |
BetaWas this translation helpful?Give feedback.