Why does joomla use templatedetails.xml files




















The language files are also defined in the templateDetails. All Folders related to the template installation are listed here. All files and folders located in the root of the template directory during installation need to be listed here.

Any files contained inside a folder that is listed are automatically included. Each folder contains full path information starting at the template root. The Administrator's Installer uses this information when storing the files during installation. Below is the file and folder structure from the default Protostar template. This is a fairly standard file structure for a basic Joomla! The available Module Positions that can be used in the template are defined in this area.

The simple format of the position list means it can be easily customized. Keep in mind, this only adds the position to the backend and additional development in other template files is required to render the new position on the front end. Some templates may include language files to allow translation of static text in the template. Notice that the language folder is defined and the two language files inside are also included.

Even though the language folder was defined earlier, these files need their own definitions. This method tells Joomla! The first file holds the language file for text that will be viewed by the User. The second file, with the. Language strings are used in templates and throughout Joomla! This method provides developers and users with a relatively simple method to translate any text that is used in templates and extension screens.

In this instance, there are only files for English en-GB , any text translations in other languages must be provided by Users or Developers before they can be used by Joomla!. A template may offer display options and other parameters that can be chosen by the Administrator in the Template Manager. For instance, the default Protostar template allows the Administrator to change various colors, fonts and add a logo, these parameters are found under the Advanced tab, which is also defined and created by the XML parameters.

This name defines the parameter itself and is used to pass settings to the front end files. Each parameter should also contain a label attribute and description attribute. The label text appears with the parameter in the settings screen to identify what the setting is used for and more detailed information can be included in the description.

A parameter field can be virtually any type of form input with corresponding options, this is selected by the type attribute. CSS class names can be defined with the class attribute and a default parameter setting can be defined using the default attribute.

Which Joomla file provides the central logic of the template including any module and component display? Which type of server technology is used by Joomla? Joomla b. Apache c. PHP d. What is the role of template metadata file in the System? It contains the basic authorship information. It contains the information about the files that make up the tomaplate. It contains the information about the parameters that will be available for configuration through the administrator interface.

Which of the following PHP directives are important to Joomla execution to define an alternate compression library if the standard library is not available? There are two root classes for Joomla Framework. JFactory and JVersion. Which option will you choose to set the site metadata for the installed website?

Global Configuration b. Module Manager Ans: a. Which is not True about MD5 hash value? It stands for Message-Digest algorithm 5.

The Length of number for MD5 is a bit hash code. Noneof the above Ans: d. Which Creational pattern is used by Joomla Classes particularly for database access?

Abstract Factory Pattern b. Singleton Pattern c. Builder Pattern d. All of the above Ans: a. None of the above Ans: b. Which of the following is a System Event? OnDisplay b. OnSave c. OnGetInsertMethod d. OnAfterInitialise Ans: d. Which type of files can Media Manager not upload? None of the above Ans: d. Which option will you select to find the unpublished Articles? Component Manager b. Media Manager c. Article Manager d. None of the above Ans: c.

Application Programming Interaction B. Application Programming Interface C. Application Programming Interchange D. None of the above Ans: B. Oracle B. MySQL C. Sybase D. Administrator B. Admin C.



0コメント

  • 1000 / 1000