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
[4] New moduleposition below-top, option to switch off logo #33751
Conversation
It is confusing having a module and an options with the same name that control different things. I think you need to rethink the approach here. |
Have you a suggestion for a name of the module position? Maybe below-top? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
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 |
I have tested this item ✅ successfully on dba8af8 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
I have tested this item ✅ successfully on 7894923 1. Setting in template style:2. Frontend:3. Frontend + Language switcher in position "below-top":This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
I have tested this item ✅ successfully on 7894923 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
@chmst Please add the missing language string for the new module position to file The name of the language string has to be: |
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 But you have added 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: This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
I have tested this item ✅ successfully on 231cc0f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
@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. |
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
I have tested this item ✅ successfully on 231cc0f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
I have tested this item 🔴 unsuccessfully on 231cc0f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
I have tested this item ✅ successfully on 231cc0f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33751. |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
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. |
While I was working on #31275 I discovered that I had issues when using the lang switcher with flags as a dropdown in the new position. I will have to add the color in the module css
|
@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. |
Summary of Changes
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.
Testing Instructions
Apply the patch and play with the template style cassiopeia. Use the module position brand
Actual result BEFORE applying this Pull Request
There is always an area for the logo above the navigation.
Expected result AFTER applying this Pull Request
The user can swith off the logo
Documentation Changes Required
yes