<?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>Albertech.net &#187; CMS</title>
	<atom:link href="http://albertech.net/category/cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://albertech.net</link>
	<description>Tips, Tricks, and Reviews in Linux, Apache, MySQL, PHP</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:09:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TinyMCE: Fix the removing of empty DIVs</title>
		<link>http://albertech.net/2009/10/tinymce-fix-empty-tag-removal/</link>
		<comments>http://albertech.net/2009/10/tinymce-fix-empty-tag-removal/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 19:23:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[empty divs]]></category>
		<category><![CDATA[tinymce]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=306</guid>
		<description><![CDATA[TinyMCE is a great WYSIWYG editor, but sometimes there are cases where it removes HTML tags when you go into the "HTML Source" mode and switch back to the editor.  This is very frustrating to end-users.

By default, TinyMCE will remove a lot of HTML tags including empty ones (such has having a DIV spacer), select options, certain styles, etc. To get around this, you will need to change the option "extended_valid_elements", which is before the setup : function(ed) line. Note: This will allow your users to add in any kind of HTML tags they want. Replace the "extended_valid_elements" line with:.....
]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2009%252F10%252Ftinymce-fix-empty-tag-removal%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22TinyMCE%3A%20Fix%20the%20removing%20of%20empty%20DIVs%22%20%7D);"></div>
<p><strong>TinyMCE is a great WYSIWYG editor, but sometimes there are cases where it removes HTML tags when you go into the &#8220;HTML Source&#8221; mode and switch back to the editor.</strong> This is very frustrating to end-users.</p>
<p>By default, TinyMCE will remove a lot of HTML tags including empty ones (such has having a DIV spacer), select options, certain styles, etc. To get around this, you will need to change the option &#8220;extended_valid_elements&#8221;, which is before the <strong>setup : function(ed) line.</strong> Note: This will allow your users to add in any kind of HTML tags they want. Replace the &#8220;extended_valid_elements&#8221; line with:</p>
<p><code>valid_elements : "*[*]",<br />
extended_valid_elements : "*[*]",</code></p>
<p>This will fix the problem with TinyMCE removing tags from the HTML Source mode.</p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2009/10/tinymce-fix-empty-tag-removal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp SF 2009</title>
		<link>http://albertech.net/2009/06/wordcamp-sf-2009/</link>
		<comments>http://albertech.net/2009/06/wordcamp-sf-2009/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:04:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordcamp]]></category>
		<category><![CDATA[wordpress mu]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=181</guid>
		<description><![CDATA[I attended WordCamp SF for the first time in 2009. There was some exciting news at the camp, especially with the news that WordPress MU functionality is going to get integrated with WordPress. This will be nice considering updates for WordPress MU are usually a month or so behind. What will this mean? Hopefully, it will bring a larger community in maintaining and adding new plugins for WordPress (MU).  The question will be whether it will be easy to convert an existing WordPress MU install over to the new WordPress. (Possibly WordPress 3.0?)
]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2009%252F06%252Fwordcamp-sf-2009%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22WordCamp%20SF%202009%22%20%7D);"></div>
<p> <img class="alignnone" title="WordCamp 2009" src="http://farm4.static.flickr.com/3601/3588572640_bf524f6fa5.jpg?v=0" alt="" width="500" height="333" /><br />
<strong>I attended WordCamp SF for the first time in 2009.</strong> There was some exciting news at the camp, especially with the news that WordPress MU functionality is going to get integrated with WordPress. This will be nice considering updates for WordPress MU are usually a month or so behind. What will this mean? Hopefully, it will bring a larger community in maintaining and adding new plugins for WordPress (MU).  The question will be whether it will be easy to convert an existing WordPress MU install over to the new WordPress. (Possibly WordPress 3.0?)</p>
<p><strong>Highlights of the conference:<br />
Timothy Ferriss</strong>, nominated as one of Fast Company’s “Most Innovative Business People of 2007,” is an angel investor and author of the #1 New York Times, Wall Street Journal, and BusinessWeek bestseller, <a href="http://www.amazon.com/gp/product/0307353133?ie=UTF8&amp;tag=offsitoftimfe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0307353133" target="_blank">The 4-Hour Workweek</a>, which has been sold into 35 languages. He had a lot of good points on tweaking blogs to reach a larger audience.</p>
<p><strong>WordPress gear!</strong> I plan on sending out some stickers and buttons I got at the conference.. stay tuned.</p>
<p><strong>BuddyPress</strong> There&#8217;s a lot of potential with the community aspect of blogs. I&#8217;m hoping this functionality will be integrated with WordPress MU.</p>
<p><strong>Community Speakers and Authors</strong>: <a href="http://2009.sf.wordcamp.org/speakers/#chris">http://2009.sf.wordcamp.org/speakers/#chris</a> Chris Pirillo is an excellent speaker, had a lot of interesting points about the importance of the community.</p>
<p><a href="http://2009.sf.wordcamp.org/speakers/#tara">http://2009.sf.wordcamp.org/speakers/#tara</a> Tara Hunt&#8217;s book about the value of building community vs. buying a community.</p>
<p><a href="http://2009.sf.wordcamp.org/speakers/#cali">http://2009.sf.wordcamp.org/speakers/#cali</a> Cali Lewis (GeekBrief.TV) talked about building an interactive audience. Learned a lot about the challenges of video vs. audio cast.</p>
<p>Last but not least, the community! It was great meeting everyone at the after party.</p>
<p><strong>More info about the upcoming merge with WordPress MU and WordPress (see the comments below the post)</strong><br />
<a href="http://technosailor.com/2009/05/30/wordcamp-sf-announcement-wordpress-and-wordpress-mu-to-merge/">http://technosailor.com/2009/05/30/wordcamp-sf-announcement-wordpress-and-wordpress-mu-to-merge/</a></p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2009/06/wordcamp-sf-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress MU: Add private blogs</title>
		<link>http://albertech.net/2009/04/wordpress-mu-add-private-blogs/</link>
		<comments>http://albertech.net/2009/04/wordpress-mu-add-private-blogs/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 17:40:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[private blog]]></category>
		<category><![CDATA[wordpress mu]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=145</guid>
		<description><![CDATA[I have found a really useful plugin in Wordpress MU for making a blog private. Sometimes, committees need a way to share information away from home and they don't want everything posted to be known by the world. Rather than using the "Password protect post" option, there is a way to only allow registered users that are members of the blog to view the post. 

By default, the privacy options in Wordpress MU is limited to 1) Public, allow search engines 2) Public, don't allow search engines.

http://wpmudev.org/project/More-Privacy-Options

This plugin adds functionality:
3) I would like my blog to be visible only to registered users from blog community
4) I would like my blog to be visible to registered members of this blog
5) I would like my blog to be visible only to administrators]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2009%252F04%252Fwordpress-mu-add-private-blogs%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FczS9U0%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Wordpress%20MU%3A%20Add%20private%20blogs%22%20%7D);"></div>
<p>I have found a really useful plugin in Wordpress MU for making a blog private. Sometimes, committees need a way to share information away from home and they don&#8217;t want everything posted to be known by the world. Rather than using the &#8220;Password protect post&#8221; option, there is a way to only allow registered users that are members of the blog to view the post.</p>
<p>By default, the privacy options in Wordpress MU is limited to 1) Public, allow search engines 2) Public, don&#8217;t allow search engines.</p>
<p><a href="http://wpmudev.org/project/More-Privacy-Options">http://wpmudev.org/project/More-Privacy-Options</a></p>
<p><strong>This plugin adds functionality:</strong><br />
3) I would like my blog to be visible only to registered users from blog community<br />
4) <strong>I would like my blog to be visible to registered members of this blog<br />
</strong>5) I would like my blog to be visible only to administrators</p>
<p><strong>To install:</strong><br />
1) Download the plugin file.<br />
2) Copy the plugin file to the plugin folder in Wordpress MU<br />
3) In the Plugin interface in Wordpress MU, activate the &#8220;More Privacy Options&#8221; Plugin<br />
4) In the Privacy option of the blog (under Settings -&gt; Privacy) you will have the additional privacy options. Select the &#8220;I would like my blog to be visible to registered members of this blog<br />
I would like my blog to be visible to registered members of this blog&#8221; option.<br />
5) Note: AFAIK, this is on a site by site basis, so will need to enable this plugin for each blog you want to add it to.</p>
<p><strong>Update 4/28/2010:</strong><br />
If you upgrade WordPress MU to a newer version, you will need to set the &#8220;Privacy Settings&#8221; again. Occasionally, the WordPress upgrade will reset the privacy settings back to default.</p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2009/04/wordpress-mu-add-private-blogs/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tiny MCE &#8211; Getting forms to work</title>
		<link>http://albertech.net/2009/04/tiny-mce-getting-forms-to-work/</link>
		<comments>http://albertech.net/2009/04/tiny-mce-getting-forms-to-work/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 22:38:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[tinymce]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=137</guid>
		<description><![CDATA[The Tiny MCE editor has some restrictions on what types of form elements can be used. The form name="[OBJECT"] bug, early /form tags getting added in the form, and certain form elements getting deleted.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2009%252F04%252Ftiny-mce-getting-forms-to-work%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Tiny%20MCE%20-%20Getting%20forms%20to%20work%22%20%7D);"></div>
