Added notice of language (tanslations) added or not added with details to compiler
Resolved gh-146 compiler error on joined db in dinamic get thanks to @mwweb & @ro-ot Resolved gh-147 by adding the sort of fields back into the save method Resolved gh-144 to ensure that the published tab (fields overwriting and adding) option is available again. Resolved gh-145 by moving the subforms to their own tab in dynamic get view Converted all repeatable fields to subform fields in Joomla component view Moved 9 subforms and other fields to their own table and view (decopuling them fom Joomla component view), that means we added 9 more views and tables to JCB Added all the ajax for buttons and display views to Joomla component view Added tmp scripts all across the new areas with subforms to ensure all repeatable fields are converted. Will be removed in v2.7.0 Added synced copy, change state and delete in Joomla components view in relation to all tables linked to it (same as with admin views)
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 63 of this MVC
|
||||
@build 20th October, 2017
|
||||
@build 25th October, 2017
|
||||
@created 29th May, 2015
|
||||
@package Component Builder
|
||||
@subpackage site_view.php
|
||||
@ -230,7 +230,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
|
||||
$item->tags->getTagIds($item->id, 'com_componentbuilder.site_view');
|
||||
}
|
||||
}
|
||||
$this->addsite_viewsvvwb = $item->id;
|
||||
$this->addsite_viewsvvvy = $item->id;
|
||||
|
||||
return $item;
|
||||
}
|
||||
@ -240,7 +240,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVyulinked_components()
|
||||
public function getVyqlinked_components()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -297,15 +297,15 @@ class ComponentbuilderModelSite_view extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// Filter by addsite_viewsvvwb in this Repetable Field
|
||||
if (ComponentbuilderHelper::checkArray($items) && isset($this->addsite_viewsvvwb))
|
||||
// Filter by addsite_viewsvvvy in this Repetable Field
|
||||
if (ComponentbuilderHelper::checkArray($items) && isset($this->addsite_viewsvvvy))
|
||||
{
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
if (isset($item->addsite_views) && ComponentbuilderHelper::checkJson($item->addsite_views))
|
||||
{
|
||||
$tmpArray = json_decode($item->addsite_views,true);
|
||||
if (!isset($tmpArray['siteview']) || !ComponentbuilderHelper::checkArray($tmpArray['siteview']) || !in_array($this->addsite_viewsvvwb, $tmpArray['siteview']))
|
||||
if (!isset($tmpArray['siteview']) || !ComponentbuilderHelper::checkArray($tmpArray['siteview']) || !in_array($this->addsite_viewsvvvy, $tmpArray['siteview']))
|
||||
{
|
||||
unset($items[$nr]);
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user