Skip to:

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7550 closed enhancement (wontfix)

Introduce new action hooks for single group and member template

Reported by: lenasterg's profile lenasterg Owned by:
Milestone: Priority: low
Severity: trivial Version:
Component: Templates Keywords:


This is a suggestion to add action hooks before and after the 'item-nav' div in single group and single member bp-legacy templates.
This will help designers in building BP themes.

Bests Lena

Attachments (1)

item_nav_actions.patch (1.9 KB) - added by lenasterg 7 years ago.

Download all attachments as: .zip

Change History (6)

#1 @hnla
7 years ago

What would you be adding at these positions though?

If building themes it would be simpler to actually edit templates to your own requirements wouldn't it?

#2 @lenasterg
7 years ago

Well, yes and no.

I believe it is useful to have also for the nav-item div, similar action hooks like in other places.
This gives more flexibility to the styling and also allow plugin developers to place there what even they want.

#3 @DJPaul
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

We're not adding new to bp-legacy,. sorry.

#4 @lenasterg
7 years ago

Why? Is bp-legacy going to be deprecated?

#5 @hnla
7 years ago

Not necessarily (yet), but will be replaced shortly by Nouveau or at least new installs will default to Nouveau with bp-legacy as a switchable option (established installs will continue to use bp-legacy until they choose to switch over)

Have a look at Nouveau, it approaches hooks in a different manner, largely doing away with the notion of template do_actions.

Note: See TracTickets for help on using tickets.