<p>Getting <a href="http://tinymce.moxiecode.com/">Tiny MCE</a> to work with forms is a challenge since it can place end form tags within the page and rename your form elements. Although they do not recommend using forms inside the editor, it can be done by some workarounds. I&#8217;ve put some common issues with forms with Tiny MCE and the workaround.</p>
<p><strong>The &lt;form name=&#8221;[OBJECT"]&gt; bug</strong><br />
For instance, input fields CANNOT be named &#8220;name&#8221; (so use other identifiers for the first and last name) and ids CANNOT be named &#8220;id&#8221;. Otherwise, you will have a form element that will have a field called &#8220;&lt;form name=&#8221;[OBJECT]&#8220;&gt; or &lt;form id=&#8221;[OBJECT]&#8220;&gt;</p>
<p><strong>Early &lt;/form&gt; tags getting added in the form</strong><br />
Another limitation is placing &lt;p&gt; tags within the form. This somehow causes TinyMCE to create &lt;/form&gt; tags after the &lt;/p&gt; field.</p>
<p><strong>If you find certain form elements getting deleted, you will need to use the extended_valid_elements variable in the configuration.</strong> </p>
<p>For instance,<br />
extended_valid_elements : &#8220;form[*],input[*],textarea[cols|rows]&#8220;,</p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2009/04/tiny-mce-getting-forms-to-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom width icons in TinyMCE</title>
		<link>http://albertech.net/2009/03/custom-width-icons-on-tinymce/</link>
		<comments>http://albertech.net/2009/03/custom-width-icons-on-tinymce/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 00:50:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[custom buttons]]></category>
		<category><![CDATA[tinymce]]></category>

		<guid isPermaLink="false">http://albertech.net/?p=97</guid>
		<description><![CDATA[<strong>In order to make icons wider in TinyMCE, you will need to remove the default width on the mceIcon class. </strong>Its forced at 20px, which limits all icons to be square.

<strong>To make the change, go to your ui.css file</strong>
For advanced theme users, its located in themes<strong>/advanced/skils/default/ui.css</strong>

<strong>In Version 3.2.2.1, its line 30:</strong>
<code>.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}</code>

The line should be changed to:
<code>.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; height:20px}
</code>

