Added Wiki to JCB. Resolved gh-125 to insure phone numbers are treated as strings. Resolved gh-128 by adding field to Joomla Component View that allows javascript to be added globaly. Converted a few more repeatable fields to subform fields, this is an ongoing project to remove repeatable fields from JCB.

This commit is contained in:
2017-10-06 16:53:22 +02:00
parent 5bb5e3e909
commit f2f78411e2
392 changed files with 7069 additions and 6609 deletions

View File

@@ -310,7 +310,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
public function getVxyfields()
public function getVxzfields()
{
// Get the user object.
$user = JFactory::getUser();
@@ -379,13 +379,13 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
$item->datatype = $this->selectionTranslationVxyfields($item->datatype, 'datatype');
$item->datatype = $this->selectionTranslationVxzfields($item->datatype, 'datatype');
// convert indexes
$item->indexes = $this->selectionTranslationVxyfields($item->indexes, 'indexes');
$item->indexes = $this->selectionTranslationVxzfields($item->indexes, 'indexes');
// convert null_switch
$item->null_switch = $this->selectionTranslationVxyfields($item->null_switch, 'null_switch');
$item->null_switch = $this->selectionTranslationVxzfields($item->null_switch, 'null_switch');
// convert store
$item->store = $this->selectionTranslationVxyfields($item->store, 'store');
$item->store = $this->selectionTranslationVxzfields($item->store, 'store');
}
}
@@ -425,7 +425,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
*
* @return translatable string
*/
public function selectionTranslationVxyfields($value,$name)
public function selectionTranslationVxzfields($value,$name)
{
// Array of datatype language strings
if ($name === 'datatype')
@@ -503,7 +503,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
public function getVxzlinked_components()
public function getVyalinked_components()
{
// Get the user object.
$user = JFactory::getUser();