<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>&#039;corePHP&#039; Blog &#187; Templates</title>
	<atom:link href="http://www.corephp.com/blog/category/templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.corephp.com/blog</link>
	<description>Keep up to date on what&#039;s happening at &#039;corePHP&#039;</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:36:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1.2</generator>
		<item>
		<title>CMS Expo Presentations</title>
		<link>http://www.corephp.com/blog/cms-expo-presentations/</link>
		<comments>http://www.corephp.com/blog/cms-expo-presentations/#comments</comments>
		<pubDate>Wed, 11 May 2011 19:09:34 +0000</pubDate>
		<dc:creator>Rafael Corral</dc:creator>
				<category><![CDATA['corePHP']]></category>
		<category><![CDATA[Expos]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Joomla Chicago]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.corephp.com/blog/?p=2765</guid>
		<description><![CDATA[The beginning of May &#8216;corePHP&#8217; attended the CMS Expo for the 4th time. This year was a complete blast and the best yet. Over the 4 days of attending the Expo we learned a lot of useful new material and &#8230; <a href="http://www.corephp.com/blog/cms-expo-presentations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The beginning of May &#8216;corePHP&#8217; attended the <a title="CMS Expo" href="http://cmsexpo.net/" target="_blank">CMS Expo</a> for the 4th time. This year was a complete blast and the best yet. Over the 4 days of attending the Expo we learned a lot of useful new material and met a great deal of new faces. We thank everyone who came out to make the Expo a complete success and we look forward to attending next year.</p>
<p><span id="more-2765"></span></p>
<p>This year we had a total of 5 presentations presented by our company. Below you can download each of the presentations and learn from them. Until next year&#8230;enjoy!</p>
<p><strong>Rafael Corral</strong></p>
<ul>
<li><a href="https://www.corephp.com/images/wordpress/uploads/2011/05/php5most-know.pdf">PHP 5</a></li>
<li><a href="https://www.corephp.com/images/wordpress/uploads/2011/05/Speed_it_up_please.pdf">Speed! (how to gain more speed from your Joomla! site)</a></li>
</ul>
<p><strong>Jonathan Shroyer</strong></p>
<ul>
<li><a href="https://www.corephp.com/images/wordpress/uploads/2011/05/Badass-CSS-2011.pdf">Badass CSS3</a></li>
<li><a href="https://www.corephp.com/images/wordpress/uploads/2011/05/Coding-for-SEO-2011.pdf">Coding for SEO</a></li>
</ul>
<p><strong>Michael Pignataro</strong></p>
<ul>
<li><a title="e-commerce presentation cms expo 2011" href="http://www.corephp.com/images/wordpress/uploads/2011/05/e-commerce-the-joomla-way.pdf">E-Commerce the Joomla way</a></li>
</ul>
<p>Thank you John and Linda, for all of your hard work of putting the expo together!</p>
<p>Best,</p>
<p>&#8216;corePHP&#8217; Staff</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/cms-expo-presentations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Our new plugin makes CSS3 in IE (and any other browser) easy!</title>
		<link>http://www.corephp.com/blog/our-new-plugin-makes-css3-in-ie-easy/</link>
		<comments>http://www.corephp.com/blog/our-new-plugin-makes-css3-in-ie-easy/#comments</comments>
		<pubDate>Mon, 02 May 2011 22:14:52 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA['corePHP' Products]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA['corePHP']]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[Jonathan Shroyer]]></category>
		<category><![CDATA[joomla extensions]]></category>
		<category><![CDATA[joomla products]]></category>
		<category><![CDATA[new products]]></category>
		<category><![CDATA[new release]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.corephp.com/blog/?p=2746</guid>
		<description><![CDATA[What is this? Anyone who has tried to add CSS3 to their site knows how difficult and time consuming it is to figure out the correct code for the correct browsers. Also, how do I make it work with IE? &#8230; <a href="http://www.corephp.com/blog/our-new-plugin-makes-css3-in-ie-easy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3><img class="alignnone size-medium wp-image-2752" style="float: right; margin-left: 20px;" title="css3 example samples" src="https://www.corephp.com/images/wordpress/uploads/2011/05/css3-example-samples-300x215.jpg" alt="css3 example samples" width="300" height="215" />What is this?</h3>
<p>Anyone who has tried to add CSS3 to their site knows how difficult and time consuming it is to figure out the correct code for the correct browsers. Also, how do I make it work with IE? Wonder no more! With the <strong><a href="http://www.corephp.com/joomla-products/automated-css3-generator-plugin.html">Automated CSS3 Generator Plugin</a></strong> all you need to do is enter the values for the CSS3 you need and it does the rest. It also only outputs the CSS for the browser you are using so you won’t need 4 lines of CSS to do a simple rounded corner anymore.<span id="more-2746"></span></p>
<h3>Why would I use it?</h3>
<p>Many images on a website are only there to emulate the look of a CSS3 command. A prime example is a rounded corner box with a slight drop shadow. It typically can take any- where from 3-20K of images, depending on how it’s done. With this plugin you don’t need extra div tags, images and 30 lines of CSS.<br />
This saves HTTP requests and download time which can increase your SEO value. It also literally saves HOURS of development time and gives you options you didn’t have before.</p>
<p><img class="alignnone size-medium wp-image-2754" style="float: left; margin-right: 20px;" title="css3 example inputs" src="https://www.corephp.com/images/wordpress/uploads/2011/05/css3-example-inputs-300x110.jpg" alt="" width="300" height="110" /></p>
<h3>What does it support?</h3>
<p>We didn&#8217;t add in anything that IE can&#8217;t do exactly the same as the other  browsers, so you don&#8217;t have to worry about your site looking different  between browsers. The only exception is text-shadow. There is no way to  have IE look exactly the same as other browsers with text-shadow, but  it&#8217;s about as close as you can get!</p>
<p><span style="clear: both;">We have currently added the following CSS3 into the plugin:</span></p>
<ul>
<li>Drop Shadow</li>
<li>Text Shadow</li>
<li>Rounded Corners</li>
<li>Opacity</li>
<li>Gradients (simple)</li>
<li>RGBA</li>
<li>Rotate</li>
<li>Border Image (limited)</li>
</ul>
<p>Visit the product page at <a href="http://www.corephp.com/joomla-products/automated-css3-generator-plugin.html">http://www.corephp.com/joomla-products/automated-css3-generator-plugin.html</a> or <a href="https://www.corephp.com/members/cart.php?a=confproduct&amp;i=0">purchase here</a></p>
<p>We also offer paid support for transferring the images on your site into CSS3 code to save you valuable download time. <a title="Contact us" href="http://www.corephp.com/contact-corephp.html">Contact us today</a> to learn more!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/our-new-plugin-makes-css3-in-ie-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to work with IE9</title>
		<link>http://www.corephp.com/blog/how-to-work-with-ie9/</link>
		<comments>http://www.corephp.com/blog/how-to-work-with-ie9/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 21:33:32 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie9]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.corephp.com/blog/?p=2613</guid>
		<description><![CDATA[By now, I&#8217;m sure everyone has choked back a tear or two at the final release of Internet Explorer 9. We immediately started getting support requests asking why their websites look broken in this new &#8216;revolutionary&#8217; browser (hard to say &#8230; <a href="http://www.corephp.com/blog/how-to-work-with-ie9/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By now, I&#8217;m sure everyone has choked back a tear or two at the final release of Internet Explorer 9. We immediately started getting support requests asking why their websites look broken in this new &#8216;revolutionary&#8217; browser (hard to say that with a straight face.) Yes, we are again submerged into Microsoft hell, needing to find fixes for yet another browser. We have done a lot of legwork figuring out the best way to handle supporting this IE9 so we wanted to share the information we have learned to make developing (a little) easier.</p>
<p><span id="more-2613"></span></p>
<h3>How do I run IE9?</h3>
<p>First of all, you need to know that IE9 will only work in Vista or Windows 7. It was a very bad decision in my opinion, but it&#8217;s reality, so we work with it. My setup is a Macbook Pro 3 GHz with 4 Gigs of RAM. I first installed Windows 7 Professional 64 bit on a new VMware Fusion virtual disc, but it took up way too many resources to run smoothly. Not only that, it locked up my Mac side occasionally for about a minute or two which is unacceptable. I then created a new image using Windows 7 Professional 32 bit and it ran MUCH faster. One would almost say&#8230; SNAPPY! It does however take a long time to boot up the disc image at times. I recommend turning off Aero, which is the bells and whistles for the desktop. To do this just right click on the desktop and choose Customize. Click on the Windows 7 Simple theme and you will notice an increase in speed. I plan on turning off indexing as well in the near future to further speed it up.</p>
<p>After running your updates you then open Internet Explorer, but it won&#8217;t be IE9 yet. The opening page should have a button to click to download and install IE9. Just follow the steps and you will have a working version of IE9.</p>
<h3>First impressions!</h3>
<p>At first I didn&#8217;t notice much that was different other than a few facelifts to the interface and many more broken websites. Thankfully, Microsoft must have seen this coming so they gave us a fairly nice set of developer tools to fix their mistakes in. All joking aside, it is a much needed and improved toolset. It reminds me a lot of Firebug. You can edit HTML, CSS, view scripts, etc just like Firebug.</p>
<p>But what about HTML5 and CSS3?</p>
<p>While they did add support for a few good CSS3 properties, they still don&#8217;t support text-shadow, border-image, multiple columns, gradients, and transitions. It&#8217;s a start though! HTML5 has what I consider partial support. ACID Testing scores it as 55/100 while Firefox scores a 98/100. Read more about CSS3 support <a href="http://www.impressivewebs.com/css3-support-ie9/" target="_blank">here</a> and HTML5 support <a href="http://www.impressivewebs.com/html5-support-ie9/" target="_blank">here</a>.</p>
<h3>Testing in IE7 and IE8</h3>
<p>One other great addition is the ability to choose which browser you are using within IE9. Within the developer tools top menu you will find a dropdown to choose the Browser Mode and Document Mode to view the page in. You can choose browser modes for IE7, IE8, IE9 and IE9 Compatibility Mode. I actually enjoy having IE7-9 in one browser. It saves space and resources.</p>
<h4>What about IE6?</h4>
<p>Unfortunately, there are still clients out there that want to support IE6. I haven&#8217;t yet found a good solution in Windows 7 to view IE6 in, although I have read that you can run Virtual PC and any browser version you want in XP Mode. You can read more about this at <a href="http://articles.sitepoint.com/article/ie6-ie7-ie8-win7-xp-mode" target="_blank">http://articles.sitepoint.com/article/ie6-ie7-ie8-win7-xp-mode</a>. Although <a href="http://finalbuilds.edskes.net/iecollection.htm" target="_blank">IE Collection</a> claims to have support for IE6 in Windows 7, it didn&#8217;t work for me. The best solution seems to be to have another virtual disk with a stripped down XP running IE6.</p>
<p><strong>UPDATE</strong>: Thank you to John who posted a comment on IETester being able to run IE6 in Windows 7. It works great&#8230; and fast! I remember using it before, but I didn&#8217;t stick with it because the development tools are a little weak, but it does have some. If you could live edit the CSS it would be a solid program. Anyway, this is a great solution for testing IE6 and I&#8217;m very thankful for the information.</p>
<h3>What do I do if I don&#8217;t want to fix my site for IE9?</h3>
<p>Luckily, there is a solution that can buy you some time on fixing specifically for IE9 (if you ever want to at all.) There is a line of code that will force your webpage to open as a different version than IE9.</p>
<pre>&lt;meta http-equiv="X-UA-Compatible" content="IE=8" &gt;</pre>
<p>In your Joomla! template place this directly above</p>
<pre>&lt;jdoc:include type="head" /&gt;</pre>
<p>If you have changed your document mode in the developer tools it may not load the default value so it may still look broken, but it isn&#8217;t. Your web page will load as if it is still in IE8. Other choices for forcing IE to load into other modes are:</p>
<pre>&lt;meta http-equiv="X-UA-Compatible" content="IE=4"&gt;   &lt;!-- IE5 mode --&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=7.5" &gt; &lt;!-- IE7 mode --&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=100" &gt; &lt;!-- IE9 mode --&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=a" &gt;   &lt;!-- IE5 mode --&gt;</pre>
<p>or you can push it into compatibility mode by using</p>
<pre>&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" &gt;</pre>
<p>You can read more details about this at <a href="http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx</a></p>
<h3>Conclusion</h3>
<p>It is unfortunate that Microsoft still can&#8217;t seem to release a decent browser that doesn&#8217;t break the appearance of websites. IE8 was so buggy that I used the above code in many sites to force them into IE7 mode. At least the tools to deal with them have improved which offsets the amount of time I&#8217;m wasting supporting yet another browser with another set of browser specific CSS. It is too early to tell what specific fixes are needed for IE9, but I have run into some issues that I haven&#8217;t found a fix for yet. Usually you can add position: relative or zoom: 1 to fix most issues, but that didn&#8217;t seem to do anything to disappearing sections this time around. We&#8217;ll let you know when we do find any new fixes. It seems to be issues that need to be patched it future releases. Make sure you have the most recent versions of script libraries, such as Cufon to support IE9.</p>
<p>That sums up my last couple weeks! Let us know if there is anything we missed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/how-to-work-with-ie9/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Community ACL</title>
		<link>http://www.corephp.com/blog/community-acl/</link>
		<comments>http://www.corephp.com/blog/community-acl/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 17:58:34 +0000</pubDate>
		<dc:creator>Bernard Robbins</dc:creator>
				<category><![CDATA['corePHP' Products]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[libtidy]]></category>

		<guid isPermaLink="false">http://www.corephp.com/blog/?p=2385</guid>
		<description><![CDATA[Community ACL has some new exciting features and 9 bug fixes in the last few months! We have added the support for libtidy. This adds the following features: Quickly add code to restrict menus More accurately removes menus Better support &#8230; <a href="http://www.corephp.com/blog/community-acl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Community ACL" href="http://www.corephp.com/joomla-products/community-acl.html" target="_blank">Community ACL</a> has some new exciting features and 9 bug fixes in the last few months!<br />
We have added the support for <a title="libtidy" href="http://tidy.sourceforge.net/" target="_blank">libtidy</a>. This adds the following features:</p>
<ul>
<li>Quickly add code to restrict menus</li>
<li>More accurately removes menus</li>
<li>Better support for custom Joomla! templates</li>
<li>Cleans up improper HTML to help cross browser support</li>
<li>Code is specifically created for each template, so after upgrading cACL you will not loose template support.</li>
</ul>
<p><a title="libtidy" href="http://tidy.sourceforge.net/" target="_blank">libtidy</a> is normally enabled in PHP by default. So little is required to use this extension. There is an on/off toggle button on the main config page that will allow you to turn off this feature if you require broken HTML for your template.</p>
<p><a href="https://www.corephp.com/images/wordpress/uploads/2010/12/Screen-shot-2010-12-16-at-12.55.49-PM.png"><img class="alignnone size-full wp-image-2390" title="libtidy" src="https://www.corephp.com/images/wordpress/uploads/2010/12/Screen-shot-2010-12-16-at-12.55.49-PM.png" alt="libtidy" width="160" height="55" /></a></p>
<p><img src="file:///Users/bernard/Desktop/Screen%20shot%202010-12-16%20at%2012.55.49%20PM.png" alt="" /></p>
<p>We would like to hear from you about what new features would help your experience with Community ACL for Joomla!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/community-acl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controlling Joomla! templates depending on menu you use</title>
		<link>http://www.corephp.com/blog/controlling-joomla-templates-depending-on-the-menu-you-use/</link>
		<comments>http://www.corephp.com/blog/controlling-joomla-templates-depending-on-the-menu-you-use/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 20:42:26 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.corephp.com/index.php?option=com_wordpress&amp;p=2013&amp;Itemid=176</guid>
		<description><![CDATA[We have been working on building a multi-school Joomla! website and there have been many hurdles to overcome since Joomla! isn&#8217;t a multi-site CMS. After searching for anything that&#8217;s common across each school, I realized the menu for each school &#8230; <a href="http://www.corephp.com/blog/controlling-joomla-templates-depending-on-the-menu-you-use/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We have been working on building a multi-school Joomla! website and there have been many hurdles to overcome since Joomla! isn&#8217;t a multi-site CMS. After searching for anything that&#8217;s common across each school, I realized the menu for each school could be used as a common denominator. If I could set a variable depending on which menu is loaded on the page then I can do just about anything I want, such as change the logo, set a unique CSS class, etc. After meeting with our developers we figured out how to do this and I&#8217;ll share it with all of you in case you ever need to do the same.<br />
<span id="more-2013"></span><br />
To start we need to pull in the information of which menus are being used on the page. Place this code in the head of your template:</p>
<pre>jimport('joomla.application.menu');
$menus = JSite::getMenu();
$m = $menus-&gt;getActive();
</pre>
<p>This checks for the active menus on the page and sets it into the variable $m so we can manipulate it. Next, you need to look at the menutype in the administrator Menu Manager (under Type). This is what we will use to determine which school is being viewed. I want to take this information and set a new variable named $school:</p>
<pre>if($m-&gt;menutype == 'district-information') { $school = 'district-info'; }
if($m-&gt;menutype == 'cityname-elementary-school') { $school = 'cityname-elementary'; }
if($m-&gt;menutype == 'cityname-middle-school') { $school = 'cityname-middle'; }
if($m-&gt;menutype == 'cityname-high-school') { $school = 'cityname-high'; }
</pre>
<p>The first thing I did was echo the variable $school into an ID on the body tag.</p>
<pre>body id="&lt; ?php echo $school; ?&gt;"
</pre>
<p>This allows me to style the CSS uniquely according to the school being viewed which gives you a lot of style control. To change the logo I can just call it by the school.</p>
<pre>#cityname-high .logo {background: url(../images/logo-highschool.jpg);}
</pre>
<p>Another thing I did was load a unique module position according to the school so I could publish modules in all pages the menu shows up on. I did this by doing the following:</p>
<pre>if($school == 'district-info') {
    echo '&lt;jdoc :include type="modules" name="district_module" style="raw" /&gt;';
};
if($school == 'cityname-elementary') {
    echo '&lt;jdoc :include type="modules" name="elementary_module" style="raw" /&gt;';
};
if($school == 'cityname-middle') {
    echo '&lt;jdoc :include type="modules" name="middle_module" style="raw" /&gt;';
};
if($school == 'cityname-high') {
    echo '&lt;jdoc :include type="modules" name="high_module" style="raw" /&gt;';
};</pre>
<p>As you can see this can give you the ability to do things you may not have been able to do before in Joomla!. I know it saved me from a major headache!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/controlling-joomla-templates-depending-on-the-menu-you-use/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to use countModules in any Joomla! file</title>
		<link>http://www.corephp.com/blog/how-to-use-countmodules-in-any-joomla-file/</link>
		<comments>http://www.corephp.com/blog/how-to-use-countmodules-in-any-joomla-file/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 19:00:33 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.corephp.com/index.php?option=com_wordpress&amp;p=1950&amp;Itemid=176</guid>
		<description><![CDATA[One of the core parts of creating Joomla! templates is using $this->countModules to show or hide code depending on if a module is in a particular position on the page. It is very powerful and it makes your templates very &#8230; <a href="http://www.corephp.com/blog/how-to-use-countmodules-in-any-joomla-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the core parts of creating Joomla! templates is using $this->countModules to show or hide code depending on if a module is in a particular position on the page. It is very powerful and it makes your templates very dynamic according to what is happening on the page. So what happens if you need to do this outside of the template index.php file? Save yourself a huge headache and use the following code in any file to check for a module position:</p>
<pre>jimport( 'joomla.application.module.helper' );
if(count(JModuleHelper::getModules('left'))) {
	put your code here
}</pre>
<p>A very powerful addition to you Joomla! PHP library!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/how-to-use-countmodules-in-any-joomla-file/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>NEW &#8216;Blacknblue&#8217; jomCalendar theme released!</title>
		<link>http://www.corephp.com/blog/new-blacknblue-jomcalendar-theme-released/</link>
		<comments>http://www.corephp.com/blog/new-blacknblue-jomcalendar-theme-released/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 21:33:52 +0000</pubDate>
		<dc:creator>Michael Pignataro</dc:creator>
				<category><![CDATA['corePHP' Products]]></category>
		<category><![CDATA[Templates]]></category>

		<guid isPermaLink="false">http://www.corephp.com/index.php?option=com_wordpress&amp;p=1648&amp;Itemid=100069</guid>
		<description><![CDATA[&#8216;corePHP&#8217; is proud to announce the release of the new &#8216;Blacknblue&#8217; theme for the jomCalendar package. Check it out and enjoy! Coming soon: More template releases! &#8216;corePHP&#8217; will both sell and release templates in the near future. Templates that are &#8230; <a href="http://www.corephp.com/blog/new-blacknblue-jomcalendar-theme-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&#8216;corePHP&#8217; is proud to announce the release of the new &#8216;Blacknblue&#8217; theme for the jomCalendar package. Check it out and enjoy!</p>
<p><strong>Coming soon:</strong> More template releases! &#8216;corePHP&#8217; will both sell and release templates in the near future. Templates that are not free will be sold for $9.95 each.</p>
<p><strong>‘corePHP’ welcomes new template developers!</strong></p>
<p>Are you a developer? ‘corePHP’ has opened the jomCalendar template for anyone who wants to build and sell templates. jomCalendar has a built-in template engine and a simple configuration that allows you to design the look you want, whatever that may be. ‘corePHP’ also welcomes template clubs, so feel free to release your own themes and sell them to your clients. We are truly looking forward to seeing what you create!</p>
<p><a href="http://jomcalendar.corephpdemos.com/"><img class="aligncenter size-full wp-image-1673" title="jomcalendar-blacknblue-theme" src="https://www.corephp.com/images/wordpress/uploads/2010/07/jcalendar-b.jpg" alt="jomcalendar-blacknblue-theme" width="534" height="334" /></a></p>
<p>NOTE &#8211; Be sure to read the documentation to understand what formats will work with jomCalendar.  Click on <a href="http://www.corephp.com/jomcalendar/jomcalendar-template-documentation.html" target="_self">Developer Documentation</a> for more information. Check out <a href="http://jomcalendar.corephpdemos.com/" target="_blank">jomCalendar Demo</a></p>
<p>Have fun with jomCalendar and be sure to let us know your thoughts!</p>
<p>Best,<br />
Michael Pignataro<br />
VP of Operations</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/new-blacknblue-jomcalendar-theme-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The joy of styling embedded objects</title>
		<link>http://www.corephp.com/blog/the-joy-of-styling-embedded-objects/</link>
		<comments>http://www.corephp.com/blog/the-joy-of-styling-embedded-objects/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 18:30:38 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Templates]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">https://www.corephp.com/index.php?option=com_wordpress&#038;p=1304</guid>
		<description><![CDATA[Oh the fun we have working on so many different projects! Today I had to put a style on the actual embedded object since the div around it didn&#8217;t work out for it. Obviously, it couldn&#8217;t be as easy as &#8230; <a href="http://www.corephp.com/blog/the-joy-of-styling-embedded-objects/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Oh the fun we have working on so many different projects! Today I had to put a style on the actual embedded object since the div around it didn&#8217;t work out for it. Obviously, it couldn&#8217;t be as easy as it sounds so I thought I would pass on my workarounds for all of you. The following code assumes you are using the conditional IE CSS code from our blog at <a href="http://www.corephp.com/blog/easy-ie-conditional-css-with-no-hacks/" target="_blank">http://www.corephp.com/blog/easy-ie-conditional-css-with-no-hacks/</a></p>
<p><span id="more-1304"></span>For the most part, it&#8217;s pretty straight forward to style an object. For my example I will be putting an orange border around the object. I start with common sense by using:</p>
<pre>.wrapping_div object {
    border: solid 2px #fe7600;
    display: block;
}</pre>
<p><em><strong>NOTE:</strong> It&#8217;s important to have the display:block in the code for Firefox &amp; IE to wrap the border all the way around the object. Safari wrapped it fine without it.</em></p>
<p>This worked well for standards compliant browsers, but then there&#8217;s IE to deal with. IE doesn&#8217;t seem to see the object, instead it creates EMBED instead, so I tried the following code:</p>
<pre>#ie .wrapping_div embed {
    border: solid 2px #fe7600;
    display: block;
}</pre>
<p>Wow! It worked!!! But wait&#8230; IE8 now has borders on both the object AND the embed. Not good! Let&#8217;s fix that:</p>
<pre>#ie8 .wrapping_div object {
    border: none;
}</pre>
<p>I believe we now have a winner! This has been checked in IE6-8, Firefox on Mac and PC, Safari, Chrome and the latest Opera and it all looks the same. Amazing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/the-joy-of-styling-embedded-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a horizontal cross-browser menu</title>
		<link>http://www.corephp.com/blog/creating-a-horizontal-cross-browser-menu/</link>
		<comments>http://www.corephp.com/blog/creating-a-horizontal-cross-browser-menu/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 19:26:27 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">https://www.corephp.com/index.php?option=com_wordpress&#038;p=1292</guid>
		<description><![CDATA[I know there are a million and one examples out there about how to create horizontal menus using unordered lists.  The issue is that most don&#8217;t center and have no fixes for menu items that break in the middle of &#8230; <a href="http://www.corephp.com/blog/creating-a-horizontal-cross-browser-menu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know there are a million and one examples out there about how to create horizontal menus using unordered lists.  The issue is that most don&#8217;t center and have no fixes for menu items that break in the middle of the phrase. This example is for a &#8220;typical&#8221; horizontal footer menu.<span id="more-1292"></span></p>
<p>When creating your Joomla menu be sure to set the menu to LIST. This inserts the menu item id on each item so you can control individual items. Unfortunately, there is no way to have a &#8220;smart menu&#8221; where it automatically detects where borders should be removed after it wraps. If you do have control of the site though and items aren&#8217;t changing a lot then this is a perfect solution. Here is the CSS code:</p>
<pre>#footer ul {
    width: 700px;
    margin: 0 auto 10px;
    display: inline-block;
}
#footer ul li {
    display: inline;
    white-space: normal;
}
#footer ul li a {
    padding: 0 15px;
    border-left: solid 1px #666;
    display: inline-block;
    margin-bottom: 4px;
}
#footer ul li.item102 a {border: none;}</pre>
<p>The first part is typical and really needs no explanation. The <em>border: none</em> removes the left pipe on the first item in my menu (will be a different number on each site). Doing a menu this way seems to fix the issue with menu items breaking in the middle of two words at the ends which is a huge bonus as well. I know this has saved me countless hours and I hope it does for you as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/creating-a-horizontal-cross-browser-menu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Forcing IE7 display in IE8 (updated)</title>
		<link>http://www.corephp.com/blog/forcing-ie7-display-in-ie8/</link>
		<comments>http://www.corephp.com/blog/forcing-ie7-display-in-ie8/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 16:52:18 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[XHTML+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie8]]></category>

		<guid isPermaLink="false">https://www.corephp.com/index.php?option=com_wordpress&#038;p=801</guid>
		<description><![CDATA[I have been developing for IE8 since it was first released. Although they say it&#8217;s a final build, it&#8217;s actually in a late beta stage. There are several key CSS commands that haven&#8217;t been completed yet (such as :first-letter) and &#8230; <a href="http://www.corephp.com/blog/forcing-ie7-display-in-ie8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been developing for IE8 since it was first released. Although they say it&#8217;s a final build, it&#8217;s actually in a late beta stage. There are several key CSS commands that haven&#8217;t been completed yet (such as :first-letter) and some calculations that still aren&#8217;t right in the browser. This is why they built the compatibility mode into it. This creates a major issue for web developers because any conditional statements for IE8 that are put in will break the page once it is fixed. I have thought about every possible fix and the only reasonable solution that I&#8217;ve found is&#8230; kill it!</p>
<p><span id="more-801"></span>Upon scraping the web for possible solutions I came across this gem:</p>
<div>
<pre style="border-style: none; margin: 0pt; padding: 0pt; overflow: visible; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: consolas,'Courier New',courier,monospace; color: black; font-size: 8pt;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">meta</span> <span style="color: #ff0000;">http-equiv</span><span style="color: #0000ff;">="X-UA-Compatible"</span> <span style="color: #ff0000;">content</span><span style="color: #0000ff;">="IE=EmulateIE7"</span> <span style="color: #0000ff;">/&gt;
</span></pre>
<p>Enter this into the head of your page and it forces IE8 into IE7 mode. In case you didn&#8217;t know, compatibility mode is a full fledged version of IE7. It even recognizes conditional statements for IE7.</p>
<p>The next step is to have a browser sniff for the exact version that will fix the current IE8 bugs and will only load the meta tag if it&#8217;s an older version of IE8. Who knows when Microsoft will get it together enough to fix IE8&#8230;I still can&#8217;t believe they released a beta version as a final build. I guess nothing coming from them surprises me anymore. Oh well&#8230; life goes on (and so does the work)!</p>
<h3>Update:</h3>
<p>I have recently discovered a few things about this that you need to know. First, in Joomla! you must put it above jdoc:include type=&#8221;head&#8221; to get it to work. Secondly, it actually makes your browser into an IE7 browser with no compatibility mode button. All conditionals are unfortunately kept at IE8 though which creates some issues. You will have to make new conditional statements for IE8, but you can easily tag them onto your old conditionals using if lte IE 8. My solution is to kick IE8 into IE7 mode and just deal with it.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.corephp.com/blog/forcing-ie7-display-in-ie8/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

