By -Anti- on
Is there a way to move translation links to the top right of each node, rather than the
default bottom position (mixed in with all the other links like 'comments', 'attachments' etc)?
I need the translation links to be more prominent and styled differently to the other links.
Thanks
Comments
I found a solution in this
I found a solution in this post:
http://drupal.org/node/641194
Glad you found a solution. As
Glad you found a solution. As you can see, moving the entire 'links' div is easy.
However, what I need to do is leave the 'read more', 'reply', 'X comments', etc links at the bottom,
and move only the translation language links to the top.
In other words, in addition to print $links, I'd like to be able to have something like:
print $languagelinks in my node-tpl.php.
I think it is important to have language links in the title metadata (along with author and post date).
It means users don't need to scroll down to the bottom of the node just to see if there is a translation.
Looking to do same thing...
I'm trying to do the same thing but my php isn't so great. Ideally I want to show only 1 language link (I only have 2 languages) for the language that is not currently active. Looks like the relevant code is in locale.module, so might try some hacky stuff, and will let you know if successful.
Success
Involved some php and css hackery, but the following code in page.tpl.php should render your language link for the language not currenlty active (IE, when viewing english, only french link appears). Note you'll probably have to remove the comment lines and such.
nice
any idea how to remove the bullets and have them horizontally (without affecting the block in the sidebar)?
I guess it needs some css. Could you help me (i am newbee)?
Submitted as a feature request
Submitted this as a feature request: http://drupal.org/node/773642
Just a ping...
I wonder if someone has found a solution for this on D7. As described above, it would be nice to ave only the language links on top while still maintaining the other links as they are...
Another ping...
Still looking for a solution for this...