Tuesday, 15 January 2013

php - Drupal 7 Default Node "View" Template -



php - Drupal 7 Default Node "View" Template -

i working on drupal 7.23. know if there way modify node template when viewed. not trying alter on main page or when searched tags or other means. trying alter view or display when node selected.

usually there 2 tabs node or content_type i.e "view" , "edit". need alter template "view". give thanks you.

zain

by default, drupal provides 2 display modes nodes: default , teaser. both these view modes rendered using node.tpl.php. either modify file fit needs or utilize hook_theme_suggestions() create separate tpl files different views.

php drupal-7

No comments:

Post a Comment