<?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: Define content types and CCK fields for your custom module using content_copy</title>
	<atom:link href="http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/</link>
	<description>This is a blog to record tidbits of information. It documents thoughts and ideas that may be useful for other people, like yourself.</description>
	<lastBuildDate>Fri, 21 Nov 2008 10:28:16 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: david</title>
		<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/comment-page-1/#comment-50</link>
		<dc:creator>david</dc:creator>
		<pubDate>Fri, 21 Nov 2008 10:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.daveslist.co.nz/?p=30#comment-50</guid>
		<description>@marc
check that you&#039;re passing the type value properly in your equivalent to project_install_content_types()

In any case, the concept works, any bugs will be related to your implementation.</description>
		<content:encoded><![CDATA[<p>@marc<br />
check that you&#8217;re passing the type value properly in your equivalent to project_install_content_types()</p>
<p>In any case, the concept works, any bugs will be related to your implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/comment-page-1/#comment-49</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Fri, 21 Nov 2008 00:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.daveslist.co.nz/?p=30#comment-49</guid>
		<description>@david

when Im checking the values at my modules, the dump displays all the macro, althought the type_name is missing.

but in the content_copy.module, their totally empty...
Im using D6.</description>
		<content:encoded><![CDATA[<p>@david</p>
<p>when Im checking the values at my modules, the dump displays all the macro, althought the type_name is missing.</p>
<p>but in the content_copy.module, their totally empty&#8230;<br />
Im using D6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/comment-page-1/#comment-48</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 20 Nov 2008 21:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.daveslist.co.nz/?p=30#comment-48</guid>
		<description>@davexoxide heh, thanks for the comment those dependencies are not needed ( other than CCK and content_copy ). They&#039;re just a copy/paste relic. The &#039;project&#039; name was just a name I chose for the demo. I&#039;ll tidy that up there when I get the chance. cheers.</description>
		<content:encoded><![CDATA[<p>@davexoxide heh, thanks for the comment those dependencies are not needed ( other than CCK and content_copy ). They&#8217;re just a copy/paste relic. The &#8216;project&#8217; name was just a name I chose for the demo. I&#8217;ll tidy that up there when I get the chance. cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/comment-page-1/#comment-47</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 20 Nov 2008 21:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.daveslist.co.nz/?p=30#comment-47</guid>
		<description>@marc try uncommenting the debug line in site_profile_import_content_type here:
[php]
//drupal_set_message(&#039;&lt;pre&gt;DEBUG:&#039;.print_r($values[&#039;macro&#039;],1).&#039;&lt;/pre&gt;&#039;);
[/php]
and check that $form_state has some values. It sounds like your export macro isn&#039;t been passed correctly.
Or, if you&#039;re using the sample code, check that the macro files are being included correctly. You might need a trailing slash for $_SERVER[&#039;document_root&#039;] or use realpath(.)</description>
		<content:encoded><![CDATA[<p>@marc try uncommenting the debug line in site_profile_import_content_type here:</p>
<div class="igBar"><span id="lphp-1"><a href="#" onclick="javascript:showPlainTxt('php-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-1">
<div class="php php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal;color:#3A6A8B;">
<div style="font-family: monospace; font-weight: normal; font-style: normal; margin:0; padding:0; background:inherit;"><span style="color: #666666; font-style: italic;">//drupal_set_message('&lt;pre&gt;DEBUG:'.print_r($values['macro'],1).'&lt;/pre&gt;');</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
and check that $form_state has some values. It sounds like your export macro isn't been passed correctly.<br />
Or, if you're using the sample code, check that the macro files are being included correctly. You might need a trailing slash for $_SERVER['document_root'] or use realpath(.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davexoxide</title>
		<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/comment-page-1/#comment-46</link>
		<dc:creator>davexoxide</dc:creator>
		<pubDate>Thu, 20 Nov 2008 21:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.daveslist.co.nz/?p=30#comment-46</guid>
		<description>This is a really useful concept. I just have a couple questions.

What&#039;s the dependencies on jquery_ui and views modules? 
I don&#039;t see where they are used in the module, maybe I&#039;m overlooking something.

Why is this module named the same as project module, there&#039;s going to be conflicts with function names.

Other than that, I think this is a really important feature and should be released on Drupal.org.

Thanks for sharing the code.</description>
		<content:encoded><![CDATA[<p>This is a really useful concept. I just have a couple questions.</p>
<p>What's the dependencies on jquery_ui and views modules?<br />
I don't see where they are used in the module, maybe I'm overlooking something.</p>
<p>Why is this module named the same as project module, there's going to be conflicts with function names.</p>
<p>Other than that, I think this is a really important feature and should be released on Drupal.org.</p>
<p>Thanks for sharing the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://blog.daveslist.co.nz/drupal6/2008/10/01/define-content-types-and-cck-fields-for-your-custom-module-using-content_copy/comment-page-1/#comment-45</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Thu, 20 Nov 2008 14:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.daveslist.co.nz/?p=30#comment-45</guid>
		<description>Hello I cant get things to work. I tried putting drupal_set_message(&#039;DEBUG: &#039;.print_r($form_state,1).&#039;&#039;); under content_copy_import_form_submit on content_copy.module but the values are all empty and so I end up with the message &quot;The import data is not valid import text.&quot;

please help.</description>
		<content:encoded><![CDATA[<p>Hello I cant get things to work. I tried putting drupal_set_message('DEBUG: '.print_r($form_state,1).''); under content_copy_import_form_submit on content_copy.module but the values are all empty and so I end up with the message "The import data is not valid import text."</p>
<p>please help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
