Hi,

When update from 3.5 to 3.6 the preprocess function have been dissappeared.

THX.

Comments

wolmi’s picture

The patch

andregriffin’s picture

Hm, well I had removed it from the template.php because all it defined were the main and secondary menu arrays, which are now defined directly in page.tpl in 3.6. That's why the function was removed.

wolmi’s picture

Yes, but all who have created a new subtheme and copy/paste de page.tpl.php don't have these definitions and don't have any explanation of why you decided to do this change.

andregriffin’s picture

Ah, I see. Thanks for the explanation. I had not considered how sub-themes would be affected, mainly because I don't really see the practical use for sub-themes of Framework (it's practically just one css file). My git commit habits have been improved since 3.6, and I will try and make sure I don't make any big changes like this without explanation again.