Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
system.module
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
15 Sep 2007 at 14:10 UTC
Updated:
8 Dec 2007 at 20:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
BrightLoudNoise@drupal.org commented+1
It would be very convenient to have a link to modules and themes from their respective admin pages.
Comment #2
BrightLoudNoise@drupal.org commentedIt could be as simple as
Additional modules are available from drupal.org
I'd recommend putting that line below the line regarding "available updates" for the module list.
Comment #3
patchnewbie commentedThis would be a great patch for a new contributor to get started with core development.
Comment #4
hazexp commentedI've had a go at patching this. Thanks for opening up core development for noobs like myself patchnewbie :D.
I modified these pages: admin/build/modules, admin/build/themes, admin/logs/updates.
One thing that needs work is that I don't know how to get the appropriate text to appear *after* update.module's implementation of hook_help(). If this were possible then the added notification could be the last thing to appear before the important content on the page.
Update.module patch coming soon.
Comment #5
hazexp commentedHere's the patch for update.module.
Comment #6
dmitrig01 commentedhazexp - Great job as a patch newbie! I only have two comments
We actually don't use tabs in our markup. You should use two spaces.
Secondly,
The t() is inconsistant. In the first one, can you putu the
<p>outside thet?Comment #7
pasqualleComment #8
hazexp commentedOk, I've updated the patches for better consistency and convention conformity.
Here's the system.module patch. Update to follow.
Comment #9
hazexp commentedHere's the update.module patch.
Comment #10
dmitrig01 commentedLooks great! And welcome to the wonderful world of patches!
Comment #11
webernet commented@hazexp - Good job for your first try at patching and keep up the good work!
I've combined and rerolled the patch using CVS diff rather than plain diff. I also changed some wording to be more generic, removing references to Drupal; moved the links to an array so they are properly escaped and are easier for translators to work with; and broke the line with the <p> into separate lines.
Comment #12
Anonymous (not verified) commentedI would remove the
at <a href="http://drupal.org/">drupal.org</a>part. One can select 'Home' to go to the home page.Comment #13
JirkaRybka commentedPatch #11 applies cleanly, works as advertised, worded nicely IMO, and is a huge usability improvement for new users struggling with their first site, helping them to find things quickly. So setting RTBC.
As for #12 - the patch #11 doesn't have this in it, already.
Comment #14
BrightLoudNoise@drupal.org commentedWow HazeXP, this moved rather faster than I thought it would, I had been discussing this with Webchick and Amazon a few days ago, and hadn't been able to revisit it since.
Nice job on the patch, I prefer your wording to what I had crafted originally.
A related enhancement we may want to consider, is to include form arguments in that link to filter the available releases based on the major version of your drupal install.
This would require a patch to project.module from what I understand, changing the quick navigation form method to 'GET'.
Comment #15
gábor hojtsyI agree this is a good idea. But let's not forget translations (http://drupal.org/project/Translations). Locale module has a language setup page which would be enhanced by a link to translations. So we cover most project types (install profiles will obviously not be suggested on a site already set up).
Comment #16
pasqualleI had a problem to understand you Gábor. It could be my poor english. So just made a sum up of your request.
task: add link http://drupal.org/project/Translations to admin page admin/build/translate
anything else need a download link?
Comment #17
gábor hojtsyYes, but I would add the link on the language setup page too:
/admin/settings/language
/admin/build/translate
Note that /admin/build/translate/import already has the link, but it seems we need to fix it for case (ie. Translations instead of translations in the URL).
Comment #18
pasqualleIt seems unfair 3 download links for translations and 1-1 for modules and themes. We can't add translation download link to every admin page, sorry. :)
any suggestions?
Comment #19
gábor hojtsyActually language features span more pages then module or theme listings. But I am convinceable with something more solid then "we need equality :)".
Comment #20
pasqualleThe link works, but yes, that should be fixed. Here is the explanation http://drupal.org/node/115092
Comment #21
webernet commentedAdded the Translations links and did some minor cleanup of the locale help text.
Comment #22
Freso commentedJust a note to hazexp: Notice how the anchors in recent patches use
@variablesin place of URLs, and defines them afterwards. :)Comment #23
JirkaRybka commentedJust a tiny edit to #21 patch: Unnecessary double quotes replaced with single quotes (admin/settings/language/add - t() replacement array).
Patch applies cleanly, works fine, looks fine... So setting RTBC, as I didn't really change the patch in any significant way.
Comment #24
BrightLoudNoise@drupal.org commentedCreated a feature request (http://drupal.org/node/185698) against project.module to modify the filter form so we can pass a version argument to it from these links.
Comment #25
dwwHold on here...
A) I positively *hate* the fact that Translations and Modules are capitalized like that in those URLs, and would like to fix that some day. Once we hard-code those into core, our hands are tied forever. :( http://drupal.org/node/115092 shouldn't be at "by design", it should be active. ;)
B) The feature request about version-specific download links is duplicate with http://drupal.org/node/107813 which, IMHO, is a much better solution to that problem.
So, I'd be opposed to this patch going into core as it currently stands. Moreover, I'd appreciate some help with these project*-related issues, since my hands are full with preliminary work for the D6 porting effort. Thanks.
Comment #26
gábor hojtsy@dww: http://drupal.org/project/modules and friends sort of work, although the page title and the tabs are not there, the page shows proper contents. So we can just as well link to that and get these bugs fixed (I understand you would like to have these bugs fixed first in project module). Translations already link to the lowercase URL, which is not a problem there as there are no tabs on that page (and interestingly the page title is also OK).
Comment #27
wmostrey commentedWhat is the consensus on this now? This is a good usability feature and it would be great to get this in the first RC.
Comment #28
catchI think it's a good idea. Also makes sense to link to lowercase version of urls and fix in project later.
Comment #29
wmostrey commentedPatch is RTBC then, it still applies cleanly.
Comment #30
catchpatch goes to uppercase version of links. seems like dww is very much against that (I also hate uppercase text in links so +1 to changing). With lowercase links it'd be rtbc though
Comment #31
webernet commentedRerolled - changing all links to /Themes and /Modules to the lowercase versions.
Untested.
Comment #32
webernet commentedForgot /Translations
Untested.
Comment #33
keith.smith commentedA couple of minor things that may not be strictly the fault of this patch, but since this is modifying those lines anyway (note that there is another patch in the documentation queue -- http://drupal.org/node/163246 -- that has a couple of these changes in it already -- if this gets in, that can be rerolled):
-- There is an "Alternately" in here that probably should be "Alternatively".
-- There is surely some way to avoid "courses" in this usage:
even something as simple as "Drupal interface translations may be added or extended by importing an existing....".
-- In this:
"additionaly" is probably a typo.
This entire string could use some tweaking, but may be out of scope for this patch.
Comment #34
catchOK quick edit on those strings.
Comment #35
blackdog commentedTested the patch in #34, all applies well.
Comment #36
keith.smith commentedI still think that Alternately should be Alternatively:
Comment #37
catchAnother quick edit, missed that one.
Please note don't credit me for this patch if it's committed.
Comment #38
gábor hojtsyI asked dww to comment on this issue. While I am all happy with the changes, it would be good to know whether the URL lowercasing is in the plans for the Drupal 6 project upgrade, so we are fine with wiring these URLs in. It is of note however that the uppercase ones were there before (possibly even in D5, I have not looked). Anyway, the lowercase ones are now sort of working but provide reduced functionality, so we need to ensure that they will work fine.
Comment #39
dwwYes, the lower case paths will be working fine on d.o before 6.0 roles out. Haven't looked at the current patch but I'll assume the other reviews are accurate and this is still RTBC.
Cheers,
-Derek
Comment #40
gábor hojtsyGreat, committed, thanks all.
Comment #41
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.