Nested single pages and custom themes

Permalink
I'm working on a package that creates single pages. For example, at certain point it may create following pages at spesific point of sitemap:

/custompages/custom_2012 (this is the "main" single page created)
/custompages/custom_2012/sub1 (1st sub page)
/custompages/custom_2012/sub2 (2nd sub page)

Just to clarify, the created pages will be modified to contain a lot of custom code and has to be single pages.

I'm having problem with theming. Visually the single pages are totally separate from the site's main theme and the pages cannot have same header/footer.php files. I've managed to style the main single page by adding file called "custom_2012.php" under the activated theme, but I can't find a way to make the sub pages work the same way. Where should the files be placed at? I mean, where should I put "sub1.php" and "sub2.php"? Could the problem be solved by modifying site_theme_paths.php?

 
Ale replied on at Permalink Reply
It's amazing how effective it is to write to this forum! Few minutes after writing my previous message I came up with solution by myself :)
The problem was that Concrete had created the single page, but there wasn't corresponding php file in single pages folder. Now everything works fine.