Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to add new location of the pockets before articles content list ?

steamsteam - #1 foro planes amigo

I'm using the articles plugin and need to create pocket before articles content, like I did it on discussion, categories and activity.

On articles list -

Any idea what I have to add or change ?
Because display for all locations it's not good idea (It display on user login too)

Thanks for any help.


  • steamsteam - #1 foro planes amigo

    I solved it. The solution is very simple. You need modify the array on line 258

    $Sender->SetData('Pages', array('' => '('.T('All').')', 'activity' => 'activity', 'comments' => 'comments', 'dashboard' => 'dashboard', 'discussions' => 'discussions', 'inbox' => 'inbox', 'profile' => 'profile', 'articles' => 'articles', 'article' => 'article'));

    And you can have article pages with pocket.
    I hope this will help someone.


  • If you are goign to modify the plugin I suggest doing a pull request on the repo

    But do it in a way that is versatile such a custom input

    grep is your friend.

  • steamsteam - #1 foro planes amigo

    @x00 said:
    But do it in a way that is versatile such a custom input

    I don't understand what does you mean and how ?

    I can submit changes.

Sign In or Register to comment.