allow for links in block instead of in "links" area

greggles - April 20, 2009 - 16:22
Project:Fasttoggle
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

It would be nice to have an admin option to display the links either in the "links" area as they are now or in a block.

This would be helpful if you have a lot of fasttoggle links or if you just want to put them in a special part of the page that is not the links area.

I can probably work on this, but post the issue to get feedback.

#1

Aminto - April 20, 2009 - 16:28

Hi,

There's lots of ways you can do this.

You can create more than one menu, then edit the menu and add menu items, which can be links either within the site or to external sites.

You could install the http://drupal.org/project/sidecontent side content module, which lets you add and modify a block to each individual page, and this could then have its own links in it if you want unique links on different pages.

Hope that helps.

Martin

www.1websitedesigner.com

#2

patchak - April 20, 2009 - 19:16

lol... I think Greggles referred to the fasttoggle links that are created by this module. As a regular user of the module, I think it's a neat idea!!

Patchak

#3

kkaefer - April 20, 2009 - 21:19

I think this is a neat idea. Adding these links as a block could only work for entities that are occurring only once on a page, or do you have an idea for making it work on node listing pages?

#4

greggles - April 20, 2009 - 21:31

@patchak - exactly.

@kkaefer Ooooh - good point. This would only happen on full view - i.e. node/NID, user/UID.

So, maybe this should have a setting in the admin area (is it possible to configure them to show on teaser or not right now?).

Show toggle links:
[] in links on node teasers
[] in links on full view
[] in a block on full view

#5

Skirr - May 14, 2009 - 07:00

Is there some code, that i can put in node.tpl.php instead of $links ?

 
 

Drupal is a registered trademark of Dries Buytaert.