Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature Request: Edit Page's Structure View should have a preview of contents#7440

cagejsn started this conversation inGeneral
Discussion options

Hi all,

I am writing to share something that came up on my project team at work.
We are using Django CMS to power a site for Onboarding people to a company.

We have a team of 2 UX designers, 2 non-technical (change management) and 1 Dev (me).

The UX Designers and the non-technical people are the ones who are actually editing content in the admin & edit pages.

They brought up that the structure view can get overwhelming for the editor.

I propose that the Structure View not use the Name of the Plugin, but rather something customizable which may of may not include the "name" of the plugin.

You must be logged in to vote

Replies: 5 comments 3 replies

Comment options

This is the view I am talking about:
image

When it appears as a side bar on the right I am not seeing the addition descriptive text.

You must be logged in to vote
0 replies
Comment options

marksweb
Nov 15, 2022
MaintainerSponsor

It's up to the plugins, not the CMS itself what is displayed in the structure view.

Take an example from a site of mine using djangocms-frontend where plugins are fairly identifiable

Screenshot 2022-11-15 at 23 52 42

You must be logged in to vote
2 replies
@cagejsn
Comment options

How do you configure the Plugin's Text that is shown? I looked in the docs to try and figure this out, and I was unable to. Maybe I missed something. I am happy to update the documentation if it's not present.

@fsbraun
Comment options

fsbraunNov 18, 2022
MaintainerSponsor

It's the plugin model'sget_short_description() method that returns a content summary for the plugin.

Comment options

fsbraun
Nov 21, 2022
MaintainerSponsor

What I'd love to see is that the available space is better used, especially if the side bar fills the whole viewport. The text shown is shortened too early after three words by the djangocms-text-ckeditor plugin imho:

You must be logged in to vote
0 replies
Comment options

There should be an entry here forget_short_description no?
https://docs.django-cms.org/en/latest/reference/plugins.html#cms.models.pluginmodel.CMSPlugin

perhaps also here?
https://docs.django-cms.org/en/latest/how_to/custom_plugins.html#how-to-create-plugins

You must be logged in to vote
0 replies
Comment options

fsbraun
Nov 22, 2022
MaintainerSponsor

Yes, there should! Would you like to create a Pull Request to add this? I'd really appreciate it!

You must be logged in to vote
1 reply
@cagejsn
Comment options

Yes I can do that!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
3 participants
@cagejsn@marksweb@fsbraun

[8]ページ先頭

©2009-2025 Movatter.jp