-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Core Enhancement 1 - Place Module in Menu #1
base: dev
Are you sure you want to change the base?
Core Enhancement 1 - Place Module in Menu #1
Conversation
I apologize for the review requests. It happened unintentionally. Sorry to disturb all of you. |
Not your fault, happens automatically as it's in the settings. |
The latest commit fixes Issue #6 but it's not perfect, there is still an extra toolbar at the top (For Frontend only, Backend is fine). |
The recent set of commits fix #5 |
administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-06-27.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/4.1.0-2021-06-27.sql
Outdated
Show resolved
Hide resolved
…1-06-27.sql Co-authored-by: Richard Fath <[email protected]>
…0-2021-06-27.sql Co-authored-by: Richard Fath <[email protected]>
This really must be generic so that it will work with all templates and not require any changes to the template itself |
Agreed.
Everything else is general and should work smoothly for all templates. |
That still makes this core feature dependent on the template :( |
I thought about the template file dependency a lot but I still cannot think of any other way to do it that would be correct. The changes in this file is more like an improvement. If any 3PD does not do the changes then this feature will still work, the only difference will be that it will only show the active positions that have a module count >= 1 It's not perfect but I hope this is fine :( |
The purpose of this PR is to track all the file changes and commits made. Mentors can review the changes and provide feedback.
I will update the description as and when I push more commits.
Plan Document: https://docs.google.com/document/d/1Pl8JGa2hkYkmJzQOn9_mS8a4imDmqc2a/edit#heading=h.gewhdn9rqyeh
Testing Instructions
npm ci
because this PR involves re-building of assetsPull Request for
Todo
Result After PR
Overall Flow (Latest)
https://drive.google.com/file/d/1xaiEEZfUkE_6p7jCZLss9udkjJiJKJnS/view?usp=sharing
Frontend Flow
Frontend.Placements.mp4
Backend Flow
Summary of Changes
<main>
in Frontend when the above switcher is saved as 1 or True?pm=1
in Frontend (Herepm
stands for Place(ing) Module)Add Module Here
button for every position9. Check for Permissions before displaying Place Modules Buttons for displaying the Add Modules Button and accessing the `?pm=1` view
Rephrased Add Module Here button to Place Module Here to avoid confusion and generalize it for the Backend Preview Modal that we plan to implement.
Removed the HTML tags from language constants
Potential Issues
https://docs.joomla.org/Menu_and_Menuitems_API_Guide#Active_Menuitem