We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to put newsfeed on header | Forum

Shay Matityahu
Shay Matityahu Jun 30 '15

Hi


I would like to put the newsfeed on header bar


Thanks

Taissa Team
Taissa Jun 30 '15
Topic was moved from General Questions.
Alia Team
Alia Jul 1 '15
Shay Matityahu,

Could you please provide screen shot of the area where you would like to add newsfeed component?
Shay Matityahu
Shay Matityahu Jul 1 '15

Hi Aliia,


I would like to put the newsfeed on header bar beside the messages button,

Also I would like it as button



Thanks


Shay



The Forum post is edited by Shay Matityahu Jul 2 '15
Shay Matityahu
Shay Matityahu Jul 2 '15

Hi Again


Can you please tell me which file do I need to edit?


Thank


Shay

Alia Team
Alia Jul 3 '15
Shay Matityahu,

Newsfeed plugin comes with a component ( widget) that can be placed only within component panel. And component panel is the area where any widget can be placed at ( index page/user profile/user dashboard).

Area next to "messages" is called site panel it is not part of the component panel. Thus it doesn't have needed php functionality behind to handle components such as newsfeed widget.

I am afraid that placing newsfeed into this area will require  complex custom code modifications and it is generally not advised to put it there. Having a huge newsfeed block in this area will move rest of the site's content down and this won't look good.

Shay Matityahu
Shay Matityahu Jul 6 '15

Hi Aliia,


I have a test environment to check this, but I could not find the "site panel" file.
Can you please tell me the exact file name for edit?


Thanks in advance


Shay


The Forum post is edited by Shay Matityahu Jul 7 '15
Shay Matityahu
Shay Matityahu Jul 8 '15

Hi Aliia,


Any news? It's very important please help


Thanks


Shay

Kieron H Leader
Kieron H Jul 8 '15
hi 


if im not mistaken you are just wanting a link to the newsfeed page on the top bar not the newsfeed widget itslef 

Shay Matityahu
Shay Matityahu Jul 8 '15

Yes, just a link (a button will be better :) )


Thanks

Kieron H Leader
Kieron H Jul 8 '15
hi,


take a look at this https://skatips.wordpress.com/...dd-new-console-item/ is that what you want?

The Forum post is edited by Kieron H Jul 8 '15
Shay Matityahu
Shay Matityahu Jul 9 '15

Hi Kieron,

Thanks for your reply


I do not such a developer
Is it possible to simply add somewhere simple code of the following type:



<a href=http://www.domain.com/index class="button">News </a> 


Thanks


Shay




The Forum post is edited by Shay Matityahu Jul 9 '15
Kieron H Leader
Kieron H Jul 9 '15
i dont think so (im not a dev either) 
Shay Matityahu
Shay Matityahu Jul 13 '15

Hi Kieron,


I changed the DropdownMenu (BASE_CMP_ConsoleDropdownMenu) to button (BASE_CMP_ConsoleButton) and added conditions (If a user isAuthenticated) and it works Just as I wanted.


Thanks a lot


Shay





The Forum post is edited by Shay Matityahu Jul 13 '15
Kieron H Leader
Kieron H Jul 13 '15
good to hear :)