It's all about standard plugins- blog and groups.
Inside tabs "Mine" or "Friends" sidebar shows properly, as should.
But inside tabs "All" or "Featured" (in blogs) sidebar do not show "owner_block".
I have tried to disable all plugins (but blog or groups), didn't help, the problem exists.
In "/www/elgg/mod/theme/views/default/page/elements/sidebar.php" is standard record: echo elgg_view('page/elements/owner_block', $vars); I have copied that file from the "vendor" directory without changes.
Half-year ago it works properly. Maybe DB broke somewhen?
Can someone help to fix that? Need "owner_block" inside every tab. Or say where to dig it.
Thanks.
p.s. Elgg version is 2.3.11
p.p.s Tabs "invitations", "owner", "member" works properly. The problem is with the "all" and "featured" tabs only.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 1 like
- Dmitry@roix
Dmitry - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Dmitry@roix
Dmitry - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Dmitry@roix
Dmitry - 0 likes
- Dmitry@roix
Dmitry - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Dmitry@roix
Dmitry - 0 likes
You must log in to post replies.Just look at views\default\page\elements\owner_block.php - what you see there?
By default, you can not display the owner's information on the pages which hasn't 'owner' (tabs 'All', 'Features' in your case).
But you can extend this view on sidebar, or override the sidebar view.
Read this discussion also, or use 'Search' on Community.
Hi RvR.
There is no views\default\page\elements\owner_block.php :) So used default one.
Thanks for the info, will research it.
What about this?
Yes, this is default owner_block.php from "vendor" directory. I mean there is no owner_block.php in my theme.
I've understood your question correctly and my first reply is a solution for this case.
Yes, thank you again.
Problem was solved pretty easy.
In owner_block.php I just replaced the string
On:
And now logged in users can see their navigation menu at sidebar on every tabs.
This can cause problems on the Groups' pages because you will not be able to show content created in Groups.
RvR, it works good, as expected. Tested at any category.
Because array(elgg_get_logged_in_user_entity()) include array(elgg_get_page_owner_entity());
You are programmer, not me :)