By Nicolas DEZORTHES on Tuesday, 23 May 2017
Posted in General Issues
Likes 0
Views 620
Votes 0
Hi!

I am sorry by advance if i post several questions in the same post, it seems that you don't really like it (i read a lot of posts in this forum before asking this), but they are closely related.

First, i know that what i want to achieve is not available in this extension as it is. It means that i don't really ask you for all-made solutions, but the extension is complex and i need clues to what could be done and locating the modules or files for that. I have enough knowledge for the customizations (or so i hope!).

So, the forum works great, but for the current project it lacks some features that will be mandatory. Mostly advanced filtering tools.

We'll have to be able to filter the post list with more than just status. Precisely, doing cross-filtering with tags/post-types/categories/status/priorities with possibility to select more than one. I can provide the UI elements for that, but what would you recommend to be easier to do?
_use the search query modified to trigger new pages for each selection set?
_customize modules / create a plugin to change the way the content is retreived
_add changes to the REST Api (knowing that it is not really in my knowledge)

Additionally, for the search queries, i see that there is already filters for multiple categories and tags, but they show up only after a first search. Is there a way to display them from the start?

I would be really glad for any help on this!
Thanks
I assume you trying to view one of the discussion listing page, it will automatically filter by what you set right?

If yes, I would like suggest you to add new SQL query from the getDiscussions() method for perform this filter on the discussion listing page. And those new filter option you can add into "Easydiscuss - frontend layout" menu item setting. (you can refer on my attached screenshot below)

You can take a look how we filter on this from the code.
JoomlaFolder/components/com_easydiscuss/views/index/view.html.php
JoomlaFolder/administrator/components/com_easydiscuss/models/posts.php (getDiscussions() method)
JoomlaFolder/components/com_easydiscuss/views/index/tmpl/default.xml (add new filter option here, so it will populate in the discussion frontpage layou menu item)


Hope this will help.
·
Tuesday, 23 May 2017 12:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the reply, that's a good starting point, i can use this to setup a workaroud if i don't manage to do what i want. It will be useful anyway

Actually these filtering tools would be dynamic, it is not really about creating pages with filter presets, but rather about filtering (probably even ordering) a list already displayed, just like it is made with 'All', 'Unresolved', 'Resolved', etc, that appear on top of lists in the main content. Ajax is not really mandatory (but still better if i can avoid a reload).

To give you an idea of the project, this is for a support website. There will be plenty of categories and subcategories, many types and status, etc. The goal is to make it easy for users and moderators to find what they want or need to solve. The search tool will reflect this too.

thanks for the help!
·
Tuesday, 23 May 2017 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi again, i would have another question about something that i don't find, for the customization. I thought maybe if i don't find it, it is on purpose (or i am dumb, have searched for more than one hour), maybe for security reasons. But i don't know how to post a private message.. is there a way for me to ask?
·
Tuesday, 23 May 2017 21:53
·
0 Likes
·
0 Votes
·
0 Comments
·
I think i got what your meaning now, is it you mean you would like to put those filter option at the discussion listing page? For example : http://take.ms/XKLmZ

If yes, you can add some filter from this following theme file and insert your SQL query into post model file.
JoomlaFolder/components/com_easydiscuss/themes/wireframe/frontpage/filters.php (display those filter on the listing page)
JoomlaFolder/components/com_easydiscuss/views/index/view.ajax.php (ajax call for filter those different status -> it will call filter() method)
JoomlaFolder/administrator/components/com_easydiscuss/models/posts.php (it will call this getDiscussions() method)



Hi again, i would have another question about something that i don't find, for the customization. I thought maybe if i don't find it, it is on purpose (or i am dumb, have searched for more than one hour), maybe for security reasons. But i don't know how to post a private message.. is there a way for me to ask?

You can start a new thread on our forum and tick this option from the creation page, you can check my screenshot here : http://take.ms/Q1DJs Once you tick it, this thread will under private, so only you and our moderator can view your thread.

If you would like to request some customisation, you can send us a request at our helpdesk here https://crm.stackideas.com
·
Wednesday, 24 May 2017 11:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks again! i will accept this as an aswer in a matter of days.. just thinking that i could add a little reply when finished and all is working, if i have little advices for future readers.

Nice support by the way, quick and effective!
·
Wednesday, 24 May 2017 20:08
·
0 Likes
·
0 Votes
·
0 Comments
·
(also, no more needed for the private topic, I found what i was looking for, it just wasn't easy to find the good keyword for the 'search in folder', it all makes sense now ^^)
·
Wednesday, 24 May 2017 20:32
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome

Keep us update if you need any further assistance in the future.
·
Thursday, 25 May 2017 11:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Almost done! sorry for other users, as this was a bit complicated and i cannot explain all.. so no precisions!

Thanks again for support!
·
Thursday, 08 June 2017 23:09
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 08 June 2017 23:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post