<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>IntoEEtive</title>
    <link>http://www.intoeetive.com/index.php/site/index/</link>
    <description>websites that work, not just look</description>
    <dc:language>en</dc:language>
    <dc:creator>heartcry@gmail.com</dc:creator>
    <dc:rights>Copyright 2009</dc:rights>
    <dc:date>2009-08-25T08:01:55+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>A simple trick to set formatting of fields easily in SAEF</title>
      <link>http://www.intoeetive.com/index.php/site/a_simple_trick_to_set_formatting_of_fields_easily_in_saef/</link>
      <guid>http://www.intoeetive.com/index.php/site/a_simple_trick_to_set_formatting_of_fields_easily_in_saef/#When:08:01:55Z</guid>
      <description>Field formatting in Stand&#45;alone entry form in ExpressionEngine has always been pain for me. Especially in Stand&#45;alone edit form.
I rarely use the default {custom_fields} tag as I prefer to stylize each field differently, so the only solution to give proper formattion to fields was adding 
&amp;lt;input type=&#8220;hidden&#8221; name=&#8221;&#123;exp:form_helper:field_grabber field_name=&#8216;train_date_start&#8217; which=&#8216;format&#8217;&#125;&#8221; value=&#8220;none&#8221; /&amp;gt;
However, I&#8217;ve discovered much simplier way!

Include
{custom_fields}
&amp;lt;div style=&#8220;display: none&#8221;&amp;gt;&amp;lt;/div&amp;gt;
{/custom_fields}
anywhere in your template &#45; and you&#8217;ll get field formatting for all fields authomatically added to your hidden fields list!

Note the {custom_fields} tag pair should not be empty &#45; place something inside.</description>
      <dc:subject>Tips &amp; Tricks</dc:subject>
      <dc:date>2009-08-25T08:01:55+00:00</dc:date>
    </item>

    <item>
      <title>Make OpenX properly display UTF&#45;8 characters</title>
      <link>http://www.intoeetive.com/index.php/site/make_openx_properly_display_utf-8_characters/</link>
      <guid>http://www.intoeetive.com/index.php/site/make_openx_properly_display_utf-8_characters/#When:07:05:17Z</guid>
      <description>Upon installing OpenX, I realized that it does not display properly some UTF&#45;8 charactes, such as Russian &#8216;&#1048;&#8217; and &#8216;&#1096;&#8217;.

The solution (got it here) is to place SET NAMES &#8216;utf8&#8217; in two places.

file: openx/lib/OA/DB.php
search: $oDbh&#45;&gt;setFetchMode(MDB2_FETCHMODE_ASSOC);
add after: $oDbh&#45;&gt;query(&#8220;SET NAMES utf8&#8221;);

