Login +

Administration / SillySmart Settings

In the SillySmart Back Office, you can manage all the parameters of the Framework through the menu "Settings SillySmart".

Global Settings

The Global Settings correspond to the main application configuration stored in the site.xml.

All these information are recoverable by two ways:

  • $this->_generic->getSiteConfig("key") that you return the node value
  • $this->_generic->getSiteXml() returns the SLS_XMLToolBox1 instance on which you can run XPath queries through getTags() function.

You can add as many domains as you like by describing them by an alias. Then you can allow / deny actions of your choice on these domains.

You can also change the settings entered during installation: project name, extension, charset, language, timezone.

Finally, you can set session sharing multi-domain useful in the case of X subdomains running on the same SillySmart (or different architectures).

DB Settings

The DB Settings correspond to MySQL configurations of the application stored in the file db.xml (in encrypted form).

All these information are recoverable by two ways:

  • $this->_generic->getDbConfig("key") that you return the node value
  • $this->_generic->getDbXml() returns the SLS_XMLToolBox1 instance on which you can run XPath queries through getTags() function.

You can change the connection information (host, database, user, pass).

You can also add / delete as many connections as you want.

SMTP Settings

The SMTP Settings correspond to SMTP configurations of the application stored in the file mail.xml (in encrypted form).

All these information are recoverable by two ways:

  • $this->_generic->getMailConfig("key") that you return the node value
  • $this->_generic->getMailXml() returns the SLS_XMLToolBox1 instance on which you can run XPath queries through getTags() function.

You can change the connection information (host, port, user, pass) as well as those of mail headers(sender, reply, return)

By clicking on “manage email templates”, you can add as many as you want email templates :

The Personnal Settings correspond to specific configurations of the application stored in the file project.xml.

All these information are recoverable by two ways:

  • $this->_generic->getProjectConfig("key") that you return the node value
  • $this->_generic->getProjectXml() returns the SLS_XMLToolBox1 instance on which you can run XPath queries through getTags() function.

You can add as many nodes as you want.

JavaScript Settings

These configurations are used to manage the automatic loading of JavaScript resources.

The first allows to automatically include the JavaScript files located in folder/Public/Scripts/Javascript/Statics/

The second allows to automatically include the JavaScript files located in folder/Public/Scripts/Javascript/Dyn/

The third form allows a JavaScript object named slsBuild that contains all the application configurations (domain, paths, etc.)

The fourth allows to add translations to this object whose key "JS" was entered in the language variables.

The latter allows to automatically display the following toolbar for the IE6 users :

Related :

References

  1. SLS_XMLToolBox - Tool SLS_XMLToolbox - XML Treatment