8th Meeting Joomla GSoC 2016 Improving the menu item workflow
By Private Profile 3ed3e09d on 2016-07-20 00:00 in GSoC 16 Improving the menu item workflow
Date: 20th July 2016 on Glip Chat
Time: 14:30 (UTC / GMT)
Meeting was attended by: Shubham Rajput, Gunjan Patel, Peter Martin
-
Presentation and Review on work done previous week
This following week my target was to remove all the previous issues associated with the PR: https://github.com/joomla-projects/gsoc16_menu-for-article/pull/6
So I coded and removed all the issues except one that required knowledge of AJAX and JSON. This issue will be handled at later stage as advised by Gunjan.
The next task was to start developing the plugin which make the project functionality more generic. I was going to start developing my first main plugin therefore I went through all the sources to understand the workflow of Plugin in Joomla. I went these 2 links:
-
https://github.com/joomla/joomla-cms/blob/staging/plugins/user/profile/profile.php#L61
-
https://github.com/joomla/joomla-cms/blob/staging/plugins/user/profile/profile.php#L227
I understood how onContentPrepareForm function helps in adding new fields in the core_component.
Other links I referred to understand the development of plugin are
-
https://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin
-
https://docs.joomla.org/Plugin
After getting my doubt regarding how to start developing a plugin, I dived in the coding and opened a new pull request: https://github.com/joomla-projects/gsoc16_menu-for-article/pull/15
I set a goal that after enabling the plugin fields will be created in the article edit view. I code language file,xml file and php file that are necessary to add the new fields in the form. For this also went through the user/profile plugin. Once the fields will be added in the form I will start coding on adding the functionality of saving those fields in the database.
-
Timeline & Tasks
To work on current Plugin and make the functionality of saving the fields data in the menu table.
-
Problems Faced
In the PR:https://github.com/joomla-projects/gsoc16_menu-for-article/pull/15
After making the xml file for the creation of field in the menu tab, the filelds were not appearing. I asked Peter regarding the advice on the problem. He reviewed the code and advised to include tag
-
Resources to read
https://github.com/joomla/joomla-cms/blob/staging/plugins/user/profile/profile.php#L227
https://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin
https://docs.joomla.org/Plugin
-
Next meeting Date & Timing
Date: 26th July 2016 on Glip Chat
Time: 5:30 (UTC / GMT)