file: openx/lib/OA/Dal/Delivery/mysql.php
search: if (@mysql_select_db($dbName, $dbLink)) {
add before: @mysql_query(&#8220;SET NAMES utf8&#8221;);</description>
      <dc:subject>Tips &amp; Tricks</dc:subject>
      <dc:date>2009-08-19T07:05:17+00:00</dc:date>
    </item>

    <item>
      <title>jQuery ajax not working in IE</title>
      <link>http://www.intoeetive.com/index.php/site/jquery_ajax_not_working_in_ie/</link>
      <guid>http://www.intoeetive.com/index.php/site/jquery_ajax_not_working_in_ie/#When:06:58:50Z</guid>
      <description>Once upon a time  I faced a strange problem:
I was trying lo load the remote page via jQuery load() function. In Firefox, everything worked perfectly, but Internet Explorer returned just nothing.
The request was sent, but the function (as well as other jQuery ajax functions &#45; I tried) returned just parsererror.
After spending several hours googling trying different thing, I found that solution was very simple, watch this:
I had in my .htaccess
AddDefaultCharset utf8
This is WRONG, should be
AddDefaultCharset utf&#45;8
IE could not recognize the charset &#8216;utf8&#8217; and therefore returned parsererror (though there was no need to parse anything )</description>
      <dc:subject>Tips &amp; Tricks</dc:subject>
      <dc:date>2009-08-19T06:58:50+00:00</dc:date>
    </item>

    <item>
      <title>Gallery select extension for FieldFrame</title>
      <link>http://www.intoeetive.com/index.php/site/gallery_select_exrension_for_fieldframe/</link>
      <guid>http://www.intoeetive.com/index.php/site/gallery_select_exrension_for_fieldframe/#When:10:38:03Z</guid>
      <description>As some of you might know, Brandon Kelly has written FieldFrame &#45; ExpressionEngine extension and framework that enables easy adding of custom weblog fields.

Following the steps, I&#8217;ve created a field type called Gallery &#45; which allows the admin to select one or several gallery categories that will be linked to the entry.

To install, copy the galleries folder and its content to the folde that has your FieldFrame custom fieldtype definitions (usually) extensions/fieldtypes and enable it in Admin  ???&amp;nbsp; Utilities  ???&amp;nbsp; Extensions Manager  ???&amp;nbsp; Fieldtypes Manager. Of course, you&#8217;ll need to have FieldFrame installed.

Now, you can see Gallery in the list of possible field types when creating new custom fields.

Use as usually with FieldFrame field types:
{custom_field_name}
&amp;lt;a href=&#8221;http://www.intoeetive.com/index.php/galleries/{option}&#8221;&amp;gt;{option_name}&amp;lt;/a&amp;gt;
{/custom_field_name}
Replace custom_field_name with your field name</description>
      <dc:subject>Extending EE, Extensions</dc:subject>
      <dc:date>2009-05-31T10:38:03+00:00</dc:date>
    </item>

    <item>
      <title>Pupulating relationship field in stand&#45;alone edit form</title>
      <link>http://www.intoeetive.com/index.php/site/pupulating_relationship_field_in_stand-alone_edit_form/</link>
      <guid>http://www.intoeetive.com/index.php/site/pupulating_relationship_field_in_stand-alone_edit_form/#When:13:58:41Z</guid>
      <description>I&#39;ve extended capabilities of Solspace Form_Helper plugin.
Now you can easily manipulate your custom relationship fields in ExpressionEngine stand&#45;alone edit form. 
Please note that you need the Form Helper plugin, that you can obtain here. Currently only &#39;weblog&#39; type of relationship is supported.

Just add anywhere in the plugin body new function:


	// &#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
	//  Custom Relationship
	// &#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
	
	function custom_relationship()
	{
		global $DB, $TMPL;
		
		$entry_id	= ( $TMPL&#45;&gt;fetch_param(&#39;entry_id&#39;) ) ? $TMPL&#45;&gt;fetch_param(&#39;entry_id&#39;): &#39;&#39;;
		$field_name	= ( $TMPL&#45;&gt;fetch_param(&#39;field_name&#39;) ) ? $TMPL&#45;&gt;fetch_param(&#39;field_name&#39;): &#39;&#39;;
		
		$getweblog		= $DB&#45;&gt;query(&quot;SELECT f.field_id, f.field_related_id AS id FROM exp_weblog_fields AS f, exp_weblogs AS w WHERE f.group_id=w.field_group AND f.field_name=&#39;&quot;.$field_name.&quot;&#39;&quot;);

		if ($getweblog&#45;&gt;num_rows == 0) {return;}

		$values		= $DB&#45;&gt;query(&quot;SELECT DISTINCT entry_id AS eid, title AS et FROM exp_weblog_titles WHERE weblog_id=&#39;&quot;.$getweblog&#45;&gt;row[&#39;id&#39;].&quot;&#39; AND status!=&#39;closed&#39;&quot;);

		if ($values&#45;&gt;num_rows == 0) {return;}
		
		$selected		= $DB&#45;&gt;query(&quot;SELECT r.rel_child_id AS id FROM exp_relationships AS r WHERE r.rel_parent_id=&#39;&quot;.$entry_id.&quot;&#39;&quot;);

		if ($selected&#45;&gt;num_rows == 0) {$selected&#45;&gt;row[&#39;id&#39;]=&#39;&#39;;}

		// &#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
		//  Parse tagdata
		// &#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
		$output	= &#39;&#39;;
		
		foreach($values&#45;&gt;result as $row)

		{
			$tagdata	= $TMPL&#45;&gt;tagdata;
			
			if ( $row[&#39;eid&#39;] == $selected&#45;&gt;row[&#39;id&#39;] )
			{
				$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;selected&#39;, &#39;selected&#39;, $tagdata);
				$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;checked&#39;, &#39;checked&#39;, $tagdata);
			}
			else
			{
				$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;selected&#39;, &#39;&#39;, $tagdata);
				$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;checked&#39;, &#39;&#39;, $tagdata);
			}
			
			$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;field_id&#39;, $getweblog&#45;&gt;row[&#39;field_id&#39;], $tagdata);
			$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;value&#39;, $row[&#39;eid&#39;], $tagdata);
			$tagdata	= $TMPL&#45;&gt;swap_var_single(&#39;label&#39;, $row[&#39;et&#39;], $tagdata);
			
			$output		.= $tagdata;
		}
		//	End parse tagdata
		
		return $output;
	}
	
	//	End custom Relationship	


Usage instuctions:
&#123;exp:form_helper:custom_relationship entry_id=&quot;{entry_id&#125;&quot; field_name=&quot;summaries&quot;}&#123;/exp:form_helper:custom_relationship&#125;

Note that this tag requires an entry_id.

Example 1

&#123;exp:form_helper:custom_relationship entry_id=&quot;{entry_id&#125;&quot; field_name=&quot;summaries&quot;}
{label}
&#123;/exp:form_helper:custom_relationship&#125;



Example 2
&#123;exp:form_helper:custom_relationship entry_id=&quot;{entry_id&#125;&quot; field_name=&quot;summaries&quot;}
{label}
&#123;/exp:form_helper:custom_relationship&#125;</description>
      <dc:subject>Extending EE, Plugins</dc:subject>
      <dc:date>2009-03-31T13:58:41+00:00</dc:date>
    </item>

    <item>
      <title>Buddies plugin &#45; easy friendship management for EE</title>
      <link>http://www.intoeetive.com/index.php/site/buddies_plugin_-_easy_frienship_management_for_ee/</link>
      <guid>http://www.intoeetive.com/index.php/site/buddies_plugin_-_easy_frienship_management_for_ee/#When:14:29:38Z</guid>
      <description>This plugin enables users to have buddies/friends/followers just like in many popular social networks and blogging systems.
The users are able to add/remove others as their friends. The lists of friends added by user and also who added him can be displayed.
Also, you can have &#8220;enemies&#8221; along with friends &#45; for fun or for something useful.
The plugin is using standard database table, so it&#8217;s 100% compatible with Buddies/Blocked list that can be found under Personal messages in user&#8217;s Control Panel.

&#123;exp:buddies:add subject_id=&#8221;%member_id_1%&#8221; object_id=&#8221;%member_id_2%&#8221; type=&#8220;buddy&#8221;&#125;
Add a member as friend of another member.
subject_id &#45; member_id of user who wants to add a friend
object_id &#45; member_id of the user to be added as friend
type &#45; can be omited. Defaults to &#8216;buddy&#8217; but you can set it to &#8216;blocked&#8217; to work with blocked members instead

&#123;exp:buddies:remove subject_id=&#8221;%member_id_1%&#8221; object_id=&#8221;%member_id_2%&#8221; type=&#8220;buddy&#8221;&#125;
Remove a member from friends of another member.
subject_id &#45; member_id of user who wants to remove a friend
object_id &#45; member_id of the user to be removed from friends
type &#45; can be omited. Defaults to &#8216;buddy&#8217; but you can set it to &#8216;blocked&#8217; to work with blocked members instead

&#123;exp:buddies:check subject_id=&#8221;%member_id_1%&#8221; object_id=&#8221;%member_id_2%&#8221; type=&#8220;buddy&#8221;&#125;
...some html here&#8230;
&#123;/exp:buddies:check&#125;
Check whether a member is friend of another member.
Does not return anything, but the code inside is displayed only if the object member IS NOT a friend of subject 

&#123;exp:buddies:display subject_id=&#8221;%member_id_1%&#8221; type=&#8220;buddy&#8221;&#125;
0
{username}
{screen_name}
{avatar_filename}
...any other field available in exp_members table
&#123;/exp:buddies:display&#125;
Display friends of a member.
subject_id &#45; member_id of user to display his friends
type &#45; can be omited. Defaults to &#8216;buddy&#8217; but you can set it to &#8216;blocked&#8217; to work with blocked members instead

&#123;exp:buddies:display_reverse subject_id=&#8221;%member_id_1%&#8221; type=&#8220;buddy&#8221;&#125;
0
{username}
{screen_name}
{avatar_filename}
...any other field available in exp_members table
&#123;/exp:buddies:display&#125;
Display members, for whom choosen member is a friend.
subject_id &#45; member_id of user who is &#8220;friend of&#8221; users to display
type &#45; can be omited. Defaults to &#8216;buddy&#8217; but you can set it to &#8216;blocked&#8217; to work with blocked members instead</description>
      <dc:subject>Extending EE, Plugins</dc:subject>
      <dc:date>2009-03-11T14:29:38+00:00</dc:date>
    </item>

    <item>
      <title>Title generator</title>
      <link>http://www.intoeetive.com/index.php/site/title_generator/</link>
      <guid>http://www.intoeetive.com/index.php/site/title_generator/#When:12:02:00Z</guid>
      <description>If you occasionally didn&#8217;t provide title for the entry you create, it can be automatically set to category name(s) of the entry. Can be especially useful in SAEF.</description>
      <dc:subject>Extending EE, Extensions</dc:subject>
      <dc:date>2009-03-02T12:02:00+00:00</dc:date>
    </item>

    <item>
      <title>Entry rating: multiple ratings</title>
      <link>http://www.intoeetive.com/index.php/site/entry_rating_multiple_ratings/</link>
      <guid>http://www.intoeetive.com/index.php/site/entry_rating_multiple_ratings/#When:21:06:35Z</guid>
      <description>This is a modification of Entry rating module by Oliver Heine that allows to have multiple ratings per entry &#45; for example, if you want to enable users to rate entry by several criterias.
To use, add parameter rating=&#8220;1&#8221; to any of module&#8217;s tags (replace 1 with 2,3,etc. &#45; you can have as many rating as you need. 
If you have just one rating parameter &#45; call the module as usual.</description>
      <dc:subject>Extending EE, Modules</dc:subject>
      <dc:date>2009-02-25T21:06:35+00:00</dc:date>
    </item>

    <item>
      <title>Get similar entries (useful for catalogs etc.)</title>
      <link>http://www.intoeetive.com/index.php/site/get_similar_entries/</link>
      <guid>http://www.intoeetive.com/index.php/site/get_similar_entries/#When:12:15:12Z</guid>
      <description>On a single&#45;entry page, it is nice when you can display links to &#8220;similar entries&#8221;.
For example, I have a catalogue of cars for sale and when a user views the car??™s page I want to show him links to several cars of the same type sold for the same price.
To achieve this, you can filter (search) entries by custom field or use categories. However, both methods have limitations.
So I wrote a plugin called ???Similar Entries???

You call it providing an entry_id and a list of fields by which you??™d like to find similar entries (in my case, that will be price and type). And it will display entries which are similar (not exactly fitting). You can provide both strings and numbers (with +&#45; range to search). The plugin respects categories as well, but if it can??™t find similar entries in your category &#45; it will seach in others/

Please find detailed usage instuction on the plugin page at your EE installation.

The plugin currently does not use title to find similar entries &#45; only the custom fields (and categories). 

Support thread on EE forums</description>
      <dc:subject>Extending EE, Plugins</dc:subject>
      <dc:date>2009-02-15T12:15:12+00:00</dc:date>
    </item>

    <item>
      <title>Portfolio</title>
      <link>http://www.intoeetive.com/index.php/site/portfolio/</link>
      <guid>http://www.intoeetive.com/index.php/site/portfolio/#When:11:37:02Z</guid>
      <description>I specialize in ExpressionEngine &#45; creating custom extensions as well as ready&#45;to&#45;go sites.

There are 3 main places where you can see my work:

1. This website 
2. Weblancer
3. Elance

If you want to hire me, or have any questions &#45; simply email  or</description>
      <dc:subject>Works</dc:subject>
      <dc:date>2009-02-15T11:37:02+00:00</dc:date>
    </item>

    
    </channel>
</rss>