I love the theme and SEO premise. My client appreciated the sidebar top as a feature. However, the nhew version has sidebar top identified in the page,tpl,php and in css, it doesn't show up as a block selection.

Please help.

Comments

leoklein’s picture

Same problem.

leoklein’s picture

It doesn't seem as if the following part from the template.php file is working:

function seoposition_regions() {
	return array(
			'sidebar_left' => t('left sidebar'),
			'sidebar_right' => t('right sidebar'),
			'sidebar_top' => t('sidebar top'),
			'footer' => t('footer'),
	);
}

These don't appear in in example.com/admin/build/block

Itangalo’s picture

Status: Active » Needs review

I had the same problem, and when I looked at the code example from template.php above it struck me that it refers to the name of the template. I had renamed SEOposition to something else in my sites/all/themes folder.

I tried changing it back to SEOposition, and - voila - the regions returned.

I hope this helps you too.
Since I'm not a coder I can't tell if this is a workaround for a bug, or if it is normal behaviour. Thus I can't change status to "fixed". If someone can confirm my solution as a proper one he/she is welcome to change the status.

Cheers,
//Johan Falk, Sweden

Itangalo’s picture

Another solution may be to change the name of the region function in template.php function: "seoposition_regions()" to "whatevermyfoldernameis_regions()". I don't know if there needs to be further changes though, so try it at your own risk.