Create "Links" block for project nodes

Gerhard Killesreiter - February 10, 2009 - 10:01
Project:Drupal.org customizations
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:download & extend, drupal.org redesign
Description

See http://infrastructure.drupal.org/drupal.org-style-guide/prototype/module...

see also my comments at http://drupal.org/node/372023

#1

David Stosik - February 10, 2009 - 22:27

What will be put in this block needs to be defined.
Do we add the possibility for the project maintainer to create any link (title+URL) he wants? (See "Add link" one the prototype.)
Some of the links contained in the bottom of a project page at present could also fit in here.

To keep a clear CSS, this, actually, will be a Drupal block.

#2

David Stosik - February 10, 2009 - 23:23
Assigned to:Anonymous» David Stosik
Status:active» needs work

Here is a first patch. "Home page" and "Try out a demonstration" links, if existing, are displayed.
We probably need to fill it with other links (what about documentation, browse CVS repository, license or changelog?).

Please leave any comment regarding code style and way of doing it. :)

AttachmentSize
project-links-block.patch 1.48 KB

#3

David Stosik - February 11, 2009 - 08:21

I created the following issue to gather some project blocks:
#372580: Move the project node links to blocks

#4

David Stosik - February 11, 2009 - 10:56
Status:needs work» needs review

See #372580: Move the project node links to blocks.

#5

dww - April 6, 2009 - 22:56
Status:needs review» postponed

This is blocked on #372580: Move the project node links to blocks.

See #425742: Add a mechanism to store custom links per-project about storing/adding new links. Let's just handle that separately, since it's a minor feature and shouldn't otherwise hold up progress here.

#6

dww - April 12, 2009 - 00:18
Title:Create "Links" block» Create "Links" block for project nodes
Project:Project» Drupal.org customizations
Version:6.x-1.x-dev» <none>
Component:Projects» Code
Assigned to:David Stosik» Anonymous
Status:postponed» active

Now that #372580: Move the project node links to blocks is done, all this needs is a small patch to drupalorg_project to alter the project links for the 'resources' section to a) make it 'type' = 'block', and b) change the label to "Links". See also #371979: "Get Involved" Block on project pages for a similar task for a different block.

 
 

Drupal is a registered trademark of Dries Buytaert.