Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: another problem when it's a single item


Burt Adsit
Participant

@burtadsit

Are you in the member profile, or just trying to trap url signatures in the root? Is the url something like mysite.org/classifieds/otherstuff or mysite.org/members/me/classifieds? What the nav code sees and gets as $bp vars can be completely different than what is seen in the member profile area, the group area or just the root.

This is a confusing area of bp so it helps to know where you are working.

It looks like $bp->is_single gets detected after the trap for ‘is the user in their own profile or somebody elses profile’. Those two cases cover all cases so $bp->is_single doesn’t even get considered. If I read your skeleton code right.

Skip to toolbar