We have moved to Github. Please open tickets there.

Opened 4 years ago

Closed 4 years ago

#1758 closed Defect (fixed)

inconsistencies in group menu - pages plugin

Reported by: vazco Owned by:
Priority: normal Milestone:
Component: Version:
Severity: Keywords:
Cc: brettp Difficulty:

Description

The group submenus are inconsistent when you enter the group->pages.

When you add this code to the line 43 of the file /
mod/pages/index.php, it works:

set context based on user to display submenus correctly

$newContext = 'search';
if ($owner instanceof ElggGroup)

$newContext = 'groups';

else if ($owner instanceof ElggUser)

$newContext = 'profile';

set_context($newContext);

Also, it seems leaving the context of the page on the one set is better than setting it to pages, since it seems not only pages use the context.

Change History (1)

comment:1 Changed 4 years ago by marcus

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.