Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
13 May 2016 at 20:31 UTC
Updated:
25 Jul 2018 at 09:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kristindev commentedI'm working on this today at DrupalCon Sprints
Comment #3
kristindev commentedI attached the patch with the README.txt file.
Comment #5
nikhilesh gupta commentedAttached is the patch with the README.txt file.
Comment #6
surbz 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 commentedComment #8
rajeshwari10 commentedAdded new line at the end of code.
Thanks!!
Comment #9
joginderpcGiven information in README.txt file is nice and patch works for me passing this.
Comment #11
rajeshwari10 commentedThe test is passing in PHP 5.6 & MySQL 5.5 18,519 pass.
Thanks!!
Comment #12
joginderpcAdding 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 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 commentedPlesae find the updated patch 16.
Comment #18
cilefen commentedComment #19
joginderpcAdding fresh patch Please review this if it got passes :) ...
Comment #20
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 commentedadding patch with following changes said in # 20
Comment #22
Anonymous (not verified) commentedNoticed there's an extra return line after the first two headers but not after the bottom ones.
Comment #23
rajeshwari10 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 commentedAs per the Cottser comments, i have made the readme file small and simple.
Comment #26
kostyashupenkoComment #29
mayurjadhav commentedMade the changes as per Cottser suggestion in #24.
Comment #32
cilefen commentedComment #33
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 commentedI'm working on this today at DrupalCon.
Comment #38
mttsmmrssprks commentedI've tested this. It's applied correctly.
Screenshot attached.
Comment #39
aburrows 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 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 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: Seven is now internal and will change in minor versions
Created a patch and interdiff
Comment #49
andrewmacpherson 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 commentedEdited theme-guide URL in patch #48.
Thanks @andrewmacpherson for noticing it.
Comment #52
andrewmacpherson 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!