<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Core Functionality Concept</title>
	<atom:link href="http://rhymedcode.net/analysis-design/core-functionality-concept/feed/" rel="self" type="application/rss+xml" />
	<link>http://rhymedcode.net/analysis-design/core-functionality-concept/</link>
	<description>Synergy of Art and Science</description>
	<lastBuildDate>Sun, 29 Apr 2012 13:35:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: ArjanV</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-35565</link>
		<dc:creator>ArjanV</dc:creator>
		<pubDate>Fri, 11 May 2007 21:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-35565</guid>
		<description>any one has this working?

I&#039;ve downloaden these 3 files
application.class.php
main.php
page.class.php

When activate the plugin i get this
error:
Array ( ) 
Warning: include(C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel/OptionsPage.php) [function.include]: failed to open stream: No such file or directory in C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel\main.php on line 263

Warning: include() [function.include]: Failed opening &#039;C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel/OptionsPage.php&#039; for inclusion (include_path=&#039;.;C:\www\xampp\php\pear\&#039;) in C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel\main.php on line 263</description>
		<content:encoded><![CDATA[<p>any one has this working?</p>
<p>I&#8217;ve downloaden these 3 files<br />
application.class.php<br />
main.php<br />
page.class.php</p>
<p>When activate the plugin i get this<br />
error:<br />
Array ( )<br />
Warning: include(C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel/OptionsPage.php) [function.include]: failed to open stream: No such file or directory in C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel\main.php on line 263</p>
<p>Warning: include() [function.include]: Failed opening &#8216;C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel/OptionsPage.php&#8217; for inclusion (include_path=&#8217;.;C:\www\xampp\php\pear\&#8217;) in C:\www\xampp\htdocs\vdham\wp-content\plugins\rc-custom-write-panel\main.php on line 263</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-35107</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Wed, 09 May 2007 08:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-35107</guid>
		<description>Is it possible to establish parent-child relationships between posts using this plugin? Such as: in a post of type &quot;Person&quot; have a dropdown list of countries, where countries are another type of post. 

I&#039;ve seen that structured blogging can&#039;t do this, it can only provide a hardcoded list for dropdowns, which is no option for me.

Tnx in advance.</description>
		<content:encoded><![CDATA[<p>Is it possible to establish parent-child relationships between posts using this plugin? Such as: in a post of type &#8220;Person&#8221; have a dropdown list of countries, where countries are another type of post. </p>
<p>I&#8217;ve seen that structured blogging can&#8217;t do this, it can only provide a hardcoded list for dropdowns, which is no option for me.</p>
<p>Tnx in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helder Luis</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-32260</link>
		<dc:creator>Helder Luis</dc:creator>
		<pubDate>Sat, 21 Apr 2007 15:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-32260</guid>
		<description>Does this works with pages? That would be awesome... much more useful... for catalogs, portfolios, etc.

Please let me know...

Thanks
hl</description>
		<content:encoded><![CDATA[<p>Does this works with pages? That would be awesome&#8230; much more useful&#8230; for catalogs, portfolios, etc.</p>
<p>Please let me know&#8230;</p>
<p>Thanks<br />
hl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30965</link>
		<dc:creator>Raul</dc:creator>
		<pubDate>Wed, 11 Apr 2007 17:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30965</guid>
		<description>Josha, 

&quot;was going to do&quot;, still going to do, so not done yet. 

If you have development code available (i see something on dev.wp-plugins.org), we will attempt to work against that and move usable patches back to you. 

-Raul</description>
		<content:encoded><![CDATA[<p>Josha, </p>
<p>&#8220;was going to do&#8221;, still going to do, so not done yet. </p>
<p>If you have development code available (i see something on dev.wp-plugins.org), we will attempt to work against that and move usable patches back to you. </p>
<p>-Raul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30590</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sun, 08 Apr 2007 23:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30590</guid>
		<description>Joshua,

Thanks for your helpful nudges in the right direction... sorry to clutter your blog, but if anyone else reads this thread and is curious about a solution to the submenu problem we&#039;re discussing, here is a solution I came up with, that seems to work pretty well.

The reason that submenus normally get highlighted for normal submenu pages, is because menu-header.php checks that the submenu itmes second element is equal to a stripped down PHP_SELF. line 38 of menu-header.php handles this case.

But when you use the trick that Joshua and I are discussing, this doesn&#039;t work. There is another feature of submenus handled on line 36 of menu-header.php where if the global variable $submenu_file is set and is equal to $item[2], then the submenu will also be drawn as current. 

If you can set $submenu_current to the same URL as you used in your add_submenu_page, then the submenu will show as current.

I accomplished this by implementing an admin_head hook, and setting that global variable if the $_SERVER[REQUEST_URI] is one of my custom submenus. This works like a charm.

I also figured out why my other submenus weren&#039;t drawing correctly. It was because of some other change I made unrelated to this plugin.

By the way, I think this is a great site, Joshua, your Loop tutorials are really solid! Thanks!</description>
		<content:encoded><![CDATA[<p>Joshua,</p>
<p>Thanks for your helpful nudges in the right direction&#8230; sorry to clutter your blog, but if anyone else reads this thread and is curious about a solution to the submenu problem we&#8217;re discussing, here is a solution I came up with, that seems to work pretty well.</p>
<p>The reason that submenus normally get highlighted for normal submenu pages, is because menu-header.php checks that the submenu itmes second element is equal to a stripped down PHP_SELF. line 38 of menu-header.php handles this case.</p>
<p>But when you use the trick that Joshua and I are discussing, this doesn&#8217;t work. There is another feature of submenus handled on line 36 of menu-header.php where if the global variable $submenu_file is set and is equal to $item[2], then the submenu will also be drawn as current. </p>
<p>If you can set $submenu_current to the same URL as you used in your add_submenu_page, then the submenu will show as current.</p>
<p>I accomplished this by implementing an admin_head hook, and setting that global variable if the $_SERVER[REQUEST_URI] is one of my custom submenus. This works like a charm.</p>
<p>I also figured out why my other submenus weren&#8217;t drawing correctly. It was because of some other change I made unrelated to this plugin.</p>
<p>By the way, I think this is a great site, Joshua, your Loop tutorials are really solid! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30563</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sun, 08 Apr 2007 18:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30563</guid>
		<description>hmmm... ok, now I know what you mean about the submenu not being active. But what is strange is that I am not seeing the submenu selection behavior even when I don&#039;t have my plugin installed. But I might have broken something else on my install.</description>
		<content:encoded><![CDATA[<p>hmmm&#8230; ok, now I know what you mean about the submenu not being active. But what is strange is that I am not seeing the submenu selection behavior even when I don&#8217;t have my plugin installed. But I might have broken something else on my install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30504</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sun, 08 Apr 2007 07:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30504</guid>
		<description>That&#039;s awesome... 

After I sent this comment... I kept playing around with my code and basically came up with this exact some concept. I basically made my action hook for edit_form_advanced check _SERVER[&#039;REQUEST_URI&#039;] for the parameters, and if it&#039;s there it would or would not add the additional controls.

So my add_submenu_page code was something like this...

&lt;code&gt;
add_submenu_page(&#039;post-new.php&#039;, &#039;Custom New&#039;, &#039;Custom New&#039;, 0, &#039;post-new.php?foo&#039;, &#039;&#039;);
&lt;/code&gt;

I guess great minds think alike.

What do you mean &quot;the menu the user clicks on won&#039;t become active like regular plugin menu&quot;? I don&#039;t see any different behavior in my implementation... it acts the same as Write Post or Write Page.</description>
		<content:encoded><![CDATA[<p>That&#8217;s awesome&#8230; </p>
<p>After I sent this comment&#8230; I kept playing around with my code and basically came up with this exact some concept. I basically made my action hook for edit_form_advanced check _SERVER['REQUEST_URI'] for the parameters, and if it&#8217;s there it would or would not add the additional controls.</p>
<p>So my add_submenu_page code was something like this&#8230;</p>
<p><code><br />
add_submenu_page('post-new.php', 'Custom New', 'Custom New', 0, 'post-new.php?foo', '');<br />
</code></p>
<p>I guess great minds think alike.</p>
<p>What do you mean &#8220;the menu the user clicks on won&#8217;t become active like regular plugin menu&#8221;? I don&#8217;t see any different behavior in my implementation&#8230; it acts the same as Write Post or Write Page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30400</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Sat, 07 Apr 2007 06:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30400</guid>
		<description>Well, my plugin add menus which, when clicked on, will redirect to &lt;code&gt;post-new.php&lt;/code&gt;, and pass some query parameter for my plugin&#039;s purpose.

&lt;a href=&quot;http://dev.wp-plugins.org/browser/custom-write-panel/trunk/main.php#L155&quot; rel=&quot;nofollow&quot;&gt; Line 155&lt;/a&gt; is how I add the menus. Notice I pass the param &lt;code&gt;rc_cwp_panel_id&lt;/code&gt; and the param is handled on &lt;a href=&quot;http://dev.wp-plugins.org/browser/custom-write-panel/trunk/main.php#L69&quot; rel=&quot;nofollow&quot;&gt;line 69&lt;/a&gt;, which will redirect to &lt;code&gt;post-new.php&lt;/code&gt;. 

Be aware that with this method, the menu the user clicks on won&#039;t become active like regular plugin menu, but that can be resolved some way.

Anyway, don&#039;t try to download and install it at its current state &#039;cause the sky will fall. And the code will change a lot after the weekend because I&#039;ll be re-doing some areas, re factoring, yada...yada...good luck with your plugin.</description>
		<content:encoded><![CDATA[<p>Well, my plugin add menus which, when clicked on, will redirect to <code>post-new.php</code>, and pass some query parameter for my plugin&#8217;s purpose.</p>
<p><a href="http://dev.wp-plugins.org/browser/custom-write-panel/trunk/main.php#L155" rel="nofollow"> Line 155</a> is how I add the menus. Notice I pass the param <code>rc_cwp_panel_id</code> and the param is handled on <a href="http://dev.wp-plugins.org/browser/custom-write-panel/trunk/main.php#L69" rel="nofollow">line 69</a>, which will redirect to <code>post-new.php</code>. </p>
<p>Be aware that with this method, the menu the user clicks on won&#8217;t become active like regular plugin menu, but that can be resolved some way.</p>
<p>Anyway, don&#8217;t try to download and install it at its current state &#8217;cause the sky will fall. And the code will change a lot after the weekend because I&#8217;ll be re-doing some areas, re factoring, yada&#8230;yada&#8230;good luck with your plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30398</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sat, 07 Apr 2007 06:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30398</guid>
		<description>Joshua,

I like your stuff, I&#039;ve learned a bunch from reading your site. I&#039;ve actually been working on some custom write pages myself. I realize you planned to post the code sometime this weekend, but in the event you get delayed, I just have one question.

How do you &quot;easily&quot; add additional &quot;Write Post&quot; menu items using just plugins. I&#039;ve sort of figured out how to do it with core hacks, and I&#039;ve sort of figured out how to do it with a plugin, but in both cases it required that I copy way to much code from post-new.php.

How did you handle this?

Thanks in advance.

-Brad</description>
		<content:encoded><![CDATA[<p>Joshua,</p>
<p>I like your stuff, I&#8217;ve learned a bunch from reading your site. I&#8217;ve actually been working on some custom write pages myself. I realize you planned to post the code sometime this weekend, but in the event you get delayed, I just have one question.</p>
<p>How do you &#8220;easily&#8221; add additional &#8220;Write Post&#8221; menu items using just plugins. I&#8217;ve sort of figured out how to do it with core hacks, and I&#8217;ve sort of figured out how to do it with a plugin, but in both cases it required that I copy way to much code from post-new.php.</p>
<p>How did you handle this?</p>
<p>Thanks in advance.</p>
<p>-Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://rhymedcode.net/analysis-design/core-functionality-concept/comment-page-1/#comment-30277</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Fri, 06 Apr 2007 03:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://rhymedcode.net/analysis-design/core-functionality-concept/#comment-30277</guid>
		<description>Raul (and Jorge),

Was going to do? So did the company cancel it? I will probably submit my code to http://dev.wp-plugins.org/ this weekend so that people could probably submit patches and the like (if supported by that site).</description>
		<content:encoded><![CDATA[<p>Raul (and Jorge),</p>
<p>Was going to do? So did the company cancel it? I will probably submit my code to <a href="http://dev.wp-plugins.org/" rel="nofollow">http://dev.wp-plugins.org/</a> this weekend so that people could probably submit patches and the like (if supported by that site).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

