2013年6月7日 星期五

Drupal 7 Note

Drush

https://drupal.org/project/drush
執行drush 要在drupal目錄下

 

Customize Views templates


administrator -> structure -> views -> viewsname
Advanced -> Theme: Information

look for the templates name :

ex : views-view--myvewsname.tpl.php

cp   sites/all/modules/views/theme/views-view.tpl.php   /sites/all/themes/mysubtheme1/templates/views-view--myvewsname.tpl.php

Rescan template files

check if the templates name bolded















相關連結



http://evolvingweb.ca/story/theming-views-drupal-templates-and-preprocess-functions

http://www.interworks.com/blogs/carmstrong/2013/02/27/quick-tutorial-overriding-drupal-views-using-templates


CSS:

http://www.w3schools.com/cssref/css_selectors.asp
http://www.w3schools.com/cssref/css_colornames.asp
http://www.w3schools.com/cssref/css3_browsersupport.asp



http://yunol.com.tw/phpbb3/viewtopic.php?f=24&t=25548


Floating Block
QuickTab

Node view count

沒有留言:

張貼留言