<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://openconcept.ca" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Views</title>
 <link>http://openconcept.ca/topic/views</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Create RSS Feeds of Search Results with Views 2</title>
 <link>http://openconcept.ca/blog/varun/create_rss_feeds_for_search_results_with_views_2</link>
 <description>&lt;p&gt;Recently, while working at requirements for a Government client I was tasked with finding a way to create rss feeds for site wide searches. Here, I&#039;ve decided to share this solution with the wider community.&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;RSS Search&quot; src=&quot;/sites/openconcept.ca/files/teaser_rssSearch.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Being able to subscribe to search results with RSS is useful to sites such as &lt;a href=&quot;http://twitter.com&quot;&gt;twitter.com&lt;/a&gt; where there is a large amount of content or frequently updated information. When a user may only be interested in a small sub-set of all this information, it may be useful to offer them an RSS feed. RSS feeds help to make it more convenient for people to stay up to date with changes to content on a website.&lt;/p&gt;
&lt;p&gt;To accomplish this, I&#039;ve used &lt;a href=&quot;http://drupal.org/project/views&quot;&gt;Views 2&lt;/a&gt; to create a new search page for performing a site wide search. In addition to views, the following modules also had to be enabled: PHP input filter, Search, and Views UI. In this example, I&#039;ve used the &lt;a href=&quot;http://drupal.org/project/devel&quot;&gt;devel&lt;/a&gt; generate module to generate a large set of nodes on which to test my search.&lt;/p&gt;
&lt;h3&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Step 1&lt;/span&gt;. Build the page view&lt;/h3&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;RSS Search Page&quot; src=&quot;/sites/openconcept.ca/files/view_page.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The page view will replace the core search module&#039;s search block and page. Begin by creating a new page view. As fields, add &amp;quot;Node: Title&amp;quot; and &amp;quot;Node: Teaser&amp;quot;. As filters, use &amp;quot;Node: Published&amp;quot; and the important one, &amp;quot;Search: Search Terms&amp;quot;. This search filter hooks into the drupal core search and must be &lt;span style=&quot;font-weight: bold;&quot;&gt;exposed&lt;/span&gt; to allow users to enter search terms. I&#039;ve set the path as &#039;search-site&#039;. It is also advisable to turn the pager on(It comes in handy later).&lt;/p&gt;
&lt;p&gt;Add &amp;quot;Search: Score&amp;quot; under sort criteria and ensure it is set to descending.&lt;/p&gt;
&lt;p&gt;Note that search results are only indexed when CRON is run. If you are not seeing any results, please run cron.&lt;/p&gt;
&lt;p&gt;Since we want to direct users to our new search page, the core search block should be disabled.&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;RSS Search Page&quot; src=&quot;/sites/openconcept.ca/files/core_and_searchPage.png&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Step 2&lt;/span&gt;. Build the rss view&lt;/h3&gt;
&lt;p&gt;Next, we add a feed display to the view. Most of the settings will be the same as those of the page view, however, in addition, we must also set &amp;quot;RSS Feed&amp;quot; as the Style and &amp;quot;Node&amp;quot; as the Row Style(under basic settings). I&#039;ve set this path as &#039;search-rss&#039;.&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;The RSS Page&quot; src=&quot;/sites/openconcept.ca/files/view_rss.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Step 3&lt;/span&gt;. The PHP used to tie them together.&lt;/h3&gt;
&lt;p&gt;So at this point we have two pages we can look at, YOURDOMAIN/search-site and YOURDOMAIN/search-rss.&amp;nbsp; Both of their content changes based on text which is passed in through the URL where &amp;quot;keys&amp;quot; is set as some text after the ? in the URL.&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;The RSS Page&quot; src=&quot;/sites/openconcept.ca/files/addrBar.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;To put these two pages together we must create a link from the &#039;search-site&#039; page to the &#039;search-rss&#039; page so that variables that are being passed in through the URL are preserved. To do this I&#039;ve added the following PHP to the header of the views page that was set up.&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;The PHP code&quot; src=&quot;/sites/openconcept.ca/files/view_php.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&amp;nbsp;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $view = views_get_current_view();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $rss_url = &#039;search-rss?keys=&#039;.$view-&amp;gt;exposed_input[&#039;keys&#039;];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $rss_icon = theme_feed_icon( $rss_url , $view-&amp;gt;exposed_input[&#039;keys&#039;]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &amp;quot;&amp;lt;div&amp;gt;&amp;quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &amp;quot;&amp;lt;p&amp;gt;Current search yields &amp;quot;.$view-&amp;gt;total_rows .&amp;quot; results. &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot; .&amp;quot;&amp;lt;br/&amp;gt;Save your search and get periodic updates &amp;quot;.$rss_icon ; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &#039;&amp;lt;span&amp;gt;&amp;lt;a href=&amp;quot;http://www.whatisrss.com&amp;quot;&amp;gt; &amp;nbsp; [What is this?]&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&#039;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &amp;quot;&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
?&amp;gt; &lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The code simply grabs the current view&#039;s exposed input (&amp;quot;keys&amp;quot;) and creates a link to the rss page. theme_feed_icon() creates that nice orange RSS symbol for me.&lt;/p&gt;
&lt;p&gt;The variable $view-&amp;gt;total_rows is only available when pagination is enabled.&lt;/p&gt;
&lt;p&gt;The result is a new search page for the site that will also give you an rss feed based on the terms that were searched for.&lt;/p&gt;
&lt;p&gt;An export of the view is &lt;a href=&quot;/sites/openconcept.ca/files/site_search_view.txt&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are two more screenshots:&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;The PHP code&quot; src=&quot;/sites/openconcept.ca/files/searchPage.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;top&quot; alt=&quot;The PHP code&quot; src=&quot;/sites/openconcept.ca/files/eg_rss.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <enclosure url="http://openconcept.ca/sites/openconcept.ca/files/site_search_view.txt" length="5659" type="text/plain" />
 <category domain="http://openconcept.ca/taxonomy/term/208">Community</category>
 <category domain="http://openconcept.ca/code/drupal_6x">Drupal 6.x</category>
 <category domain="http://openconcept.ca/code/mysql">MySQL</category>
 <category domain="http://openconcept.ca/code/php">PHP</category>
 <category domain="http://openconcept.ca/topic/rss">RSS</category>
 <category domain="http://openconcept.ca/topic/views">Views</category>
 <pubDate>Mon, 09 Nov 2009 17:07:39 -0500</pubDate>
 <dc:creator>Varun</dc:creator>
 <guid isPermaLink="false">2358 at http://openconcept.ca</guid>
