So, I am working on a genealogical society website and I have three custom post types: townships, cemeteries and churches. I have created a page http://acgs.selfip.org/townships that holds an image map I created using Gyn's Imagemap Selector plugin. Clicking on a labeled section of the imagemap brings up a modal window (lightbox plus colorbox plugin) that displays the township information with the cemeteries for that township listed using the shortcodes ultimate plugin to display the cemetery posts. Clicking on the link above and selecting "Caribou" on the image map will show my current setup. Eventually, churches will be displayed on the township page in the same way.
In order to get the posts to display the way I wanted them to, I've had to hack their templates considerably. This means that clicking on an individual township or cemetery link will bring up a page without the proper header and footer. I plan on removing the link code from the cemetery titles, but I would like to be able to have townships display as a separate single post as well as in the modal window.
Is there a way I can designate one template for the modal window and a different template to display a township as a standard single post? Thanks!