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.
Options
How to add new location of the pockets before articles content list ?
steam
www.planamigo.org - #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 - http://www.planamigo.org/articles
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.
Tagged:
0
Comments
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.
Greetings.
If you are goign to modify the plugin I suggest doing a pull request on the repo
https://github.com/vanilla/addons
But do it in a way that is versatile such a custom input
grep is your friend.
I don't understand what does you mean and how ?
I can submit changes.