Hi,
When update from 3.5 to 3.6 the preprocess function have been dissappeared.
THX.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | framework-preprocess_page_deleted-1423102-1.patch | 1.59 KB | wolmi |
Hi,
When update from 3.5 to 3.6 the preprocess function have been dissappeared.
THX.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | framework-preprocess_page_deleted-1423102-1.patch | 1.59 KB | wolmi |
Comments
Comment #1
wolmi commentedThe patch
Comment #2
andregriffin commentedHm, 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.
Comment #3
wolmi commentedYes, 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.
Comment #4
andregriffin commentedAh, 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.