<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://build2be.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>build2be/com/e - workflow_ng</title>
 <link>https://build2be.com/category/workflowng</link>
 <description></description>
 <language>en</language>
<item>
 <title>Building a my groups block</title>
 <link>https://build2be.com/content/building-my-groups-block</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;How does one build a &#039;my groups&#039; block? I thought it would be an out of the box thingy. But it is not.

On the channel the answer was DIY. So this is what I build.

The code patterns below are the same. The use cases differently.
&lt;ol&gt;
&lt;li&gt;Show my groups&lt;/li&gt;
&lt;li&gt;Add special node type immediately to a group. This is for speed&lt;/li&gt;
&lt;li&gt;Generate a node and redirect elsewhere. This is for speed and timeing usage.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;My Groups&lt;/h3&gt;
This is just looping through the group ids of the current user.

&lt;?php
global $user; 

$items= array();
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 11 Mar 2008 09:44:46 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">31 at https://build2be.com</guid>
 <comments>https://build2be.com/content/building-my-groups-block#comments</comments>
</item>
</channel>
</rss>
