Opened 17 years ago
Closed 16 years ago
#2139 closed enhancement (fixed)
Add new do_action before forum topics loop on Forums directory
| Reported by: | r-a-y | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5 |
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: |
Description
Would be nice to see a new do_action before the forum topics loop begins on the Forums directory page.
This is to allow theme designers to hook additional content right after the [h3].
On line 68 of /bp-themes/forums/index.php, change:
<form action="" method="post" id="forums-directory-form" class="dir-form">
to:
<?php do_action( 'bp_before_directory_forums_topic_loop' ) ?> <form action="" method="post" id="forums-directory-form" class="dir-form">
Name the do_action whatever you want!
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Was inspired by this thread:
http://buddypress.org/forums/topic/bp-forums-forum-index-instead-of-latest-discussion