drupal themes

Download Drupal themes

Post on 19-Jun-2015

92 views

Category:

Documents

1 download

Embed Size (px)

TRANSCRIPT

  • 1. Mai 2014 Drupal themes Construiete o tema sau folosete o tem printe

2. 01 Gabriel Ungureanu CEO @ AG Prime# Drupal developer for 6 years# https://drupal.org/user/279352/# ! Modules: Exclude Node Title, Path redirect import, User history, User Status Color, IP Block 3. Cum se randeaz o pagin in Drupal? 4. 01 Anatomia unei teme .info (denete regiuni, iere incluse, informaii generale)# .tpl.php (iere template)# template.php (poate conine Drupal hooks)# Sub-temele motenesc stilurile temei parinte si le pot altera sau completa 5. Ce este un HOOK? Un hook se poate aga oriunde pe parcursul ciclului de via Drupal.# Se prexeaz cu numele modulului care l implementeaz si transport cu referin valorile alterate.# Ex. HOOK_node_view# function my_module_node_view($node, $view_mode, $langcode) {! ! $node->was_here = TRUE;! } 6. Metode de a procesa o pagin n Drupal 7. Clasic Noduri# Views# Blocks# Menus 8. Clasic + Extra Noduri# Views# Blocks# Menus# Context 9. Panels Noduri# Views# Blocks / Panes# Menus# Panels 10. Get Responsive with Panels https://drupal.org/project/panopoly# # Supported by Pantheon# ! ! https://drupal.org/project/kalatheme 11. SASS Support Majoritatea temelor suporta Compass / SASS# Avantaje:# Variabile# Nesting# Imports# Mixins# Inheritance / Extends# Operators 12. Teme populare Zen https://drupal.org/project/zen ! Adaptive https://drupal.org/project/adaptivetheme # Omega https://drupal.org/project/omega # Fusion https://drupal.org/project/fusion # Bootstrap https://drupal.org/project/bootstrap 13. Links https://drupal.org/documentation/theme# https://drupal.org/project/project_theme# http://sass-lang.com/ 14. Questions?