Closed (fixed)
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2011 at 07:49 UTC
Updated:
9 Jul 2012 at 01:11 UTC
Hi, in normal template, like garland, i can insert everything (embed views, php snippets, html, css, etc) i want everythere where i want.
this theme is based in php code configured through admin panel, right?
so, exists any way to easily insert any type of content in any region except via blocks?
for example, i want embed views attachment wrapped in div with custom css class in first header region. how can i do it?
p.d. sorry for my english.
Comments
Comment #1
marcoka commentedComment #2
marcoka commentedComment #3
chaquea commentedHi, you can copy the tpl files from themes/omega/alpha/templates and themes/omega/omega/templates into your subtheme templates file and embed anything you need on those.
Note that in some cases there might not be an appropiate tpl file (in your case header first region) so you would have to copy the region.tpl.php file (from omega/alpha/templates) and rename it to region--header_first.tpl.php (look into omega/omega/templates) for a reference of how the basic tpl files can be renamed to specific situations.
After you have copied the tpl file into your subtheme templates folder and done the changes needed rember to clear cache and you will see the results on your site
Comment #4
avolve commented[posted on wrong thread]