<strong>Next, you will need to define your custom button when initializing TinyMCE</strong>.

<strong>To make the change, go to your ui.css file</strong>
For advanced theme users, its located in themes<strong>/advanced/skils/default/ui.css</strong>

<strong>In Version 3.2.2.1, its line 30:</strong>
<code>.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}</code>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Falbertech.net%252F2009%252F03%252Fcustom-width-icons-on-tinymce%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Custom%20width%20icons%20in%20TinyMCE%22%20%7D);"></div>
<p><strong>In order to make icons wider in TinyMCE, you will need to remove the default width on the mceIcon class. </strong>Its forced at 20px, which limits all icons to be square.</p>
<p><strong>To make the change, go to your ui.css file</strong><br />
For advanced theme users, its located in themes<strong>/advanced/skils/default/ui.css</strong></p>
<p><strong>In Version 3.2.2.1, its line 30:</strong><br />
<code>.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}</code></p>
<p>The line should be changed to:<br />
<code>.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; height:20px}<br />
</code></p>
<p><strong>Next, you will need to define your custom button when initializing TinyMCE</strong>.<br />
Using the example:<br />
<code>setup : function(ed) {<br />
// Add a custom button<br />
ed.addButton('mycustombutton', {<br />
title : 'My custom button',<br />
image : 'img/[Filename of custom button]',<br />
onclick : function() {<br />
ed.selection.setContent('&lt;strong&gt;Hello world!&lt;/strong&gt;');<br />
}<br />
});<br />
</code></p>
<p><strong>Add the button to the menubar</strong>, which is in the section defined with &#8220;theme_advanced_buttons&#8230;&#8221;<br />
For my example, I will need to append &#8220;mycustombutton,&#8221; to it</p>
<p><strong>You will then need edit the ui.css file with the wider button</strong>. For simplicity, add it to the end of the ui.css file so you can easily copy it when a new version of Tiny MCE is released. Replace the boldface &#8220;mycustombutton&#8221; with the name of your button. If you button name is mrfancypants, then it will be .defaultSkin a.mce_mrfancypants</p>
<p><code>/* Custom button */<br />
.defaultSkin a.mce_<strong>mycustombutton</strong> {<br />
width: 65px;<br />
}<br />
</code></p>
<p>That should be it! I plan on adding a lot more TinyMCE tutorials since I&#8217;ve decided to change the WYSIWYG component on all my applications to TinyMCE. CSS works really well with TinyMCE and cross platform browsers.</p>

]]></content:encoded>
			<wfw:commentRss>http://albertech.net/2009/03/custom-width-icons-on-tinymce/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
