I think it would be cool if when you click on the link in the following sentence, that it goes to the drupal 7 modules page, not all of the modules:
"Modules are plugins that extend Drupal's core functionality. To further extend your site's functionality, a number of contributed modules are available for download." - Taken from the modules page at the top.
thank you so much!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | link-to-D7-modules.patch | 2.3 KB | BarisW |
Comments
Comment #1
Dan Silver commentedadding:
can the link go to:
http://drupal.org/project/modules?filters=drupal_core%3A103&solrsort=sor...
instead of:
http://drupal.org/project/modules
thank you
Comment #2
Dan Silver commentedWell, that was disappointing. I still this would help brand new users when they try to install drupal 5 or drupal 6 modules on their website. I do not have the expertise to write a patch. If anyone else could, that would be fantastic!
thank you,
Dan Silver
Comment #3
BarisW commentedI'll have a look, I agree it adds value!
Comment #4
BarisW commentedAttached is a patch which does exactly this. It links to http://drupal.org/project/modules?filters=drupal_core:103 (D7 modules) instead of http://drupal.org/project/modules
Comment #5
silverhosting commentedthanks BarisW! Ha ha. Now people won't waste time trying to install D5 and D6 modules on a D7 site. Should we get this into Drupal 5 and 6 also? It seems pretty simple. Thanks a lot!!!
Comment #6
dries commentedI'd prefer to link to a more permanent URL. http://drupal.org/project/modules?filters=drupal_core:103 is obviously variable, and might change in future.
Comment #7
silverhosting commentedIs there any other way to do this besides using variables?
Comment #8
chx commentedPatch up drupalorg module to have a more permanent URL. You can't URL alias query variables.
Comment #9
BarisW commentedOkay, maybe one of you could add some URL aliases on the drupal.org as a quick-fix?
http://drupal.org/project/modules/drupal7 -> http://drupal.org/project/modules?filters=drupal_core:103&solrsort=sis_p...
http://drupal.org/project/modules/drupal6 -> http://drupal.org/project/modules?filters=drupal_core:87&solrsort=sis_pr...
http://drupal.org/project/modules/drupal5 -> http://drupal.org/project/modules?filters=drupal_core:78&solrsort=sis_pr...
http://drupal.org/project/modules/drupal4.7x -> http://drupal.org/project/modules?filters=drupal_core:79&solrsort=sis_pr...
In this way it is possible to redirect to a new location when the dynamic url changes, while keeping the clean url working.
Comment #10
chx commentedYou can't URL alias query variables.
Comment #11
BarisW commentedOkay, too bad. Apologies for not reading your reply thoroughly.
Is it possible to make the module page display the modules of the current drupal version by default?
So for now, http://drupal.org/project/modules would display the Drupal 6 modules, while after the release of Drupal 7 it will display D7 modules by default?
Comment #12
Dan Silver commentedI agree. Another advantage to this is that it would encourage module maintainers to update their modules to the current version of Drupal, so their modules are displayed by default.
(sorry for the late reply)
Comment #13
amber himes matzI think the window for the feature has probably passed. I'm going to go ahead and close this as outdated.