O.K. please be patient as I'm a bit of an html/drupal n00bzer.

I want to add a button to a node and make it into a link so that when a user clicks it, it goes to another page.

I have no idea how to do this. My template already provides button styles (because I see pretty buttons in the login box, search, etc), so I suppose is just a matter of somehow calling the button.

Is there some html code or something I can insert into my node body to plug in this button?

Even better, is there a way I can make a CCK field such that you can enter the text that the button should say?

I know nothing about building modules in drupal and php coding so if someone could explain in a very noobzer friendly way I would very much appreciate it!

Oh I'm on drupal 6 so I guess I can't really use CCK button module (which is for drupal 5).

Thanks!

Comments

epg’s picture

Nevermind I figured it out.

My template .css provides a class "templatebutton" so I just did:

Click here to go to drupal.org! and that seems to work.

Cool!