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

ducky1989’s picture

Project: Custom Breadcrumbs » Custom Links
Version: 6.x-1.5 » 6.x-1.4

Is 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?

ducky1989’s picture

sorry about that double posting. Is there a way to delete it?

tinem’s picture

Have 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.

frankcarey’s picture

Status: Active » Fixed

you 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...

frankcarey’s picture

Title: Output Custom Link as a Button » How to theme custom links (or any drupal links)

changing title to reflect actual issue

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.