The GrandVisionsPhotography.com web site with core Gallery2 install.

The GrandVisionsPhotography.com web site with core Gallery2 install.

The FlightLinePhotographer.com site with the cloned Gallery2 install.

The FlightLinePhotographer.com site with the cloned Gallery2 install.

These are Two Gallery2 sites for my sister’s company she has with her boyfriend.  The install is on our Brand Excellent hosting servers and it uses the Gallery2 Multi-Site feature where there is one core Gallery2 install and subsequent installs leverage the base code.  This saves on disk space and maintenance time on multiple sites.  The main problem I had with this is that if both sites use the same template, then they share the same CSS files.   So that really hosed the way I displayed my header images to be specific for each site.

I could have copied the whole template to make a renamed cloned template but that seemed messy and like a lot of work.  So the quick hack was to create a new CSS header style in the template with the alternate header image background and do some SMARTY template programming:

{if $smarty.server.SERVER_NAME == 'www.grandvisionsphotography.com' || $smarty.server.SERVER_NAME == 'grandvisionsphotography.com'}
<div id="header">
{else}
<div id="header2">
{/if}

Visit these sites at http://www.GrandVisionsPhotography.com and http://www.FlightLinePhotographer.com