-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[com_content] articles view (modal) - Implement searchtools #9195
[com_content] articles view (modal) - Implement searchtools #9195
Conversation
@andrepereiradasilva Thanks for the patch. Joomla! Version: Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
I have tested this item ✅ successfully on b81e103 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
I have tested this item 🔴 unsuccessfully on b81e103 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
@infograf768 could you describe the steps you made to test so i can try to resolve the uissue you're referring? |
ok, i see will check that later. thanks That i know of, correct me if i'm wrong, this view is used in:
|
Yep. |
This will allow to add language="*,en-GB" for instance to the forms field of category type.
This PR has received new commits. CC: @infograf768, @RonakParmar This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
this will remove some search tools filters and change others for the modal view.
This PR has received new commits. CC: @infograf768, @RonakParmar This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
This PR has received new commits. CC: @infograf768, @RonakParmar This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
@infograf768 made some changes that i think resolves the issue you described. The idea would be we could use this PR to replicate, in other words, with the necessary adaptations, implement searchtools on other modal views. So IMHO this should be tested with time and with all possible scenarios (functionality in all views where it's used, B/C, security, etc). |
This PR has received new commits. CC: @infograf768, @RonakParmar This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
This works great. Comments: Is it also possible to reset the category field (i.e. in fact Clear) when Selecting an article for another language? Otherwise one has to clear each time when choosing an association for a different language. Note: I had tested here another solution where searchtools filters were customised. But I had to specifically introduce the variable in filters.php |
ok, will show them.
ok. i see. if we use "+article" modal and them the language associations modal it populates the filter with previous selected filter. i think each forced language needs a exclusive state context.
Yes, i also see some changes that searchtools could be simplified (ex: not adding layout overrides just because of the client selector) and also add some more flexibility, but that if for a future PR IMHO. |
This PR has received new commits. CC: @infograf768, @RonakParmar This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
This PR has received new commits. CC: @infograf768, @RonakParmar This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
@infograf768 can you check now? BTW one thing i noticed: in the frontend edit, the status icons don't have colors. "+Article" editor button in Frontend"+Article" editor button in BackendUpdate:
i can update the protostar less, but will it have any influence in other things? Can it be changed safely? |
This now works fine for me. |
ok sure. |
I have tested this item ✅ successfully on 936494c remains to do Contacts and Newsfeeds (It looks like this last one has issues with forcedlanguage) This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
com_contact: #9198 and there are other modal layout lists that i think should follow the same logic: users and modules A list of list views modal.php files:
|
As this series of patches contain the same change to the category field type, I suggest, before going further to get a milestone from maintainers. |
This works fine. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
I have tested this item ✅ successfully on 936494c This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9195. |
Summary of Changes
This PR adds JLayout searchtools to com_content articles modal view.
Also adds the status column, moves the category to below the article title and makes some minor visual changes to be more synchronized with the non modal view.
Before PR
After PR
Testing Instructions
That i know of, correct me if i'm wrong, this view is used in:
All this views should be tested.
Observations
That i know of, this is the first searchtools implemented on a modal view, so suggestions and improvements are welcomed.