<?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>Pace Solutions Blog &#187; Drupal Promotion</title>
	<atom:link href="http://www.pacesol.com/blog/tag/drupal-promotion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pacesol.com/blog</link>
	<description>Web 2.0, e-Commerce, Joomla, WordPress, Facebook Applications, Drupal, Open Source, CMS, PHP, MySQL, AJAX</description>
	<lastBuildDate>Fri, 06 Jan 2012 08:45:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Display view inside a view</title>
		<link>http://www.pacesol.com/blog/display-view-inside-a-view.html</link>
		<comments>http://www.pacesol.com/blog/display-view-inside-a-view.html#comments</comments>
		<pubDate>Wed, 08 Jul 2009 03:36:20 +0000</pubDate>
		<dc:creator>Pace Solutions</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Drupal Help]]></category>
		<category><![CDATA[Drupal Modules]]></category>
		<category><![CDATA[Drupal Promotion]]></category>
		<category><![CDATA[Drupal Views]]></category>

		<guid isPermaLink="false">http://www.pacesol.com/blog/?p=58</guid>
		<description><![CDATA[Tweet Drupal 6 replaces the views_build_view by views_embed_view, which make sense at least by the name of function. The views_embed_view has 2 default arguments. The second argument allows you to enter the display_id of the view (example: default, page, block, etc). Any additional argument you specify will be passed to the views argument handler. For [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.pacesol.com%2Fblog%2Fdisplay-view-inside-a-view.html&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.pacesol.com/blog/display-view-inside-a-view.html"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.pacesol.com/blog/display-view-inside-a-view.html"  data-text="Display view inside a view" data-count="horizontal" data-via="pacesol">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.pacesol.com/blog/display-view-inside-a-view.html" data-counter="right"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Drupal 6 replaces the <strong>views_build_view</strong> by <strong>views_embed_view</strong>, which make sense at least by the name of function.</p>
<pre class="brush: php; title: ; notranslate">
$viewName = 'MYVIEWNAME';
print views_embed_view($viewName);
</pre>
<p>The <strong>views_embed_view</strong> has 2 default arguments. The second argument allows you to enter the display_id of the view (example: default, page, block, etc). Any additional argument you specify will be passed to the views argument handler. For instance, if you wanted to embed the block view and pass it a list of nodeIDs as an argument.</p>
<pre class="brush: php; title: ; notranslate">
$viewName = 'MYVIEWNAME';
$display_id = 'block';
$myNodes = array(1, 2, 3);
print views_embed_view($viewName, $display_id, $myNodes);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.pacesol.com/blog/display-view-inside-a-view.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

