[Resolved] BP Globals not setting up correctly in Custom Component
I am developing a custom BP component but have been unable to get the global variables right. I am developing over the skeleton component and following the groups component. It is really hard to explain everything, but I have zeroed in on following :
Unfortunately the component is unable to assign variables like : $bp->current_component, $bp->is_single_item
just like groups component I want to identify single group (single XXX) and all groups (all XXX) page. All XXX is working but when I click on single item it shows up in the all XXX template which is XXX -> index.php
Can anyone shed some light here, what I may be doing incorrectly here…
You must be logged in to reply to this topic.