Article_Repository_Management_System
Article_Repository_Management_System copied to clipboard
Implement admin dashboard to showcase monthly articles
Implement a feature to display all articles published in a month on the Admin Dashboard.
- Add a new function
getMonthlyPublishedPostsinaccount/welcome/function.phpto fetch all articles published in a given month. - Modify
account/welcome/index.phpto include a new section in the Admin Dashboard that displays all articles published in the current month. - Add a dropdown for selecting the month and year in the Admin Dashboard.
- Use the
getMonthlyPublishedPostsfunction to fetch and display the articles. - Ensure the new section is only visible to users with the "Admin" role.
For more details, open the Copilot Workspace session.