<?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"
	>

<channel>
	<title>Chocolate2Code.com &#187; Plugins</title>
	<atom:link href="http://chocolate2code.com/category/wordpress/wordpress-plugins/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://chocolate2code.com</link>
	<description>sweet deals on blogs and websites</description>
	<pubDate>Wed, 11 Aug 2010 15:00:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Surprise! Advanced Editing Toolbar in WYSIWYG Editor</title>
		<link>http://chocolate2code.com/wordpress/wordpress-wysiwyg-editor-more-buttons/</link>
		<comments>http://chocolate2code.com/wordpress/wordpress-wysiwyg-editor-more-buttons/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 06:34:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[How Tos]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://chocolate2code.com/wordpress/wordpress-wysiwyg-editor-more-buttons/</guid>
		<description><![CDATA[Who would have thought&#8230;.I&#8217;ve been grumping about the lack of buttons in TinyMCE, the &#8220;visual editor&#8221; or WYSIWYG editor in Wordpress, and come to find out, all this time there is so much more! 
I went hunting for a plugin I&#8217;d seen that allowed custom buttons, and discovered that the standard installation of WordPress actually [...]]]></description>
			<content:encoded><![CDATA[<p>Who would have thought&#8230;.I&#8217;ve been grumping about the lack of buttons in TinyMCE, the &#8220;visual editor&#8221; or WYSIWYG editor in Wordpress, and come to find out, all this time there is so much more! </p>
<p>I went hunting for a plugin I&#8217;d seen that allowed custom buttons, and discovered that the standard installation of WordPress actually has a keyboard command that toggles some extra goodies off and on. Obviously, mine have all been off!</p>
<p>Turns out, you can Show/Hide the Advanced Editor Toolbar in the standard Wordpress installation and unlock a dozen or so extra buttons, including &#8220;Paste as Plain Text&#8221; and &#8220;Paste from Word&#8221;. When the Advanced Editor Toolbar is enabled, there is a toggle button available to turn it off. However, when it is off, you must use Alt-V (IE) or Shift-Alt-V (Firefox) to toggle the advanced buttons back &#8220;on&#8221;.</p>
<p>Adding Buttons is something I haven&#8217;t delved into yet. I need to play with this new toy first. But I learned from the Codex that under &#8220;Rich Editor Filters&#8221; in the Plugin_API/Hooks page, you can see a simple means of adding your own buttons to TinyMCE in WordPress.</p>
<p>http://codex.wordpress.org/Plugin_API/Filter_Reference#Rich_Text_Editor_Filters</p>
<p><strong>Advanced Editing Plugins</strong></p>
<p>If the Advanced Editing Toolbar buttons are not sufficient, perhaps you&#8217;re looking for a plugin to extend the functionality of the TinyMCE editor, or to add custom code snippets. Here are two you can try:</p>
<p><a href="http://www.deliciousdays.com/tinymcebuttons">Custom TinyMCE Buttons</a> (for WordPress 2.1)</p>
<p><a href="http://www.mkbergman.com/?p=384">Advanced TinyMCE Editor</a> (for Wordpress 2.2)</p>
<p>It was the former that I recalled having seen, which started me on this quest, and the latter which I discovered in the process, and informed me of the advanced toggle option. Surprised that I had never heard of it in two years of hanging out on the WordPress forums, I personally added the information to the Codex. I also added links to these two amazing plugins, which I&#8217;m sure will come in handy for others.</p>
]]></content:encoded>
			<wfw:commentRss>http://chocolate2code.com/wordpress/wordpress-wysiwyg-editor-more-buttons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cimy User Extra Fields: How to display field values outside the Loop</title>
		<link>http://chocolate2code.com/wordpress/cimy-user-extra-fields-display-field-values-outside-loop/</link>
		<comments>http://chocolate2code.com/wordpress/cimy-user-extra-fields-display-field-values-outside-loop/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 03:11:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[How Tos]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://chocolate2code.com/misc/cimy-user-extra-fields-display-field-values-outside-loop/</guid>
		<description><![CDATA[I just started using Cimy User Extra Fields on a site I&#8217;m working on, and it has some really fantastic features if you want to add information to your registration form, and your author bio or profile pages.
The one thing I have struggled with is getting the contents of a field to appear outside the [...]]]></description>
			<content:encoded><![CDATA[<p>I just started using <a href="http://www.cimatti.it/blog/2007/02/12/cimy-user-extra-fields-for-wordpress-21" title="Cimy User Extra Fields">Cimy User Extra Fields</a> on a site I&#8217;m working on, and it has some really fantastic features if you want to add information to your registration form, and your author bio or profile pages.<br />
The one thing I have struggled with is getting the contents of a field to appear outside the Loop. I am using <strong>get_cimyFieldValue</strong>, which is disabled by default (so the first step is to enable it!). The readme explains how to get a field value to display in the Loop, but not outside of it. </p>
<p>The following instructions explain what to do, provided you are working with an <a href="http://codex.wordpress.org/Author_Templates" title="WordPress instructions to create Author Template (author.php)">Author Template</a> file (author.php) per the instructions in the WordPress codex.<span id="more-14"></span><a href="http://codex.wordpress.org/Author_Templates" title="WordPress instructions to create Author Template (author.php)"> </a></p>
<p>Your author.php file should begin looking something like this:</p>
<pre>
&lt;?php get_header(); ?&gt;
&nbsp;&nbsp; &lt;div id=&quot;content&quot; class=&quot;narrowcolumn&quot;&gt;
&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!&#45;- This sets the $curauth variable &#45;-&gt;
&lt;?php
if(isset($_GET[&#039;author_name&#039;])) :
$curauth = get_userdatabylogin($author_name);
else :
$curauth = get_userdata(intval($author));
endif;
?&gt;
</pre>
<p>You have called the header, and you&#8217;ve set the <code>$curauth</code> variable. This is EXTREMELY important. Without the <code>$curauth</code> variable, the rest of these instructions will produce nothing.</p>
<p>Now, let&#8217;s say you have used Cimy User Extra Fields to create a field for the user&#8217;s favorite color, named (appropriately) &#8220;FAV_COLOR&#8221;.  You want the author&#8217;s profile to display the author&#8217;s favorite color, which is &#8220;red&#8221;. </p>
<p>Once you have declared the <code>$currauth</code> variable, you can use it to retrieve the author&#8217;s ID, which is what the <strong>get_cimyFieldValue</strong> function needs to call (and display) the author&#8217;s favorite color outside the loop.</p>
<pre>
&lt;?php $value = get_cimyFieldValue($curauth-&gt;ID, &#039;FAV_COLOR&#039;); ?&gt;
&nbsp;
&lt;?php echo $value; ?&gt;
</pre>
<p>Note that <code>$curath-&gt;ID</code> replaces <code>get_the_author_ID</code>, because <code>get_the_author_ID</code> can only be used inside the Loop. </p>
<p>On the other hand, <code>$curauth-&gt;ID</code> can only be used in this example because the <code>$curauth</code> variable has been declared at the beginning of the file, and is now available for use in the rest of the template.</p>
<p>Once again, let me reiterate that you MUST have <strong>a working author.php file</strong> (with the <code>$curauth</code> variable declared at the outset)  in order for this to function correctly.</p>
<p>Many thanks to Marco Cimmino developing <a href="http://www.cimatti.it/blog/2007/02/12/cimy-user-extra-fields-for-wordpress-21" title="Cimy User Extra Fields">Cimy User Extra Fields</a>, and for his prompt and helpful support!!</p>
]]></content:encoded>
			<wfw:commentRss>http://chocolate2code.com/wordpress/cimy-user-extra-fields-display-field-values-outside-loop/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
