[buddypress-trac] [BuddyPress Trac] #7995: Misposition of multiple bp_nouveau_after_* actions

buddypress-trac noreply at wordpress.org
Mon Oct 29 07:29:51 UTC 2018


#7995: Misposition of multiple bp_nouveau_after_* actions
--------------------------+-----------------------------
 Reporter:  mo3aser       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Templates     |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi,

 In this template file bp-templates/bp-
 nouveau/buddypress/activity/index.php

 The     bp_nouveau_before_activity_directory_content(); is before the

 {{{
 <div class="screen-content">
 }}}

 however the bp_nouveau_after_activity_directory_content(); is inside the
 .screen-content" just before the </div> closing, sw if want to wrap the
 .screen-content with a custom markup by hook to
 bp_before_directory_activity_content and
 bp_after_directory_activity_content  for example

 {{{
 <section class="content-wrapper">
        <div class="content-inner">

        </div><!-- .content-inner -->
 </section><!-- .content-wrapper -->
 }}}

 the output will be


 {{{
 <section class="content-wrapper">
        <div class="content-inner">

               <div class="screen-content">

        </div><!-- .content-inner -->
 </section><!-- .content-wrapper -->

               </div><!-- // .screen-content -->
 }}}


 This causes a lot of issues with some themes, the same in multiple
 templates:

 bp-templates/bp-nouveau/buddypress/activity/index.php

 bp-templates/bp-nouveau/buddypress/blogs/index.php

 bp-templates/bp-nouveau/buddypress/groups/index.php

 bp-templates/bp-nouveau/buddypress/members/index.php


 Best regards

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7995>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list