yet another node $links question

krunar - May 1, 2008 - 17:40

Well i have look around and it seems that i can not sort this out.

I have some modules that add links to my node (views bookmarks, forward, workflow-ng etc)
I am using a custom node-custom.tpl.php where i would like to print my links
Solution 1.
print $links;
ofc this doesn't look very nide and its not very flexible.
How can i print each one of those links seperatly?

In addition if i want to print one of the links in the top of the node and at the end use print $links; to print the rest, the firsst one will be printed again. So the only solution it seems to be print links one by one OR all togeter?
For some modules i have found the code to print the link separetly for other i havent.
Is there a standard way to print each link? for example something like print $links[0];

and to finish...how do i replace the links with an image?
I have see some css solutions but none seems to work for me. whats is the way to theme the link?

Any tip or point to a reading guide (that i can understand) is appreciated.

Thank you very much.

you might try this

BradM - May 2, 2008 - 05:20

you might try this tutorial:

http://www.webcredible.co.uk/user-friendly-resources/css/css-navigation-...

There is a way to split out a bullet-formatted list into its individual pieces. Otherwise, there is probably a way to split the terms using PHP but that's a little too advance for me. :)

thank for the answer... css

krunar - May 2, 2008 - 05:59

thank for the answer...
css is a way to make the links look nice and i will probably have to implement something like this but still doesn't solve my problem.

bump any ideas...anyone?

krunar - May 4, 2008 - 19:08

bump

any ideas...anyone? there must be a guide or something that i miss
thank you

 
 

Drupal is a registered trademark of Dries Buytaert.