hey there,

I'm trying to override the function omega_process_region by placing it in mytheme/process/process-region.inc.

instead of being run, the function is displayed as text in my page. inside process-region.inc, I've renamed that function to mytheme_process_region, then mytheme_omega_process_region and even mytheme_alpha_process_region, but still no joy.

I also looked up the documentation, but couldn't find anything on the matter.

my goal is to display the site logo both in the header and footer, using the correct function. is that possible? is it the right function to use?

thanks in advance.

cheers,
Luciano

Comments

fubhy’s picture

Status: Active » Fixed

Make sure you have it wrapped in the php tag and use MYTHEME_alpha_process_region().

luco’s picture

great! it worked. thanks :]

I'm used to putting only the opening PHP tag, not the closing one. but then again I don't mess around with .INC files.

fubhy’s picture

The closing one is not required (in fact its bad code style in that case).

luco’s picture

thanks. I'll clear that up.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.