diff --git a/admin/compiler/joomla_3/JControllerLegacyHelp.php b/admin/compiler/joomla_3/JControllerLegacyHelp.php index f1c1932f9..e529e76ea 100644 --- a/admin/compiler/joomla_3/JControllerLegacyHelp.php +++ b/admin/compiler/joomla_3/JControllerLegacyHelp.php @@ -117,10 +117,10 @@ class ###Component###ControllerHelp extends JControllerLegacy $text[] = '
'; $text[] = '
'; // build the help text - $text[] = '

'.$document->title."

"; + $text[] = '

'.$document->title."

"; $text[] = str_replace(array_keys($images),array_values($images),$document->content); // end template - $text[] = '
'; + $text[] = '


'; $text[] = ''; $text[] = ""; $text[] = ""; diff --git a/admin/compiler/joomla_3/JControllerLegacyHelp_site.php b/admin/compiler/joomla_3/JControllerLegacyHelp_site.php index 6c709416a..c3fa7208b 100644 --- a/admin/compiler/joomla_3/JControllerLegacyHelp_site.php +++ b/admin/compiler/joomla_3/JControllerLegacyHelp_site.php @@ -118,10 +118,10 @@ class ###Component###ControllerHelp extends JControllerLegacy $text[] = '
'; $text[] = '
'; // build the help text - $text[] = '

'.$document->title."

"; + $text[] = '

'.$document->title."

"; $text[] = str_replace(array_keys($images),array_values($images),$document->content); // end template - $text[] = '
'; + $text[] = '


'; $text[] = ''; $text[] = ""; $text[] = ""; diff --git a/admin/controllers/help.php b/admin/controllers/help.php index dfb663688..fa62f1e3f 100644 --- a/admin/controllers/help.php +++ b/admin/controllers/help.php @@ -115,10 +115,10 @@ class ComponentbuilderControllerHelp extends JControllerLegacy $text[] = '
'; $text[] = '
'; // build the help text - $text[] = '

'.$document->title."

"; + $text[] = '

'.$document->title."

"; $text[] = str_replace(array_keys($images),array_values($images),$document->content); // end template - $text[] = '
'; + $text[] = '


'; $text[] = ''; $text[] = ""; $text[] = ""; diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php index a6c7979e3..e09b1a31c 100644 --- a/admin/helpers/compiler/e_Interpretation.php +++ b/admin/helpers/compiler/e_Interpretation.php @@ -3624,6 +3624,9 @@ class Interpretation extends Fields { // reset script $script = $this->setComponentToContentTypes('install'); + + // set the component name + $component = $this->fileContentStatic['###component###']; if (isset($this->paramsBuilder) && ComponentbuilderHelper::checkString($this->paramsBuilder)) { diff --git a/script.php b/script.php index 3d1d20543..7c7c4ef01 100644 --- a/script.php +++ b/script.php @@ -1417,14 +1417,14 @@ class com_componentbuilderInstallerScript // Condition. $conditions = array( - $db->quoteName('element') . ' = ' . $db->quote('com_') + $db->quoteName('element') . ' = ' . $db->quote('com_componentbuilder') ); $query->update($db->quoteName('#__extensions'))->set($fields)->where($conditions); $db->setQuery($query); $allDone = $db->execute(); echo ' - + '; } // do any updates needed diff --git a/site/controllers/help.php b/site/controllers/help.php index 8d193322f..4d8d65a22 100644 --- a/site/controllers/help.php +++ b/site/controllers/help.php @@ -116,10 +116,10 @@ class ComponentbuilderControllerHelp extends JControllerLegacy $text[] = '
'; $text[] = '
'; // build the help text - $text[] = '

'.$document->title."

"; + $text[] = '

'.$document->title."

"; $text[] = str_replace(array_keys($images),array_values($images),$document->content); // end template - $text[] = '
'; + $text[] = '


'; $text[] = ''; $text[] = ""; $text[] = "";