Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-2.1
Component:
CSS/HTML
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
23 Dec 2011 at 18:18 UTC
Updated:
6 May 2020 at 19:30 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedAfter a few hours trying to figure out how to manipulate the variables in the new structures that D7 has introduced, I've now got to where I need to be by changing the page template as outlined at http://adaptivethemes.com/documentation/using-template-overrides
I'd always worked on the basis that changing the templates was a bad idea, but the documentation for Adaptive suggests that this is the correct way to go.
If anyone can advise on how to access variables - including those that look to be in nested arrays - in preprocessor functions in template.php that would be very helpful as I suspect I'm going to need to do this at some point.
Thanks,
Alan
Comment #2
Jeff Burnz commentedIn Drupal 7 the most powerful, and I would argue the correct way, to do this sort of thing is using hook_page_alter().