Description:
The module infobar provides a general purpose Drupal block which intends to show some information as a sticky notification on a webpage. The information is configurable in the block.
How its different from other modules:
Other modules which provides such functionality are more closely related to the cookie compliance. Infobar is a general purpose module.
Examples:
"Our websites privacy policy has been changed." "Ok"
"We have a scheduled maintenance on 25th July 2019 8pm to 9pm GMT" "Ok"
"We have a offer on this product" "Ok"
Project link
https://www.drupal.org/project/infobar
Git instructions
git clone --branch 8.x-1.x https://git.drupalcode.org/project/infobar.git
PAReview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-infobar.git
Comments
Comment #2
gopisathya commentedComment #3
gopisathya commentedComment #4
saesa commentedComment #5
saesa commentedComment #6
saesa commentedIn the infobar.info.yml this:
name: 'infobar'should be:
name: 'Infobar'In infobar.html.twig, you should change this for another description:
And in the same file this line:
Since you have assigned a class you should not add the css online. Add it in the .css file.
<div class="infobar-wrapper" style="overflow: hidden;display: block;">Comment #7
gopisathya commentedThanks. Please check now.
https://git.drupalcode.org/project/infobar/commit/a1c35e685d95e508e8e637...
Comment #8
avpadernoThat code is not necessary. Just let Drupal call the parent method.
Comment #9
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.