By linuxuser on
Afer I created vocabularies with free terms I can see them in my article on top. How can I put them at the bottom?
Afer I created vocabularies with free terms I can see them in my article on top. How can I put them at the bottom?
Comments
edit the node.tpl.php file
edit the node.tpl.php file for your theme and move the html/php that prints the terms wherever you like.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
It sounds easy, but it isn't
It sounds easy, but it isn't for me.
I use the pixture_reloaded theme.
I removed
Now the terms are not dispalyed anymore.
But I have no idea, where to include it, so the terms are shown at the bottom.
node.tpl.php looks now like this:
Between $content and $links
It should be placed somewhere around $content (which generates the node's content) and the $links, which is at the bottom of the node.
Thanks, works great!
Thanks, works great!
Is it easy to change the alignment from left to right and italic?
There should be a clear difference between the content and the terms.
Sure!
You can modify the CSS for the class "taxonomy", as well as splitting up the PHP print so that "Posted in " gets different styling from the actual terms. However, since the $terms variable will print out links, you can style them using
to control the styling of those links.
Thank you again, I never
Thank you again, I never thought, that I had to modify the theme for this. Since the theme is in development, can I do anything, that my changes are not deleted after every update? I mean something like you can do in a menalto gallery, where everything is untouched, which is in a "local-folder"
BTW, do you have any idea where I can remove the location.info which I asked at http://drupal.org/node/318672 Probably it is very simple and it is a similar question to this thread.
My css-knowledge is very
My css-knowledge is very limited.
I didn't find out where and in which file to insert
I changed the line to:
so the terms are starting in a new line. This looks a lot better (for me).
BTW, I solved my other question, which looks so similar to this, but probably isn't. I think you have to change the code of the module. But there is an option in the location configuartion, where you can disable it.
CSS File
You'll need to place that at the *bottom* of your theme's CSS file (style.css or styles.css, usually).
I placed it at the bottom of
I placed it at the bottom of style.css and it didn't work. But I am happy with the solution I have at the moment. The linebreak is an acceptable solution for me. Thanks a lot for your help!