By Shubham on 2016-08-12 16:24 in GSoC 16 Improving the menu item workflow

Date: 12 Aug 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

I was working on the two issues from last week:

  1. Parameter field to add component.view (Getting the component+view option using text-box in parameter tab of plugin)

  2. Make parent menu item field dependent on chosen menu (Getting parent id using ajax and jquery)

I solved issue 1 by adding a Parameter field for “component.view”. Issue 2 is still unsolved.

 

  • Timeline & Tasks

1. To solve the 2nd issue i.e Make parent menu item field dependent on chosen menu (Getting parent id using ajax and jquery)

2. Get the view name correctly inside onContentAfterSave() fucntion.

3. To remove the bug associated with seperating the component name and view using explode fucntion.

 

  • Problems Faced

I have encountered 2 new issues
1. I am using textbox to get component+view option. Here goes the code
$checkView = explode("\n", $this->params->get('allowedContexts'));

allowedContexts returns the textbox value(suppose com_content.article & com_contact.contact) and explode function save the array in $checkView

But what I found it that
$checkView = explode("\n", $this->params->get('allowedContexts'));
$re = array("com_content.article", "com_contact.contact");

That both $checkView and $re should conatin same content but using array_diff($checkView,$re) it returns com_content.article

Will work on to solve this issue.

 

  • Next meeting Date & Timing

Date: 16th August 2016 on Glip Chat

Time: 14:30 (UTC / GMT)