Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: another problem when it's a single item


grosbouff
Participant

@grosbouff

So what I would success to have is to detect if

-we are on a profile page

–logged-in user profile

–or other

-we are on a single classified page (which should be shown inside its author profile)

-we are in the directory (lists the classifieds in the root)

complete code here for the nav : http://pastie.org/545457

I adapted the code from the skeleton example & from the bp-groups plugin.

What is also confusing for me is that there is a code for a single classified starting on line 4 ; but there is also code for the single classified starting at line 52.

Maybe is there a way to simplify this.

Thanks a lot for your help ! I appreciate..

PS : template for directory does not load either (line 92 with statement starting at line 84)

Skip to toolbar