-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logo Customization on control panel #165
Comments
+100 |
Whats wrong with a logo in the default diazo theme that can be replaced? |
a basic plone installation should be able to allow that, with or without diazo |
A setting that says 'logo' is easier to find and use than realizing you can copy and edit the diazo theme. This is the first and most common customization that people want to do; it makes sense to go out of our way to make it easy. |
plone 5 should ship with a diazo theme you should be able to edit immediately. Clicking
is pretty intuitive. Not much less than having a control panel to change the logo. If it's not intuitive enough lets fix it. Diazo is our theming story so there is no "without diazo". We should be introducing users to it as soon as possible to smooth the learning curve, not replacing it with another kind of theming which does just a few things. Plus it's yet another thing to maintain and translate. And of course, if the theme uses a different logo filename? Then you have a control panel that doesn't do anything so is confusing. Whats the next thing users ask for after the logo? Editing the css. Are we going to create a new way for them to edit that too? |
It has bugged me for years that we don't have a one-step way to do this. It's not "another kind of theming;" it's making something that should be easy very easy. I totally disagree that forcing people to use Diazo immediately smooths the learning curve. It adds a bump to the learning curve. We should identify the 5 most common things people want to change and make sure they can do it without learning Diazo. |
Also if someone only wants to change the logo, we should not force them to create a custom theme, which would then not automatically update if fixes are made to plonetheme.barceloneta upstream. |
They don't have to learn diazo just the theme editor. The theme editor lets someone change css and images and js without knowing the first thing about diazo rules. I've given many users access to update css files who don't know diazo and it's been very empowering for them. We don't have to create a copy of barceloneta. We can do what I call an identity theme. One that gives you places to change certain things but looks exactly the same as the base theme. Alternatively we could copy barceloneta since, as soon as you start altering a theme it becomes a mess to handle upgrades in theme underlying theme changes. barceloneta should be a starter theme not a very complex theme for which you want to get updates to. |
I would just add a option on the settings to change the logo and a silly scripts that stores somewhere. We can always edit the theme on diazo , but the site/logo.png should be something we can change in a easy way. |
changing the logo should be as simple as changing the site name |
I would argue that currently
Is much more intuitive than how you currently change the title. Changing the title is under Site setup > Site > Site title. I have found a lot of clients have never noticed the the "Site" control panel and many never update their site title. Since the site title is mainly seen in the html head I wouldn't be surprised if most users would be looking for a "theme" or "templates" control panel to adjust that. In fact title and description should probably be moved to the theming control panel. |
btw. there are so many plone sites that do their job without any theming - people just want there logo there. don't make it more complicated than needed. please! |
We should include site title and logo on the form for creating a new plone site. |
And also the favicon ? |
I'd say don't include the favicon on the form for creating a Plone site. Every site needs its own title and logo; not every site needs a custom favicon |
Hi @giacomos |
This package add some fields to site config to allow the user to change or hide logo, and also let you show/hide portal title in header: https://github.com/collective/collective.themecustomizer |
I guess we might re-use some code from collective.themecustomizer. The idea here is to have this feature in core. |
Why not just have the logo and title in the theme which they can customise TTW via plone.app.theming?= |
Here is my 2c for whats it's worth. I think the logo is fundamentally different from the site title as is much more related to theming. BTW, with our clients, if they ask how to change a logo or adjust the css, we give them a 3 hour diazo training course. Some of our customers have not just changed their logo but completely replaced their themes largely on their own. We have a killer feature which is relatively clean and safe TTW theming. We should not be hiding this.= |
i'm taking this one. i see two ways of implementing it:
altough option 2 has advantages regarding caching (i suppose), i think it raises too many questions: where to store, what to do on id conflicts, how to handle AT vs DX images, etc. suggestions welcome - /cc @bloodbare @davisagli @tisto |
@thet I would go for the second: create an image named The AT vs DX can be solved with a try/except right? Also for documentation that's just simple, clear and to the point: do you want to change the logo? Just use the control panel or directly create/modify what's in mysite.com/logo |
i already startet implementing the logo stored encoded in the registry. prerequisite is this branch, which allows the NamedImageWidget to be used on a zope.schema.Dict field, which can be stored in the registry: https://github.com/plone/plone.formwidget.namedfile/tree/thet-dictfieldconverter i have the feeling that it's a bit hairy to depend on specific content structures. my solution is also easy. you just have the plone.formwidget.namedfile image widget in the site control panel to set the logo. unless there is a strong disagreement with that, i'll continue what i started. |
Why wouldn't you store it in the current diazo theme? |
do you mean, storing a fileupload from the site controlpanel in the current diazo theme? hmhm... but that would be removed when installing an updated version of the theme, no? i'd rather make sure, that the logo is strongly cached. sidenote about one of my usecases: conent editors are creating lineage subsites. i want them to be able to customize the logo for the subsite without much hassle. with lineage.registry in place and a site controlpanel, wich isn't only bound to the plone site root, one can just do it via the upload widget in the controlpanel. |
I think you are optimizing for a case that doesn't or shouldn't happen. |
It's an entirely reasonable use case to want to give a user control over the logo but not over the entire theme. Maybe it's a user who is new to Plone and you want to reassure them that it will give them control without diving into the deep end of teaching Diazo theming immediately. Maybe it's someone responsible for a subsite in an organization that only wants a few people to have full control over the theme. Also, storing it this way in the registry doesn't prevent someone with theming privileges from putting their logo in the theme if they want, so it seems noninvasive. +1 |
If they are new to plone them a control panel or documentation that Lineage themes where users control logo and not the theme is a very special
|
related pull request on plone.formwidget.namedfile: |
all done and merged, and works like a charm: |
🍺 |
👍 |
No description provided.
The text was updated successfully, but these errors were encountered: