Show taxonomy terms

samwarren - February 25, 2009 - 04:52
Project:Advanced Forum
Version:6.x-2.0-alpha1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The terms cannot be shown in any post after enabling advanced forum. I just disabled the module and the original terms come up right away. It is for sure due to the module.
I searched and could not find others with this issue. Did I do something wrong?

#1

Michelle - February 25, 2009 - 14:12
Title:Taxonomy terms do not show in forum topics» Show taxonomy terms
Version:6.x-1.0-rc1» 6.x-1.x-dev
Category:bug report» feature request
Status:active» postponed

AF doesn't currently show taxonomy terms in forum nodes. This is something I planned to address in 2.x, so adding it to the list. In the mean time, you can always add <?print $terms ?> to your own template.

Michelle

#2

Michelle - May 7, 2009 - 02:56
Version:6.x-1.x-dev» 6.x-2.x-dev
Status:postponed» active

#3

mjourney2 - June 10, 2009 - 10:17

If I could just second this one. Terms are pretty central to drupal and the entire user experience.

In the mean time, where can we add this <?print $terms ?> ?

Thank you for a great module!

#4

Michelle - June 10, 2009 - 13:18

Copy advf-forum-post.tpl.php to your theme and add it there.

Michelle

#5

Michelle - June 15, 2009 - 17:20

Linking to #484174: Tagging

Michelle

#6

Michelle - July 5, 2009 - 19:19
Status:active» fixed

Added to 2.x

Michelle

#7

System Message - July 19, 2009 - 19:20
Status:fixed» closed

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

#8

sjtout - August 13, 2009 - 20:41

Some info for those still interested (though it looks like the 2.0 release that includes terms is very close).

The advf-forum-post.tpl.php

file is in: advanced_forum/styles/naked/

I made this change by copying that file into the top level of my theme directory ([path]/sites/all/themes/[themedirectory]) and making this portion of the code:

<div class="forum-post-footer clear-block">
    <div class="forum-jump-links">
      <a href="#top" title="Jump to top of page"><?php print t("Top"); ?></a>
    </div>

Read like this:

<div class="forum-post-footer clear-block">
    <div class="forum-jump-links">
      <a href="#top" title="Jump to top of page"><?php print t("Top"); ?></a>
    </div>
        <? /** the next line was added to print taxonomy terms on forum topics--it is styled in the accompanying Advanced Forum CSS file**/?>
<div class="advf-term-container"><?php print $terms ?></div>

I'm using the 'Blue Lagoon - stacked' Advanced forum theme, so I then copied the advanced_forum.css file from the [path]/sites/all/modules/advanced_forum/styles/blue_lagoon_stacked directory into my theme directory ([path]/sites/all/themes/[themedirectory]), and added these lines to the end of that file:

/* Taxonomy Terms */
/* CSS accompanies $print statement added to advf-forum-post.tpl.php*/
.advf-term-container .vocab-term {
display: inline;
}

The CSS could be improved, but it allows the terms to display horizontally.

#9

sjtout - August 14, 2009 - 00:09
Version:6.x-2.x-dev» 6.x-1.1

Maybe important to note that if you move the advanced_forum.css file into [path]/sites/all/themes/[themedirectory], that CSS will always override what you choose as a theme for Advanced Forum -- so you can no longer change the Advanced Forum theme -- maybe better to change the CSS in the theme folder directly.

#10

Ben-Sullivan - September 8, 2009 - 23:24
Version:6.x-1.1» 6.x-2.0-alpha1
Status:closed» active

Hi Michelle, I tried the 6.X-2.x-Alpha and dev releases of Advanced Forum (which did pull the tags), but lost all the content (text, images, and links) contained in my forum nodes. I also tried reverting to AF 6.x-1.1 and implementing the <?print $terms ?> string inside a file named advf-forum-post.tpl.php (placed in my theme's directory) and had the same results. I further tried moving the patch file and testing under the default "blue lagoon" theme, yet still encountered the same problem. If this works for you and others, there must be a conflict with one of the other modules I'm running (there are quite a few). Has anyone else encountered a module conflict involving tags and AF?

#11

Michelle - October 26, 2009 - 03:53
Status:active» closed

It's been well over a month and no one else has said anything. I can't imagine anything with simply printing out the terms that would cause the problem you're having. If it's still a problem, please open a new support issue as this issue was about adding the term printing, which is committed.

Michelle

 
 

Drupal is a registered trademark of Dries Buytaert.