User tests: Successful: Unsuccessful:
Not all users want it have a logo in the header of their site. Cassipoeia has no option to switch off the display of a logo or description
This PR adds a param to the template where the user can switch off the logo.
It adds a new position "below-top" where users can add an own module.
Using both - position "below-top" and logo is up to the user.
The error page can be adapted if this is accepted.
Apply the patch and play with the template style cassiopeia. Use the module position brand
There is always an area for the logo above the navigation.
The user can swith off the logo
yes
Status | New | ⇒ | Pending |
Category | ⇒ | Language & Strings Front End Templates (site) NPM Change |
Have you a suggestion for a name of the module position? Maybe below-top?
Thinking out aloud.
How about instead of saying Brand Yes|No maybe Template|Module would make more sense?
I agree that the name brand for a moduleposition is wrong, as the position canbe used for everything. It is independent from
displaying the brand ( = Logo / Description and Tagline ).
Labels |
Added:
?
?
NPM Resource Changed
?
|
I have tested this item
Similar position in github named "Header".
Title |
|
I have tested this item
I have tested this item
@chmst Please add the missing language string for the new module position to file language/en-GB/tpl_cassiopeia.sys.ini
so that people see a nice module position name in the pulldown, like we have it e.g. for the "Menu" position, where we see "Menu" and not "menu".
The name of the language string has to be: TPL_CASSIOPEIA_POSITION_BELOW-TOP
.
Language string added, Thanks @richard67
Language string added, Thanks @richard67
As far as I know, the name of the language string after the last underscore has to be equal to the name in the XML converted to uppercase.
That means it should be TPL_CASSIOPEIA_POSITION_BELOW-TOP
.
But you have added TPL_CASSIOPEIA_POSITION_BELOW_TOP
.
Just below you can see for bottom-a and bottom-b how it shoud be.
@sandramay0905 @ChristineWk Could you briefly test this PR again? It has received a change so that when you select the new module position for a module, you see the nice, translatable language string "Below Top" in the dropdown, instead of the raw "below-top" from the XML file. Just test this new change, the rest hasn't changed. Thanks in advance, and thanks so far for all previous testing here and elsewhere.
Should be OK:
I have tested this item
@ChristineWk What I meant with the changed thing to be tested was the name of the module position in backend, when you select the position:
Before the last change, it was just "below-top", or maybe "below-top [below-top]", now it has the "Below Top" at the beginning, which is a translatable text.
I have tested this item
I have tested this item
I have tested this item
sorry this is a good test
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-14 09:49:35 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
I would say this PR is broken... because Brand = On in the admin console on a default fresh install - but I dont get a header, until I save the admin params.
Shouldnt the param have been set in the database on install? (it hasnt been and therefore the problem)
@brianteeman @PhilETaylor I'll make a PR soon.
@brianteeman @PhilETaylor PR #33881 is ready, please test. Thanks in advance.
@brianteeman @PhilETaylor I've meanwhile replace my PR by a new, better one, for the issue with the header section not shown after a new installation or an update before having saved template style parameters. Please test #33930 . Thanks in advance.
It is confusing having a module and an options with the same name that control different things.
The way it is used here in the options it is not clear what it does unless you read the code
Is it intentional that you can have two brands?
I think you need to rethink the approach here.