Hello, since it seems to be best practice to override a theme rather than edit it directly, how does one override custom functions in template.php? I would like to override

function nitobe_set_layout(&$vars)

in order to change the width of the sidebars. Following instuctions here didn't work, and considering the comment on that page, perhaps overriding isn't the best option for the scenario where the preprocess functions need changing?

Comments

shaundychko’s picture

Status: Active » Closed (fixed)

Never mind, as I think I'm in over my head, so I'm going to edit only the .tpl.php files. The edits I made to template.php to change the sidebar width resulted in the ubercart shopping cart making the entire left sidebar disappear when the shopping cart title was clicked (only when it actually contained an item).