0
votes
2answers
629 views

How can I create a custom variable to use it in my layout template page?

For my new project, I'm using the brand new Omega4 theme. It comes with a lot of cool and nice features build in, so no complain about that! But when I try to use a custom variable in my ...
1
vote
1answer
4k views

What is the best way to preprocess fields with Display Suite

I'm using Display Suite with Drupal Commerce, and I need to pre-process some fields in my product display. I need to change some values based on some conditions, and need to wrap a few fields in some ...
0
votes
1answer
162 views

Using pre-process to wrap multiple regions in html

I'm using Omega, and have 6 regions in a particular zone. The first and second region span the width of the zone with 12 columns, and the other 4 are 1/4 in-line blocks. I want to set the background ...
2
votes
0answers
1k views

How to add a preprocess function in Omega theme?

Omega theme has a singular way to add preprocess functions. I need to add this preprocess function to be executed when a view is rendered: function ...
1
vote
2answers
1k views

How to get the content type in the zone/region tpl files?

How would I get the node type from within a zone/region or section (using omega theme) template file. I know how to override templates at the page/node level for specific content types - but I can't ...