Drupal - Construindo template com ZEN Theme: mudanças entre as edições

De Pontão Nós Digitais
Ir para navegaçãoIr para pesquisar
(Criou página com '= ZEN Template = '''ZEN''' é um simples e poderoso tema para Drupal, feito com HTML5 e design responsivo. Se você está montando sua própria instalação standart drupal, ...')
 
Sem resumo de edição
Linha 1: Linha 1:
= ZEN Template =
= ZEN Template =


'''ZEN''' é um simples e poderoso tema para Drupal, feito com HTML5 e design responsivo. Se você está montando sua própria instalação standart drupal, você poderá facilitar o trabalho utilizando ZEN ao invés dos temas padrão Galard, Stark ou Bartik. Esse tema tem bastante documentação em foruns de ajuda, código amigável, comentários em php, html, css e SASS. Até o presente a maior parte dessa documentação é em inglês, mas já há algum material em português.  
[[https://drupal.org/project/zen '''ZEN''']] é um simples e poderoso tema para Drupal, feito com HTML5 e design responsivo. Se você está montando sua própria instalação standart drupal, você poderá facilitar o trabalho utilizando ZEN ao invés dos temas padrão Galard, Stark ou Bartik. Esse tema tem bastante documentação em foruns de ajuda, código amigável, comentários em php, html, css e SASS. Até o presente a maior parte dessa documentação é em inglês, mas já há algum material em português.  


Por que você deveria usar ZEN? E por que você deveria criar seu próprio tema como um sub-tema ao invés de um tema padrão? [[Muitas razões]].  
Por que você deveria usar ZEN? E por que você deveria criar seu próprio tema como um sub-tema ao invés de um tema padrão? [[Muitas razões]].  


Se você estiver rodando uma instalação Drupal 7.x e pensa em trabalhar com '''ZEN 5.x''', então você irá precisar  
Se você estiver rodando uma instalação Drupal 7.x e pensa em trabalhar com '''ZEN 5.x''', então você irá precisar do SASS e do Compass Tools. Eles não estão instalados por padrão na maior parte das distribuições linux (e com certeza não no Rwindos). Mas você pode encontrar alguns tutoriais de ajuda na internet de como obtê-lo, como esse: https://drupal.org/node/1548946
If you are running Drupal 7.x and intend to work with Zen 5.x, then you will need the Sass and Compass tools. These are not installed by default on most Linux distributions (and certainly not on Windows). You probably will find this page helpful for guidance on obtaining Sass and Compass.


Besides this documentation, additional resources can be found…
== Por que usar ZEN? ==
Zen 3.x older instructional videos for Drupal 5, 6 and 7


    Zen project homepage
Why should you create your theme as a Zen sub-theme as opposed to just modifying an existing theme?
    Drupal School: getting started with Zen (20 minute video) (Drupal 5.x and 6.x only)
    How the Zen Theme is Structured (5 minute video)
    Drupal 7: Setting Zen Column Widths (15 minute video)


Zen 7.x-5.x videos and slides
    Support: Providing or receiving support for any theme you develop in Drupal’s normal support forums can be difficult. The primary reason for this difficulty is that the person trying to provide support does not have any of the code you are using in your theme and/or they have never before seen the code you are using. If you have modified an existing theme, sometimes the only answer you will get to your support question is “Well, it works fine in the original theme.” Because you have modified the theme’s code in an unknown way, it will be extremely difficult to get help.


     2012-03-23 DrupalCon Denver 2012: Rethinking Responsive Building Techniques with Drupal (1:06:33 video) before 7.x-5.0
     However, if you are following the Zen sub-theme guidelines for developing your theme (i.e. don’t modify any of Zen’s core files), any support issues become much simpler to deal with. You are modifying the STARTERKIT files in known ways. Zen core is carefully tested so many people know how it works and reacts in various browsers. And any differences you might be experiencing between your sub-theme and Zen core can be quickly isolated to override functions in your template.php or to override .tpl.php files.
    2012-04-23 BDUG: John Albin: Rethinking responsive building techniques with Drupal (30:54 video) just before 7.x-5.0
    2012-07-23 BDUG Responsive Web Theming with Zen 5, Sass, and Compass (1:12:43 video) 7.x-5.1
    2012-07-23 BDUG Responsive Web Theming (slides on slideshare)
    2012-07-19 Acquia: Creating Responsive Drupal Sites with Zen Grids and the Zen 5 by John Albin (1:21:32 video, bad audio) 7.x-5.1
    Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme (slides on slideshare, will help with video)


    Bug fixes: Occasionally there will be bugs found in Zen core. If you have modified any of Zen’s core files, it will be difficult for you to incorporate any of those bug fixes into your modified version of Zen. If, on the other hand, you have only modified files in your Zen sub-theme, getting those bug fixes becomes much easier; just replace the old Zen core files with the new ones. If your sub-theme overrides the PHP or CSS where the bug existed, the fixes will be carefully documented online so that you can more easily update your sub-theme.


    New features: Occasionally there will be new features that will be added to Zen core. Again, as long as you haven’t modified any Zen core files, you can easily add those features to your sub-theme with minimal or no extra coding.




'''Referência:''' https://drupal.org/node/1010576
'''Referências:'''  
* https://drupal.org/node/1010576
* http://buildamodule.com/playlist/zen-tutorial-videos---880-853?pc=ZENh8327&title=Zen%20Tutorial%20Videos
 


[[Category: Drupal]]
[[Category: Drupal]]
[[Category: CMS]]
[[Category: CMS]]

Edição das 20h33min de 13 de novembro de 2013

ZEN Template

[ZEN] é um simples e poderoso tema para Drupal, feito com HTML5 e design responsivo. Se você está montando sua própria instalação standart drupal, você poderá facilitar o trabalho utilizando ZEN ao invés dos temas padrão Galard, Stark ou Bartik. Esse tema tem bastante documentação em foruns de ajuda, código amigável, comentários em php, html, css e SASS. Até o presente a maior parte dessa documentação é em inglês, mas já há algum material em português.

Por que você deveria usar ZEN? E por que você deveria criar seu próprio tema como um sub-tema ao invés de um tema padrão? Muitas razões.

Se você estiver rodando uma instalação Drupal 7.x e pensa em trabalhar com ZEN 5.x, então você irá precisar do SASS e do Compass Tools. Eles não estão instalados por padrão na maior parte das distribuições linux (e com certeza não no Rwindos). Mas você pode encontrar alguns tutoriais de ajuda na internet de como obtê-lo, como esse: https://drupal.org/node/1548946

Por que usar ZEN?

Why should you create your theme as a Zen sub-theme as opposed to just modifying an existing theme?

   Support: Providing or receiving support for any theme you develop in Drupal’s normal support forums can be difficult. The primary reason for this difficulty is that the person trying to provide support does not have any of the code you are using in your theme and/or they have never before seen the code you are using. If you have modified an existing theme, sometimes the only answer you will get to your support question is “Well, it works fine in the original theme.” Because you have modified the theme’s code in an unknown way, it will be extremely difficult to get help.
   However, if you are following the Zen sub-theme guidelines for developing your theme (i.e. don’t modify any of Zen’s core files), any support issues become much simpler to deal with. You are modifying the STARTERKIT files in known ways. Zen core is carefully tested so many people know how it works and reacts in various browsers. And any differences you might be experiencing between your sub-theme and Zen core can be quickly isolated to override functions in your template.php or to override .tpl.php files.
   Bug fixes: Occasionally there will be bugs found in Zen core. If you have modified any of Zen’s core files, it will be difficult for you to incorporate any of those bug fixes into your modified version of Zen. If, on the other hand, you have only modified files in your Zen sub-theme, getting those bug fixes becomes much easier; just replace the old Zen core files with the new ones. If your sub-theme overrides the PHP or CSS where the bug existed, the fixes will be carefully documented online so that you can more easily update your sub-theme.
   New features: Occasionally there will be new features that will be added to Zen core. Again, as long as you haven’t modified any Zen core files, you can easily add those features to your sub-theme with minimal or no extra coding.


Referências: