Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add a README.txt to the Seven theme.
Comment | File | Size | Author |
---|---|---|---|
#52 | interdiff-2725039-50-52.txt | 500 bytes | andrewmacpherson |
#52 | readme_file_seven_theme-2725039-52.patch | 858 bytes | andrewmacpherson |
#51 | readme_file_seven_theme-2725039-50.patch | 855 bytes | manish-31 |
#48 | readme_file_seven_theme-2725039-48.patch | 854 bytes | brentg |
#29 | readme_file_seven_theme-2725039-29.patch | 684 bytes | mayurjadhav |
Comments
Comment #2
kristindev CreditAttribution: kristindev at Hook 42 commentedI'm working on this today at DrupalCon Sprints
Comment #3
kristindev CreditAttribution: kristindev at Hook 42 commentedI attached the patch with the README.txt file.
Comment #5
Nikhilesh Gupta CreditAttribution: Nikhilesh Gupta as a volunteer and at Melity commentedAttached is the patch with the README.txt file.
Comment #6
surbz CreditAttribution: surbz at Srijan | A Material+ Company commentedPatch #3 applies clean.README file has good information.
There should be an extra new line at the end.
It would be good if we could add a README.txt to Drupal 7 also.
Comment #7
surbz CreditAttribution: surbz at Srijan | A Material+ Company commentedComment #8
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedAdded new line at the end of code.
Thanks!!
Comment #9
joginderpc CreditAttribution: joginderpc at Srijan | A Material+ Company commentedGiven information in README.txt file is nice and patch works for me passing this.
Comment #11
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedThe test is passing in PHP 5.6 & MySQL 5.5 18,519 pass.
Thanks!!
Comment #12
joginderpc CreditAttribution: joginderpc at Srijan | A Material+ Company commentedAdding this as reviewed because the patch is passing in PHP 5.6 & MySQL 5.5 18,519.
Comment #13
alexpottI'm not sure about the amount of information in this file. For example, explaining sub theming seems OTT - also seven is marked @internal so encouraging sub themes seems a bad idea.
Assigning to Cottser for review.
Comment #14
pashupathi nath gajawada CreditAttribution: pashupathi nath gajawada as a volunteer and at Melity commentedHi,
Please find the updated patch which contains the README.txt file for the seven theme of Drupal 8.
Thanks,
Comment #16
pashupathi nath gajawada CreditAttribution: pashupathi nath gajawada as a volunteer and at Melity commentedPlesae find the updated patch 16.
Comment #18
cilefen CreditAttribution: cilefen commentedComment #19
joginderpc CreditAttribution: joginderpc at Srijan | A Material+ Company commentedAdding fresh patch Please review this if it got passes :) ...
Comment #20
cilefen CreditAttribution: cilefen commentedThere are some layout issues:
This paragraph exceeds 80 columns.
So does this one.
There is no newline at the end of the file.
Comment #21
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedadding patch with following changes said in # 20
Comment #22
Anonymous (not verified) CreditAttribution: Anonymous commentedNoticed there's an extra return line after the first two headers but not after the bottom ones.
Comment #23
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedAdded an extra return line at the bottom ones.
Comment #24
star-szrThanks for the work so far everyone.
"tothose" - typo. But it's also very passive voice, what about something more along the lines of "This theme is used on all admin pages and by default on node edit forms."
If it's internal is it really also stable? It can change.
Not sure about the "easily used to administer Drupal" part, maybe we can replace stable with usable if we think that's one of its qualities.
D7 is jargon, let's at least replace this with Drupal 7.
I agree with @alexpott we should not describe how to create a Seven subtheme because it's actively discouraged.
Overall I'm not sure about including all this in the README, I think it'd be preferable to ensure we have good documentation for these points that are not Seven-specific on drupal.org and link to them rather than including them here.
Comment #25
neha.gangwar CreditAttribution: neha.gangwar as a volunteer commentedAs per the Cottser comments, i have made the readme file small and simple.
Comment #26
kostyashupenkoComment #29
mayurjadhav CreditAttribution: mayurjadhav at Blisstering Solutions commentedMade the changes as per Cottser suggestion in #24.
Comment #32
cilefen CreditAttribution: cilefen commentedComment #33
cilefen CreditAttribution: cilefen commentedLike I wrote in #2749901: Add README.txt to Bartik theme, I don't see why we would want to document how to change the admin theme in the README for a specific theme. I've removed that from the issue summary.
I have no idea what "safe" and "usable" mean here. Safe, for what purpose? Are other themes "unusable". Ha, maybe...
Comment #34
brentgRemoved the text from https://www.drupal.org/node/2725039#comment-11898607, also added a link to the theme page on drupal.org, like it is in Bartik
Applied the patch
Comment #35
brentgComment #37
mttsmmrssprks CreditAttribution: mttsmmrssprks commentedI'm working on this today at DrupalCon.
Comment #38
mttsmmrssprks CreditAttribution: mttsmmrssprks commentedI've tested this. It's applied correctly.
Screenshot attached.
Comment #39
aburrows CreditAttribution: aburrows as a volunteer commentedI mentored @mttsmmrssprks and saw the patch apply correctly and then re ran locally and it worked as intended as per screenshot.
Comment #40
xjmThanks @aburrows and @mttsmmrssprks!
In this case, a screenshot of applying the patch isn't needed. The automated testing infrastructure (a.k.a. "testbot") checks for us whether or not the patch applies. For this issue, let's review the content of the text added, and see if it seems complete and correct. We can also compare it to other READMEs that have been added.
Comment #41
xjmOh, also! Let's make sure to add a single newline to the end of the file to comply with our coding standards. Thanks!
Comment #43
surbz CreditAttribution: surbz at Srijan | A Material+ Company commentedThanks @aburrows and @mttsmmrssprks! for this patch.
Thanks @xjm for reviewing this patch I have addressed #40 #41 and #42 and readme_file_seven_theme-2725039-42.patch looks final and complete and is ready for review.
Comparing this README to READMEs that have been added this content looks good.
Comment #44
bandanasharma CreditAttribution: bandanasharma as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedI have tested the #43 patch and it's applied cleanly. Attached the screen shot.
Comment #46
MixologicTestbot Snafu.
Comment #47
lauriiiShould we mention in the README.txt that Seven is internal theme and shouldn't be extended by other themes?
Comment #48
brentgGood suggestion @lauriii, I've added it to the patch including a link to the change record [#2582945]
Created a patch and interdiff
Comment #49
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedPatch in #48 addresses @lauriii's point from #47, that part's good.
The D8 theme-guide URL gets a 301 redirect though, i.e.
https://www.drupal.org/theme-guide/8
301 redirects to ...
https://www.drupal.org/docs/8/theming
The latter URL is the one mentioned by the README recently added to Bartik. I think this was likely part of the plan to re-organize the handbook on d.o
Can we update this URL in the Seven README too please?
Comment #50
brentgUpdated the patch with the changes suggested by Andrew.
Comment #51
manish-31 CreditAttribution: manish-31 at OpenSense Labs for DrupalFit commentedEdited theme-guide URL in patch #48.
Thanks @andrewmacpherson for noticing it.
Comment #52
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedThanks @brentgees and @manish-31. The patches in #50 and #51 are the same, and fix the redirected URL noted in #49.
There's another one though.
https://www.drupal.org/documentation/themes/seven.
redirects to:
https://www.drupal.org/docs/7/core/themes/seven
It looks like another one from reorganizing the handbooks. I've updated it in a patch here. Now all the URLs in the README are the current ones, avoiding redirects.
Comment #53
brentgThanks @andrewmacpherson, I've noticed the duplicate in #50 and #51 as well, pretty funny two identical patches so short after each other :)
I think the file looks good now, I don't notice any mistakes anymore.
Comment #54
Gábor HojtsyAdjusting credits.
Comment #56
Gábor HojtsyCommitted b91f5b4 and pushed to 8.6.x. Thanks!