I'm using the mayo theme on drupal 7.17. I modified sites/all/themes/mayo/templates/node.tpl.php
Should there be an update for mayo available and should I install it, I presume that node.tpl.php will be overwritten.
If I am correct, is there a good strategy for preserving my code changes?
thanks
Yes. If a theme is not to be used as is, you should create a subtheme. http://drupal.org/node/225125 Then you can change only the bits you must and leave the base alone to be updated as needed.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Tim Johnson
I'm using the mayo theme on drupal 7.17.
I modified sites/all/themes/mayo/templates/node.tpl.php
Should there be an update for mayo available and should I install it, I presume that node.tpl.php will be overwritten.
If I am correct, is there a good strategy for preserving my code changes?
Sub theme it. Then mod the sub theme. On Dec 14, 2012 2:59 PM, "Tim Johnson" tim@akwebsoft.com wrote:
I'm using the mayo theme on drupal 7.17. I modified sites/all/themes/mayo/templates/node.tpl.php
Should there be an update for mayo available and should I install it, I presume that node.tpl.php will be overwritten.
If I am correct, is there a good strategy for preserving my code changes?
thanks
Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- [ Drupal support list | http://lists.drupal.org/ ]