Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I've created some forums and I added some topic per forum.
Then i created a page display in the advanced_forum_topic_list; it works but it show "this topic has been moved to 'forumname'" instead of the summary of the topic.
I can't group by any field too.
EDIT: I can group by field, but i can't understand how to show the teaser instead of 'this topic has been moved to'
Comments
Comment #1
polluxmr2 CreditAttribution: polluxmr2 commentedsubscribing.
Comment #2
mcdruidadvanced_forum_topic_list has its own custom style provided by the advanced_forum_plugin_style_forum_topic_list class.
One of the functions in that class - get_forum_ids() - tries to work out what the forum ID(s) for the current page are.
The theme preprocessing in template_preprocess_advanced_forum_topic_list_view.inc compares the forum each topic is assigned to (topic_actual_forum) with the forum id(s) as provided by the get_forum_ids() function. The purpose of this is to identify topics which have been moved to other forums (shadow topics) and leave a sign post in the old location so visitors can find the topic in its new location.
As far as I can see, the problem you're having edubacco, is that the page display you've created with advanced_forum_topic_list doesn't seem to actually represent any one forum, so every topic appears to belong elsewhere.
I believe you should be able to prevent every topic from showing up as a 'shadow' by editing the settings of "Style: Forum topic list" for your page display, and setting 'Source of forum ID:' to none.
However, I've not tried this. Please let us know if it works for you.
Comment #3
mcdruidChanging to support request, as this is a config tweak for an extra page display added to one of AF's views, and therefore not a bug.
Comment #4
polluxmr2 CreditAttribution: polluxmr2 commentedmy specific issue was related to taxonamy access control, forum access and taxonomy working in collusion to thwart my users best efforts; specifically during any insert or update nodeapi operation. So i hacked up AF to check to ensure a forum record existed if a term_node record existed because i think they should be in sync for forum node types. if the forum record was deleted, i recreated it from the info in term_node.
but take this with a grain of salt. my site has nearly 100 modules attempting to work together so i could have gotten this all wrong.
Comment #5
edubacco CreditAttribution: edubacco commentedThank mcdruid for your reply.
Yes, my page display doesn't represent any forum, because i show post from various forums.
It worked for me setting 'source of forum ID' to none
Comment #5.0
edubacco CreditAttribution: edubacco commentedsolved a minor problem, and updating the description of the main problem.
Comment #6
mcdruidGlad it worked.
Comment #8
edubacco CreditAttribution: edubacco commentedi resolved this deleting an 'override this field', but i don't remember which.
Comment #9
eL CreditAttribution: eL commentedThis is weird - after some module updates, I got simillar problem, but AF writes this topic has been moved to "" without name of destination. I must do this from #2 - prevent every topic from showing up as a 'shadow' by editing the settings of "Style: Forum topic list" for your page display, and setting 'Source of forum ID:' to none.
After that, AF is working OK again.
Comment #9.0
eL CreditAttribution: eL commentedeliminated a link to a personal example page