I've inherited a site running a custom Zen sub-theme.
It uses standard CCK content types with several "page-node-" and "node-" template files for layout control.
The original designer used the .tpl files to manually embed various views and blocks (with specific HTML structure for styling) into different pages throughout the site. As you can imagine, these views and blocks can not be directly configured through the UI.
One page however has some block like sidebar image elements that cannot be manipulated through the UI and appear to be embedded via a template file, but I can't find a template file in either the sub-theme or base theme (zen) directory that would affect this page at the page level. There is a node level template, but it only affects the content area, not the right sidebar.
From the source, I can see that they are not actual blocks as they simply have "
<p>" tags around them
<div id="sidebar-right-inner" class="region region-right"> <p><a href="myurl" title="title"><img src="path/image.png" alt=""></a></p> <div id="block-block-39" class="block block-block region-even even region-count-2 count-6 with-block-editing"> ...
The element between #sidebar-right-inner and #block-block-39 simply has a
<p> tag with no drupal classes or ids. This is what needs to go. Block-block-39 has been configured through the "blocks" administration page and is supposed to be there.
If it were indeed embedded via template file, I should have a file like sites/all/themes/mytheme/pages/page-node-15.tpl.php, but I don't. I've checked Page.tpl.php in both sub-theme and base theme (and every other .tpl file) and cannot figure out how these elements are getting there! Is there somewhere else that a block of HTML could be embedded?
I think I have a pretty good handle on how templates work (hierarchically speaking), and I've spent days searching for an answer. I'm sure I'm missing something silly, but I'm pretty stumped at the moment.
I basically need to just get rid of them.