Alerta: Você não está usando um navegador seguro! Aconselhamos o uso do navegador Firefox, clique aqui e entenda o porque.

Joomla Sul

Home arrow Componentes arrow Configuration and Language Editor
  • Baixa resolução - 800x600
  • Wide screen 1024x768
  • -A
  • A
  • +A
Configuration and Language Editor PDF Imprimir E-mail
There are no translations available

Configuration Editor is a Joomla Backend component developed to edit other components configuration and language files. It's class can also be used in any other component.
It can help in the process of translating a component, as long as the file is in the required format
It saves in the database the last edited date and user

Minimum requirements
  • The files (configuration or language) have to be on the following format:

    $var_name = "var_value"; //comment
    ?>
    Note that there is a TAB before each $var_name
  • Configuration and language have to be done using variables NOT constants, in other words, you should not use the DEFINE function.

Using the configuration.class.php in other components

Once you have the Configuration Editor component installed, you can you its class in your own components. This class builds an array with all configuration or language variables.

Minimum requirements
  • The files (configuration or language) have to be on the following format:

    $var_name = "var_value"; //comment
    ?>
    Note that there is a TAB before each $var_name
  • Configuration and language have to be done using variables NOT constants, in other words, you should not use the DEFINE function.

Using the configuration.class.php in other components

Once you have the Configuration Editor component installed, you can you its class in your own components. This class builds an array with all configuration or language variables.

require_once($mosConfig_absolute_path.
"/administrator/components/com_configeditor/configurationfile.class.php");
$filepath = "/administrator/components/com_your_component_name/config.php"
//Creates a new ConfigurationFile Object and builds an array //with all variable names, values and comments
$jconfig = new ConfigurationFile($mosConfig_absolute_path.$filepath);
$CONFIG = array();
//$CONFIG will recieve the variable list (will not be using the comments here anyway)
$CONFIG = $jconfig->varlist;
//using the configuration variables
echo $CONFIG['var_name'];

To use this component in order to edit the configuration or language file you have to submit the file relative path as the following example:

<form action="index2.php?option=com_configeditor&task=edit" method="post" name="adminForm">
<input name="file" type="text" value=" echo $filepath;?>" />
<input name="submit" type="submit" value="Edit Configuration file" />
form
>

 

Where to get it:

Download it here

Review it!

Don't forget to write a review and/or vote for this extension!

 
EnglishPortuguês

Módulo AJAX

Menu Principal Efetue o Login Quem está online...

PayPal Donation

Enter Amount: