Closed (fixed)
Project:
Custom Links
Version:
6.x-1.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
19 Nov 2009 at 20:44 UTC
Updated:
12 Feb 2010 at 22:30 UTC
Is it somehow possible to output a custom link as a button? I work with the CCK and want the link to be displayed as a button. And is there some way to move the link to another part of my custom content type?
Comments
Comment #1
ducky1989 commentedIs it possible to output a custom Link as a button? I work with the CCK and it would be nice if that'd be possible. And is there some way to move the custom link from the links section to another part of my custom content type?
Comment #2
ducky1989 commentedsorry about that double posting. Is there a way to delete it?
Comment #3
tinem commentedHave you found a solution how to decide where custom links is showed and would like to share, please?
If you look at my site http://www.tinemuller.dk/test_drupal/list/kobenhavns_kommune I have styled the custom link Google Map but would like to move it so comments come AFTER custom links but can't figure this out too.
I'm surprised that I couldn't find a solution on Google/Drupal forums because I think we can't be the only persons that have needed to do this.
Comment #4
frankcarey commentedyou probably want to create a theme override function/template for your type of node that you want this to happen. Use the devel module's theme developer" module to pick out what function or template you need to override. Then it is just a matter of cutting and pasting where the links normally output for your theme, to a new place (after the comments). Here is a general example http://drupalsn.com/learn-drupal/drupal-tutorials/drupal-theme-function-... of what i'm talking about.
if you wanted one particular link to be output as a button, you could just theme the css to make it look more like a button, or actually make it an html button in the theme override as well.
See this http://www.kinetasystems.com/blog/theming-the-links-variable-in-drupal-n...
Comment #5
frankcarey commentedchanging title to reflect actual issue