Joomlart - JM Purity: Modify header to display vacation messages

Send Snippet To: Save this snippet to Code Collector Pro -- view all tamburra's snippets
language: Other
license: Other

Code for Snippet:

                
---------------
Open:
---------------
 
/app/design/frontend/default/jm_purity/template/page/html/header.phtml
 
 
---------------
Find:
---------------
 
	<!-- BEGIN: MAIN NAVIGATION -->
	<div id="ja-mainnav">
		<?php echo $this->getChildHtml('topMenu') ?>
	</div>
	<!-- END: MAIN NAVIGATION -->
 
 
---------------
Add Below:
---------------
 
<div><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('vacation_notice')->toHtml() ?></div>
 
 
---------------
Note:
---------------
 
Create a new static block with an identifier "vacation_notice".
 
Example Content:
 
<!--
</div></div><p style="margin:0; background:#d75f07; padding:5px 10px 6px 10px; color:#fff; line-height:1em; text-align:center; font-weight: bolder;">We will be closed for the Christmas Holidays from Dec. 24 through Dec. 31.  All orders after 3:00 PM EST on Dec 23 will be processed when we re-open on Jan. 1, 2012.<br>Have a Merry Holiday and a Happy New Years!!!</p>
-->
comments powered by Disqus

Info

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 528
Date Added: 2012-01-24 06:32:16
Last Modified: 0000-00-00 00:00:00

Web Analytics