J3.x

Cómo usar el Gestor de Plantillas

From Joomla! Documentation

Revision as of 14:22, 30 October 2014 by Isidrobaq (talk | contribs) (Created page with "*Haga clic en el botón "Gestionar carpetas" y podrá crear nuevas carpetas dentro de su plantilla.")
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎русский

Desde el elemento de menú Gestor de Plantillas: Personalizar Plantilla introducido en Joomla 3.2, usted puede editar archivos, crear archivos y carpetas e incluso crear modificaciones (overrides) directamente desde la zona de administración. Las modificaciones creadas en esta pantalla de edición son Modificaciones de plantilla (template overrides), que no deben ser confundidas con las de diseño (layout overrides).

Las modificaciones de plantilla modifican las 'vistas de diseño' del core de Componentes, Módulos y archivos de /layout/joomla/.

Layout overrides create new layout views for Components and Modules. And can be selected (in Admin menus and options) as alternative layout views instead of the core Component and Module layout views. For Layout Overrides please see Layout_Overrides_in_Joomla


<translate> To edit or copy a template's files with the Template Manager: Customise Template you must first access the Template manager.</translate>

<translate>

Access the Template Manager

</translate> {{:J3.x:To access the Template Manager/<translate> en</translate>}}

<translate>

Access the Template Manager Customisation Feature

</translate> {{:J3.x:Access_Template_Manager_Customisation/<translate> en</translate>}}


Personalizar una Plantilla

Haga clic en cualquier archivo y podrá editarlo directamente en el navegador.

File:3x-template-manager-customise-template-file-edit-es.png

Cómo usar la barra de herramientas del Gestor de Plantillas

Cuando esté dentro del Gestor de Plantillas, verá una barra de herramientas como la siguiente:

File:3x-template-manager-customise-template-toolbar-es.png

  • Click the "Copy Template" button and you'll be able to make a complete copy of your existing template.

Creating a copy like this could be very useful for testing purposes. It used to be much more difficult.

File:3x-template-manager-customise-template-popup-copy-es.png

  • Click the "Template Preview" button and you'll immediately see a frontend preview of your template with the module positions marked:

File:3x-preview-template-template-manager-es.png

  • Haga clic en el botón "Gestionar carpetas" y podrá crear nuevas carpetas dentro de su plantilla.

File:3x-template-manager-customise-template-manage-folders-es.png

  • Click the "New File" button and you'll be able to create a new file or upload one from your desktop.

File:3x-template-manager-customise-template-create-upload-file-es.png

  • When you create a file, Joomla will offer you a variety of the most popular formats:

File:3x-template-manager-customise-template-create-upload-file-types-es.png

Creating Overrides

One of my favorite features of the new Template Manager is how easy it makes overrides.

Previously it was almost impossible to get a clean overview of what override possibilities were available on a Joomla site.

  • Click the "Create Overrides" tab and the new Template Manager presents all of the possibilities in one neat list:

File:3x-template-manager-customise-template-create-overrides-es.png

  • Click on a component and you'll get all the possibilities inside that one component. In this example, I clicked on com_content:

File:3x-template-manager-customise-template-create-overrides-component-es.png

  • Click on one of the possibilities, for example "article", and you'll see this message:

File:3x-template-manager-customise-template-create-overrides-message-es.png

  • Go back to the Editor screen and your override files will be available for editing:

File:3x-template-manager-customise-template-create-overrides-file-list-es.png

Un éxito del Google Summer of Code

This new Template Manager was a Google Summer of Code 2013 project.

The coder was Ram Tripathi, a student from Delhi. He formed a very successful partnership with his mentor Ken Crowder, a long-time Joomla developer. Congrats to both of them and to all of this year's Google Summer of Code team.