By Josh Lewis on Sunday, 30 April 2017
Posted in General Issues
Replies 3
Likes 0
Views 278
Votes 0
I was wondering if it's possible to pass data to filter the stream to show specific content. A URL example could be:

https://site/stream?app=photos&hashtag=photoContest2017&friendsOnly=true

If there is no way to pass data through URL parameters, is it possible to append an SQL query to the WHERE clause? Basically I'm wanting to use jQuery to generate HTML elements that have event handlers to do various events.
There is currently already some of the possible filterings that could be performed with the query string. Example:

Standard type=xxx
type=xxx - This determines the type of the filtering. Example values: me, everyone, following, bookmarks, sticky, hashtag

When type is hashtag,

tag=xxx - This determines the hashtag to render
·
Sunday, 30 April 2017 16:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the examples. Attempted it with no success: https://dev.peakfun.com/stream?type=hashtag
I couldn't find anything on this in developer docs. Perhaps there is a PHP file that I could look through to decipher the names and values to properly construct the query string?
·
Sunday, 30 April 2017 17:41
·
0 Likes
·
0 Votes
·
0 Comments
·
It should be stream?type=hashtag&tag=hello . Yep, you could take a look at the file /components/com_easyblog/view/dashboard/view.html.php
·
Sunday, 30 April 2017 17:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post