Active
Project:
Titan
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2011 at 04:06 UTC
Updated:
7 Oct 2013 at 05:12 UTC
Hi there, not sure if the process is the same as all of the other themes I've tried to add regions to but I've added the region to both the .info file and then add the code to the page.tpl file. The block region does not show up in the blocks admin page, and I receive the error 'Undefined index:"region name" in include()' referencing the line of code I added to the page tpl file to print out the region.
For the time being, I deleted the fourth footer region and am using that region name in my custom added code to place all of my custom region content and it works fine, so I know that the syntax I am using is not wrong.
Is there a step that I am missing?
Comments
Comment #1
borazslo commentedClear the caches?
(For me it works:
in titan.info:
regions[add] = Adds in headerin page.tpl.php
)
Comment #2
ashok gj commentedI made the mistake of providing single quotes in regions array in the info file
that is...
Error Code:
regions['new_region'] = New RegionCorrect Code:
regions[new_region] = New RegionComment #3
TJ.P commentedI'm glad you guys took care of this, but wanted to mention - I had the same issue with v 7.23 when I added a new region to contain .swf files. (Except that my new region did show up in the list. Just threw the index error.) Thought it would be a syntax issue somewhere, but what fixed it was correcting a Block weight collision. ??? Can't say how/why, but that corrected my error.