Started adding grapesJS to assistant area for the site view builder.

This commit is contained in:
2020-02-12 16:27:32 +02:00
parent 4664d89d0e
commit a6cdafb31f
17 changed files with 82 additions and 17 deletions

View File

@ -1811,7 +1811,7 @@ class Structure extends Get
// check files exist
if (JFile::exists($this->componentPath . '/admin/models/fields/' . $field['type_name'] . '.php'))
{
// move the custom field
// copy the custom field
JFile::copy($this->componentPath . '/admin/models/fields/' . $field['type_name'] . '.php', $path . '/fields/' . $field['type_name'] . '.php');
}
// do this just once
@ -1823,7 +1823,7 @@ class Structure extends Get
// check files exist
if (JFile::exists($this->componentPath . '/admin/models/rules/' . $this->validationLinkedFields[$field['field']] . '.php'))
{
// move the custom field
// copy the custom field
JFile::copy($this->componentPath . '/admin/models/rules/' . $this->validationLinkedFields[$field['field']] . '.php', $path . '/rules/' . $this->validationLinkedFields[$field['field']] . '.php');
}
// do this just once