</item>
<item>
 <title>FOSS Workshop and Presentation on CCK &amp; Views in Drupal</title>
 <link>http://openconcept.ca/blog/varun/foss_workshop_and_presentation_on_cck_views_in_drupal</link>
 <description>&lt;p&gt;Last week Dr. Sameer Verma invited me to give a presentation on using Drupal&#039;s CCK &amp;amp; Views modules at an all day open workshop he was giving to promote &lt;a href=&quot;http://en.wikipedia.org/wiki/Free_and_Open_Source_Software&quot;&gt;FOSS&lt;/a&gt; use in preparation for &lt;a href=&quot;http://www.softwarefreedomday.org/&quot;&gt;Software Freedom Day&lt;/a&gt; 2009 here in Jamaica. It is very nice to see Drupal being recognised as a substantial member of the FOSS comunity.&lt;/p&gt;
&lt;p&gt;&lt;img hspace=&quot;5&quot; align=&quot;left&quot; src=&quot;/sites/openconcept.ca//files/drupal_250x250.gif&quot; alt=&quot;drupal logo&quot; /&gt;Kieran of Acquia also &lt;a href=&quot;http://acquia.com/blog/kieran/drupal-san-fransico-state-university-presentation-students-and-staff&quot;&gt;blogs &lt;/a&gt;about Dr. Verma&#039;s use of Drupal in a course at the San Francisco State University where business students are taught to build online businesses using Drupal. The workshop took place in a seminar room at the Mona School of Business at the University of the West Indies Mona campus. The workshop also touched on the following topics: Voip/Asterisk, LTSP/Ubuntu, CMS/Drupal and Education/Sugar.&lt;/p&gt;
&lt;p&gt;Asterisk allows attached telephones to call one another, and allows connections to other telephone services such as the public switched telephone network (PSTN) and Voice over Internet Protocol  (VoIP) services.&lt;/p&gt;
&lt;p&gt;
LTSP (Linux Terminal Server Project) allows the Ubuntu operating system to be tailored to the needs of large organisations. We saw a demonstration of a LTSP server that was installed in 30 minutes and used to boot networked thin client desktops with a custom Ubuntu desktop environment. The thin client passed along the bulk of its processing needs to the main server.&lt;/p&gt;
&lt;p&gt;
Drupal is the content management system of choice here at OpenConcept. Dr. Verma introduced Drupal concepts such as modules, themes, and multisite installs. I followed up with a quick section on using the very powerful and popular &lt;a href=&quot;http://drupal.org/project/cck&quot;&gt;CCK&lt;/a&gt; and &lt;a href=&quot;http://drupal.org/project/views&quot;&gt;Views&lt;/a&gt; modules in Drupal. I was able to demonstrate how easily one can use these modules to create useful website features such as a &lt;a href=&quot;http://www.varunbaker.com&quot;&gt;photo gallery&lt;/a&gt;. My talk went well because the audience seemed very interested and they engaged me with several good questions. One such question asked about how views can take in arguments.   It was good to see members of the local Drupal &lt;a href=&quot;http://groups.drupal.org/jamaica&quot;&gt;group&lt;/a&gt; present.&lt;/p&gt;
&lt;p&gt;
It is always a positive learning experience for me to share my experience and to hear about how other members of the community are using Drupal.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/sites/openconcept.ca/files/DrupOLPC.jpg&quot; alt=&quot;drupal + OLPC&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Photo originally from &lt;a href=&quot;http://www.developmentseed.org/blog/2008/feb/28/building-open-source-applications-olpc-drupal&quot;&gt;DevelopmentSeed&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
This Drupal segment was followed with a quick demonstration of the Sugar environment. &amp;ldquo;Sugar is the desktop environment originally developed for the One Laptop Per Child  computer/education project.&amp;rdquo;(&lt;a href=&quot;http://en.wikipedia.org/wiki/Sugar_(desktop_environment)&quot;&gt;wikipedia&lt;/a&gt;). An OLPC project has been started here in Jamaica at the August Town Primary School. The project will equip third grade students with OLPC laptops to be used as high quality educational tools for them. In this effort, Dr. Verma is also training teachers to use this technology.&lt;/p&gt;
&lt;p&gt;
I went along with the team involved in this OLPC project to visit the August Town Primary School. It is summer time now so no kids, but I did snap a few photos, seen below.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src=&quot;/sites/openconcept.ca/files/smallOLPC.JPG&quot; alt=&quot;an OLPC Laptop&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;font-style: italic; margin-left: 40px;&quot;&gt;An OLPC laptop &amp;quot;in the field&amp;quot; at the August Town Primary School.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img align=&quot;middle&quot; src=&quot;/sites/openconcept.ca/files/SameerVerma.JPG&quot; alt=&quot;Sameer Verma and OLPC&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Sameer Verma(right) of SF State University and Maurice McNaughton(left) of the Mona School of business discuss OLPC project details at August Town Primary School in August Town, Jamaica.&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://openconcept.ca/blog/varun/foss_workshop_and_presentation_on_cck_views_in_drupal#comments</comments>
 <category domain="http://openconcept.ca/topic/cck">CCK</category>
 <category domain="http://openconcept.ca/taxonomy/term/208">Community</category>
 <category domain="http://openconcept.ca/code/drupal_6x">Drupal 6.x</category>
 <category domain="http://openconcept.ca/topic/planet">Planet</category>
 <category domain="http://openconcept.ca/topic/views">Views</category>
 <pubDate>Thu, 16 Jul 2009 11:19:57 -0400</pubDate>
 <dc:creator>Varun</dc:creator>
 <guid isPermaLink="false">2286 at http://openconcept.ca</guid>
</item>
<item>
 <title>Creating a drupal photo gallery site with cck and views </title>
 <link>http://openconcept.ca/blog/varun/creating_a_drupal_photo_gallery_site_with_cck_and_views</link>
 <description>&lt;p&gt;In this blog entry I outline the process I used to develop a fully functioning web gallery for my photography with drupal5. &lt;img src=&quot;http://www.varunbaker.com/sites/varunbaker.com/files/varunbaker3.png&quot; align=&quot;right&quot; width=&quot;180&quot; title=&quot;screenshot&quot; alt=&quot;varunbaker3.png&quot; /&gt; With good old google search by my side, being the great wealth of knowledge that it is, this turned out to be a simple process of just following a few tutorials.&lt;/p&gt;


&lt;h3 id=&quot;toc0&quot;&gt;Find a suitable theme&lt;/h3&gt;
&lt;p&gt;First off I wanted to find a suitable theme, something simple yet stylish. I was looking for a dark grey or black minimalist background so as not to distract from the impact of the images. I settled on &lt;a href=&quot;http://www.osskins.com/main/drupal/free-drupal-theme-trentco/2007/09/26&quot;&gt;this theme&lt;/a&gt;&lt;br /&gt;
&amp;lt;!--break--&amp;gt;&lt;br /&gt;

&lt;h3 id=&quot;toc1&quot;&gt;The Banner&lt;/h3&gt;
&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://www.varunbaker.com/sites/varunbaker.com/files/varunWebBanner300.jpg&quot; title=&quot;The glossy banner&quot; width=&quot;300&quot; height=&quot;50&quot; alt=&quot;varunWebBanner300.jpg&quot; /&gt; &lt;br /&gt;
Next I needed to create a suitable banner to use. The glossy effect seems to be a winner these days so &lt;br /&gt;
 a bit of searching pointed me to a suitable photoshop &lt;a href=&quot;http://boostranking.net/blogs/beginner_photoshop/archive/2006/10/04/Creating-Glossy-Web-Banner-in-Photoshop.aspx&quot;&gt;tutorial&lt;/a&gt;.&lt;/p&gt;


&lt;h3 id=&quot;toc2&quot;&gt;The cck and views tutorial&lt;/h3&gt;
&lt;p&gt;Anyway, back to drupal, for maximum flexibility and control, I decided I wanted to accomplish my photo galleries with cck and views instead of using a specific dedicated module such as the &lt;a href=&quot;http://drupal.org/project/gallery&quot;&gt;gallery&lt;/a&gt; module. I followed the steps in this tutorial &lt;a href=&quot;http://drupal.org/node/144725&quot;&gt; here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I changed the &#039;views_bonus&#039; module to limit width of the column layout to three images and also limited the view to show 6 nodes per page in order to stick to the photographers&#039; &amp;quot;rule of thirds&amp;quot;.&lt;/p&gt;


&lt;h3 id=&quot;toc3&quot;&gt;Additional notes&lt;/h3&gt;
&lt;p&gt;I also installed the simplenews module to keep a mailing list current with updates to the site&#039;s galleries. &lt;br /&gt;
&lt;img src=&quot;http://www.varunbaker.com/sites/varunbaker.com/files/stack_small.jpg&quot; align=&quot;right&quot; width=&quot;180&quot; title=&quot;glossy image stack&quot; alt=&quot;stack_small.jpg&quot; /&gt; In my own aesthetic crankiness, I also decided that I didn&#039;t like how the image module was auto cropping my thumbnails, so, I went through and replaced all the square thumbnails that imagecache had created with slightly differently cropped versions of my own. I placed these new image thumbnails in the suitable location in the files/imagecache folder.&lt;/p&gt;

&lt;p&gt;The end result can be seen by browsing here : &lt;a href=&quot;http://www.varunbaker.com&quot;&gt;http://www.varunbaker.com&lt;/a&gt;&lt;/p&gt;

</description>
 <comments>http://openconcept.ca/blog/varun/creating_a_drupal_photo_gallery_site_with_cck_and_views#comments</comments>
 <category domain="http://openconcept.ca/topic/cck">CCK</category>
 <category domain="http://openconcept.ca/taxonomy/term/208">Community</category>
 <category domain="http://openconcept.ca/topic/drupal_5">Drupal 5</category>
 <category domain="http://openconcept.ca/code/drupal_5x">Drupal 5.x</category>
 <category domain="http://openconcept.ca/topic/gallery">Gallery</category>
 <category domain="http://openconcept.ca/taxonomy/term/215">News</category>
 <category domain="http://openconcept.ca/topic/photography">Photography</category>
 <category domain="http://openconcept.ca/topic/views">Views</category>
 <pubDate>Tue, 11 Nov 2008 16:23:01 -0500</pubDate>
 <dc:creator>Varun</dc:creator>
 <guid isPermaLink="false">1889 at http://openconcept.ca</guid>
</item>
<item>
 <title>Information Made Visible: Using the Google Maps View in Drupal 5</title>
 <link>http://openconcept.ca/blog/ethan/information_made_visible_using_the_google_maps_view_in_drupal_5</link>
 <description>&lt;p&gt;&lt;img width=&quot;200&quot; hspace=&quot;5&quot; height=&quot;200&quot; align=&quot;right&quot; src=&quot;/sites/openconcept.ca/files/gmap%20view.png&quot; alt=&quot;Google Maps&quot; /&gt;The views module is a very powerful way of displaying information stored in nodes. Coupled with CCK for creating custom content types, it is possible to store and visualize data in very interesting ways. One of these ways is displaying location information on an embedded Google Map using a view type provided by the Gmaps module.&lt;/p&gt;
&lt;p&gt;The location module associates physical address information with nodes so that content can be localized. It will also automatically geocode physical addresses - that is, turn street addresses into latitudes and longitudes - using various geocoding services. We&#039;ve had success using Google&#039;s service.&lt;/p&gt;
&lt;p&gt;Geocoding is an important step - the map will not draw markers without a longitude and latitude. If you have everything set up correctly, adding a street address and postal code and submitting the changes should automatically populate the latitude and longitude fields. Sometimes it can be finicky; for instance, if the street address and postal code do not match, but in general it works. Another issue arises when importing a large number of nodes. Sometimes the automatic geocoding does not run, but can be prompted by submitting the node manually or perhaps by republishing on mass.&lt;/p&gt;
&lt;p&gt;Once your nodes have longitudes and latitudes, make a page view using the Gmap view type. Add the Location:Longitude and Location:Latitude fields, and then filter for the content type you wish to view. Once you&#039;ve done that, the view should show a Gmap with markers representing the nodes.&lt;/p&gt;
&lt;h3&gt;Modules Required:&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;Gmaps&lt;/li&gt;
    &lt;li&gt;Location&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Steps:&lt;/h3&gt;
&lt;ol&gt;
    &lt;li&gt;Add location information to the content type (admin/content/types/[content type]) - be sure to include the latitude and longitude fields, and most likely the street address and postal code if you need to geocode them to get lat/long.&lt;/li&gt;
    &lt;li&gt;Add the content you wish to display with address information, and ensure then lat/long fields are automatically being populated.&lt;/li&gt;
    &lt;li&gt;Create a view using the Gmaps type, adding the lat/long information as fields and filtering for your content type.&lt;/li&gt;
    &lt;li&gt;Enjoy!&lt;/li&gt;
&lt;/ol&gt;</description>
 <comments>http://openconcept.ca/blog/ethan/information_made_visible_using_the_google_maps_view_in_drupal_5#comments</comments>
 <enclosure url="http://openconcept.ca/sites/openconcept.ca/files/gmap view.png" length="859563" type="image/png" />
 <category domain="http://openconcept.ca/code/drupal_5x">Drupal 5.x</category>
 <category domain="http://openconcept.ca/topic/geodata">Geodata</category>
 <category domain="http://openconcept.ca/topic/google">Google</category>
 <category domain="http://openconcept.ca/topic/google_maps">Google Maps</category>
 <category domain="http://openconcept.ca/topic/map">Map</category>
 <category domain="http://openconcept.ca/taxonomy/term/205">Support</category>
 <category domain="http://openconcept.ca/topic/views">Views</category>
 <pubDate>Tue, 27 May 2008 21:29:15 -0400</pubDate>
 <dc:creator>ethan</dc:creator>
 <guid isPermaLink="false">1340 at http://openconcept.ca</guid>
</item>
<item>
 <title>Guelph NDP Website Outlines Potential for Multi-site Install and Views/Panels Derived Content</title>
 <link>http://openconcept.ca/blog/ravijo/guelph_ndp_website_outlines_potential_for_multi_site_install_and_views_panels_derived_content</link>
 <description>&lt;p&gt;Well, in my spare time working with the &lt;a href=&quot;http://www.guelphndp.ca&quot;&gt;Guelph NDP&lt;/a&gt;, I&amp;#39;ve redesigned the Riding Association&amp;#39;s website. Previously, it was a Drupal 4.7 install, with separate sites for the RA, the Guelph NDP Youth, and the Tom King campaign. This raises a critical issue: if content needs to be used more than once, do you really want to input that content on each site? Namely podcast material that is useful for the Youth, RA and campaign.&lt;/p&gt;
&lt;p&gt;A recent solution has been developed in the body of the &lt;a href=&quot;http://drupal.org/project/panels&quot;&gt;panels module&lt;/a&gt;. Along with the &lt;a href=&quot;http://drupal.org/project/views&quot;&gt;views module&lt;/a&gt;, we are able to create what I would call a &amp;quot;family&amp;quot; of views/panels for each purpose. The Tom King campaign has a couple view dedicated to generate the podcast, and a main page generated with panels, accessing content from his blog.&lt;/p&gt;
&lt;p&gt;This will help with content generation I might add. Because there is so little content being generated by each one alone, together they are more likely to generate enough content to keep the target audience interested. Once again, there is a lot of content that is relevant for all of the groups, which is best not to be created and recreated.&lt;/p&gt;
&lt;p&gt;Something that needs to be sorted out with Drupal, is the usage of different (sub)domain names that can forward to a particular page. That is:&lt;/p&gt;
&lt;p&gt;openconcept.ca will use &amp;#39;node&amp;#39; as its homepage&lt;/p&gt;
&lt;p&gt;raviisreallycool.openconcept.ca will use &amp;#39;aggregator&amp;#39; as the homepage&lt;/p&gt;
&lt;p&gt;raviisreallycool.net will use &amp;#39;node/23&amp;#39; as its homepage&lt;/p&gt;
&lt;p&gt;Note: none of these will redirect! I can see this happening if one could hard code the home page variable into the settings.php file. That way each one could use their own settings file accessing the same url, but with slight differences in the settings. &lt;/p&gt;
&lt;p&gt;So far the Youth site is not moved over, but I suspect it will be within the next few days.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description>
 <comments>http://openconcept.ca/blog/ravijo/guelph_ndp_website_outlines_potential_for_multi_site_install_and_views_panels_derived_content#comments</comments>
 <category domain="http://openconcept.ca/taxonomy/term/208">Community</category>
 <category domain="http://openconcept.ca/topic/drupal">Drupal</category>
 <category domain="http://openconcept.ca/topic/ndp">NDP</category>
 <category domain="http://openconcept.ca/topic/panels">Panels</category>
 <category domain="http://openconcept.ca/topic/views">Views</category>
 <pubDate>Tue, 03 Jul 2007 15:54:15 -0400</pubDate>
 <dc:creator>ravipjoshi</dc:creator>
 <guid isPermaLink="false">442 at http://openconcept.ca</guid>
</item>
</channel>
</rss>
