<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1794377403694684603</id><updated>2026-05-05T02:08:51.634-07:00</updated><category term="Drupal"/><category term="Modules"/><category term="Drupal7"/><category term="Theme"/><category term="Drupal6"/><category term="SEO"/><category term="Videos"/><category term="drupal seo"/><category term="Mysql"/><category term="Omega Theming"/><category term="Other"/><category term="linux"/><title type='text'>Drupal-lovers</title><subtitle type='html'>A Help Desk For drupal....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1014359512695775981</id><published>2013-01-29T03:04:00.002-08:00</published><updated>2013-01-29T03:04:47.820-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><title type='text'>How to autopost content from my site to facebook</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
How to autopost content from any site to facebook page.&lt;br /&gt;
first of all do these steps.....&lt;br /&gt;
&lt;br /&gt;
1. Create a facebook page. i.e-facebook.com/abc.&lt;br /&gt;
&lt;br /&gt;
2. After that create a apps in facebook which post our node to facebook page. www.developer.facebook.com. And create an apps. ie:- test and configure it looks like that...&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-xBIKOYNEC-E/UQenRVHGE9I/AAAAAAAAAA8/kTQjKpct778/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;366&quot; src=&quot;http://1.bp.blogspot.com/-xBIKOYNEC-E/UQenRVHGE9I/AAAAAAAAAA8/kTQjKpct778/s640/01.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
3. After that we also configure it&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-dPRfyDNux0k/UQepduiANDI/AAAAAAAAABM/0JsavZredm4/s1600/02.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;168&quot; src=&quot;http://4.bp.blogspot.com/-dPRfyDNux0k/UQepduiANDI/AAAAAAAAABM/0JsavZredm4/s640/02.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. Then save it.&lt;br /&gt;
&lt;br /&gt;
5. Install fbautopost module and enable it. Install from http://drupal.org/project/fb_autopost&lt;br /&gt;
and configure it goto-mysite.com/admin/structure/fb&lt;br /&gt;
and goto stream post tab and create&amp;nbsp; &lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #666666; display: inline !important; float: none; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, sans-serif; font-size: 12.222222328186035px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 14.774306297302246px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://developers.facebook.com/tools/explorer&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #0074bd; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, sans-serif; font-size: 12.222222328186035px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 14.774306297302246px; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration: initial; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot; target=&quot;_blank&quot;&gt;Facebook&#39;s Graph Explorer&lt;/a&gt; token and fill text box save it.&lt;br /&gt;
&lt;br /&gt;
6. And create content any and enable post on facebook and give its page name and save it. That post it on facebook page .if no any mistake.&lt;br /&gt;
&lt;br /&gt;
After that enjoy it.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1014359512695775981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2013/01/how-to-autopost-content-from-my-site-to.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1014359512695775981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1014359512695775981'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2013/01/how-to-autopost-content-from-my-site-to.html' title='How to autopost content from my site to facebook'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-xBIKOYNEC-E/UQenRVHGE9I/AAAAAAAAAA8/kTQjKpct778/s72-c/01.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-5695944288597339427</id><published>2013-01-22T04:16:00.000-08:00</published><updated>2013-01-22T04:16:14.088-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><category scheme="http://www.blogger.com/atom/ns#" term="Theme"/><title type='text'>How to create Mega Photo gallery in Drupal 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;If you want to create mega Photo gallery in drupal 7 looks like below....&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-OGUkMiGmNbk/UP56TRzZVtI/AAAAAAAAAAc/9mDNZCIOVeQ/s1600/mega+menu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;291&quot; src=&quot;http://3.bp.blogspot.com/-OGUkMiGmNbk/UP56TRzZVtI/AAAAAAAAAAc/9mDNZCIOVeQ/s640/mega+menu.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
then follow some simple steps ..&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
1. First off all create a content type Gallery.&lt;br /&gt;
&lt;br /&gt;
2. And add a image field configure it Number of value : Unlimited&lt;br /&gt;
&lt;br /&gt;
3. Save it and add some content in Gallery content type.&lt;br /&gt;
&lt;br /&gt;
4. &amp;nbsp;Add this line to default theme`s template.php&lt;br /&gt;
&lt;br /&gt;
function bartik_process_page(&amp;amp;$variables) {&lt;br /&gt;
drupal_add_js(drupal_get_path(&#39;theme&#39;, &#39;bartik&#39;) . &#39;/js/jquery.mousewheel-3.0.6.pack.js&#39;);&lt;br /&gt;
drupal_add_js(drupal_get_path(&#39;theme&#39;, &#39;bartik&#39;) . &#39;/js/fancybox/jquery.fancybox.pack.js&#39;);&lt;br /&gt;
drupal_add_css(drupal_get_path(&#39;theme&#39;, &#39;bartik&#39;) . &#39;/js/fancybox/jquery.fancybox.css&#39;);&lt;br /&gt;
$fancybox = &quot;jQuery(document).ready(function() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; jQuery(&#39;.fancybox&#39;).fancybox();&lt;br /&gt;
});&quot;;&lt;br /&gt;
drupal_add_js($fancybox, &#39;inline&#39;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
If this function already present in templete.php, then only add this line in&amp;nbsp;between&amp;nbsp;this function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
drupal_add_js(drupal_get_path(&#39;theme&#39;, &#39;bartik&#39;) . &#39;/js/jquery.mousewheel-3.0.6.pack.js&#39;);&lt;br /&gt;
drupal_add_js(drupal_get_path(&#39;theme&#39;, &#39;bartik&#39;) . &#39;/js/fancybox/jquery.fancybox.pack.js&#39;);&lt;br /&gt;
drupal_add_css(drupal_get_path(&#39;theme&#39;, &#39;bartik&#39;) . &#39;/js/fancybox/jquery.fancybox.css&#39;);&lt;br /&gt;
$fancybox = &quot;jQuery(document).ready(function() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; jQuery(&#39;.fancybox&#39;).fancybox();&lt;br /&gt;
});&quot;;&lt;br /&gt;
drupal_add_js($fancybox, &#39;inline&#39;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. After that add custom template in template folder.Just like&amp;nbsp;node--gallery.tpl.php&lt;br /&gt;
In this file that code are....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&quot;node-&amp;lt;?php print $node-&amp;gt;nid; ?&amp;gt;&quot; class=&quot;node-gallery&quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php print render($title_prefix); ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;?php if (!$page): ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;h2 &amp;nbsp;style=&quot;text-align:center;&quot; &amp;lt;?php print $title_attributes; ?&amp;gt;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?php print $title; ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;?php print render($title_suffix); ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;?php&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $imgcount = count($node-&amp;gt;field_image[&#39;und&#39;]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for ($i = 0; $i &amp;lt; $imgcount; $i++) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $image_uri = $node-&amp;gt;field_image[&#39;und&#39;][$i][&#39;uri&#39;];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // url&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $masthead_raw = image_style_url(&#39;gallery&#39;, $image_uri);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;a href=&quot;&amp;lt;?php print file_create_url($node-&amp;gt;field_image[&#39;und&#39;][$i][&#39;uri&#39;]); ?&amp;gt;&quot; rel=&quot;group-&amp;lt;?php print $node-&amp;gt;nid; ?&amp;gt;&quot; class=&quot;fancybox&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;img class=&quot;image&amp;lt;?php print ($i + 1);?&amp;gt;&quot; src=&quot;&amp;lt;?php print $masthead_raw; ?&amp;gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;?php } ?&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Add a view its name gallery.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-nkzLS-gSxHY/UP5-zCFZ7qI/AAAAAAAAAAs/fsQ0vqYbZ4M/s1600/gallery.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;420&quot; src=&quot;http://3.bp.blogspot.com/-nkzLS-gSxHY/UP5-zCFZ7qI/AAAAAAAAAAs/fsQ0vqYbZ4M/s640/gallery.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After that look my gallery its looks like...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/5695944288597339427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2013/01/how-to-create-mega-photo-gallery-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/5695944288597339427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/5695944288597339427'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2013/01/how-to-create-mega-photo-gallery-in.html' title='How to create Mega Photo gallery in Drupal 7'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-OGUkMiGmNbk/UP56TRzZVtI/AAAAAAAAAAc/9mDNZCIOVeQ/s72-c/mega+menu.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1307744277059718809</id><published>2013-01-20T20:53:00.004-08:00</published><updated>2013-01-20T20:53:55.090-08:00</updated><title type='text'>Database Data Fetching using Db_query Codee</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;php&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;global&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;$user;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;$&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;userid&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;=$user-&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;uid&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;$result =&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;db_&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;query&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&#39;SELECT&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;n.mett_score&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;FROM {&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;training_score&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;} n WHERE&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;n.uid&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;= :&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;uid&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&#39;, array(&#39;:&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;uid&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&#39; =&amp;gt; $&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;userid&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;));&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;foreach&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;($result as $record) {&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;echo&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&#39;Your Score is:&#39;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;print_r&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;($record-&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;mett_score&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;// or&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;Aply&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;This Code&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;echo&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&#39;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;br&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;/&amp;gt;&#39; .&#39;You Score&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;Is:&#39; .$&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;record-&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;SpellingError SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; background-image: url(data:image/gif; background-position: 0% 100%; background-repeat: repeat no-repeat; border-bottom-color: transparent; border-bottom-style: solid; border-bottom-width: 1px; margin: 0px; padding: 0px;&quot;&gt;mett_score&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX230900272&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: black; font-family: Calibri, sans-serif; font-size: 8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: transparent; color: windowtext; font-family: Calibri, sans-serif; font-size: 6pt; font-style: normal; font-weight: normal; margin: 0px; padding: 0px; text-align: left; text-indent: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;TextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; background-color: inherit; margin: 0px; padding: 0px;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX230900272&quot; style=&quot;-webkit-nbsp-mode: normal !important; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 20px; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1307744277059718809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2013/01/database-data-fetching-using-dbquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1307744277059718809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1307744277059718809'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2013/01/database-data-fetching-using-dbquery.html' title='Database Data Fetching using Db_query Codee'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1092838393842071980</id><published>2012-07-16T01:35:00.000-07:00</published><updated>2012-07-16T01:38:08.248-07:00</updated><title type='text'>Installing Drupal on Windows with PostGRESQL DB</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;The Downloads:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;The system requirements for Drupal are given &lt;a href=&quot;http://drupal.org/requirements&quot; style=&quot;color: rgb(214, 160, 182); font-weight: bold; text-decoration: none; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;here&lt;/span&gt;&lt;/a&gt;. In short, download &lt;a href=&quot;http://httpd.apache.org/download.cgi&quot; style=&quot;color: rgb(214, 160, 182); font-weight: bold; text-decoration: none; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;Apache&lt;/span&gt;&lt;/a&gt;, &lt;a href=&quot;http://windows.php.net/download/&quot; style=&quot;color: rgb(214, 160, 182); font-weight: bold; text-decoration: none; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;PHP&lt;/span&gt;&lt;/a&gt; (download BOTH the installer and the zip version), &lt;a href=&quot;http://www.postgresql.org/download/windows&quot; style=&quot;color: rgb(214, 160, 182); font-weight: bold; text-decoration: none; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;Post GRE SQL&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;The Configuration:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;The step-by-step instruction to install Drupal is given &lt;a href=&quot;http://drupal.org/documentation/install/download&quot; style=&quot;color: rgb(214, 160, 182); font-weight: bold; text-decoration: none; &quot;&gt;&lt;span style=&quot;color: blue; &quot;&gt;here&lt;/span&gt;&lt;span style=&quot;text-decoration: none; &quot;&gt; &lt;/span&gt;&lt;/a&gt;and it&#39;s fairly intuitive.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;The Gotchas:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;There were a couple of things to watch out for:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;1. PHP looks for the config file (php.ini) in C:\Windows (or the equivalent windows folder) by default and that file isn&#39;t automagically created. So we need to add the PHP installation folder path to the PATH variable. In my case, I added C:\Program Files (x86)\PHP to the PATH variable.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;2. Drupal uses PDO (PHP Data Objects) to connect to a database and you should be having a PDO (which is usually a DLL) for each DB you intend to support. However, this DLL is not provided in the PHP installer; and even if you go around hunting for that DLL file in Google, you will hit nothing but road blocks. So after you install PHP using the installer, unzip the contents of the PHP zip version that you downloaded (to a different folder of course) and copy the php_pdo_pgsql.dll file from the ext folder (under the extracted PHP folder) to the actual ext folder (created by the windows installer). Then, the php.ini file needs to be updated to include the following lines:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;[PHP_PDO_PGSQL]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;span style=&quot;color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;extension=php_pdo_pgsql.dll&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;color: rgb(71, 75, 78); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); line-height: normal; margin-bottom: 0in; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); color: black; font-family: Georgia, serif; font-size: 12pt; &quot;&gt;Once this is done and the apache server is (re)started, following the step-by-step Drupal installation instructions should do the magic.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1092838393842071980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/07/installing-drupal-on-windows-with.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1092838393842071980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1092838393842071980'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/07/installing-drupal-on-windows-with.html' title='Installing Drupal on Windows with PostGRESQL DB'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1941295254412700174</id><published>2012-07-12T22:33:00.000-07:00</published><updated>2012-07-12T22:34:04.788-07:00</updated><title type='text'>Drupal feature Module example</title><content type='html'>&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;In this example we create an&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;strong style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Online Videos&lt;/strong&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;feature. The site builder configured a lot in preparation of this feature we are currently not interested in.&lt;/p&gt;&lt;h2 style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 1.538em; margin: 0px 0px 0.45em; padding: 0px; vertical-align: baseline; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 1.35em; font-weight: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Step 1. admin/build/features/export&lt;/h2&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;a href=&quot;http://drupal.org/files/feature-ex-1-online-video-step-1_0.png&quot; rel=&quot;nofollow&quot; style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; color: rgb(6, 120, 190); text-decoration: none; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;br /&gt;&lt;img src=&quot;http://drupal.org/files/feature-ex-1-online-video-step-1_0.png&quot; style=&quot;border: 0px; background-color: transparent; font-size: 13px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; background-position: initial initial; background-repeat: initial initial; &quot; width=&quot;600&quot; /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;As you can see we added a name, description and a version. Next step will be defining what this feature provides.&lt;/p&gt;&lt;h2 style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 1.538em; margin: 0px 0px 0.45em; padding: 0px; vertical-align: baseline; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 1.35em; font-weight: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Step 2. Select features components.&lt;/h2&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;From the &quot;Add Components&quot; dropdown we have to select the components the feature consists off. This is about a video node so we select &quot;Node&quot;. From the checklist we only need the video node type.&lt;/p&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;a href=&quot;http://drupal.org/files/feature-ex-1-online-video-step-2_0.png&quot; rel=&quot;nofollow&quot; style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; color: rgb(6, 120, 190); text-decoration: none; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;br /&gt;&lt;img src=&quot;http://drupal.org/files/feature-ex-1-online-video-step-2_0.png&quot; style=&quot;border: 0px; background-color: transparent; font-size: 13px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; background-position: initial initial; background-repeat: initial initial; &quot; width=&quot;600&quot; /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;The auto-detect functionality grabs the required building blocks node (video), content (video-field_video), modules (emvideo, features). Therefore, when we want to install the feature, we need to make sure we have installed the required modules.&lt;/p&gt;&lt;h2 style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 1.538em; margin: 0px 0px 0.45em; padding: 0px; vertical-align: baseline; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 1.35em; font-weight: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Step 3. Download the feature.&lt;/h2&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;When satisfied with all components, click the download button and save the tarball (in this case,&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;code style=&quot;border: 0px; background-color: rgb(246, 246, 242); font-size: 0.923em; margin: 0px; padding: 1px; vertical-align: baseline; font-family: &#39;Bitstream Vera Sans Mono&#39;, Monaco, &#39;Lucida Console&#39;, monospace; line-height: 1.5em; white-space: pre-wrap; background-position: initial initial; background-repeat: initial initial; &quot;&gt;online_videos-6.x-1.0-alpha1.tar.gz&lt;/code&gt;).&lt;/p&gt;&lt;h2 style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 1.538em; margin: 0px 0px 0.45em; padding: 0px; vertical-align: baseline; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 1.35em; font-weight: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Step 4. Install and enable the feature.&lt;/h2&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Best thing to do is untar the file in your current project. As described above, features are not listed on the&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;em style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;site/build/modules&lt;/em&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;page even though they are technically modules. To keep them separate, you should consider putting all of your features in a separate directory — e.g.,&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;em style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;site/all/modules/custom/your-feature&lt;/em&gt;.&lt;/p&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;a href=&quot;http://drupal.org/files/feature-ex-1-online-video-step-4.png&quot; rel=&quot;nofollow&quot; style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; color: rgb(6, 120, 190); text-decoration: none; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;br /&gt;&lt;img src=&quot;http://drupal.org/files/feature-ex-1-online-video-step-4.png&quot; style=&quot;border: 0px; background-color: transparent; font-size: 13px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; background-position: initial initial; background-repeat: initial initial; &quot; width=&quot;600&quot; /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;The feature now appears at&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;em style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;admin/build/features&lt;/em&gt;. Checking the box next to the feature&#39;s name and saving page causes the features module to check for the current state all features.&lt;/p&gt;&lt;h2 style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 1.538em; margin: 0px 0px 0.45em; padding: 0px; vertical-align: baseline; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 1.35em; font-weight: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Step 5. Visit&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;em style=&quot;border: 0px; background-color: transparent; font-size: 20px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;admin/build/modules&lt;/em&gt;&lt;/h2&gt;&lt;p style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 1.385em; padding: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;When checking for the module online video module it&#39;s not there. Searching for the name would show you a dependency on online_video module. To disable such a module you have to disable the feature first.&lt;/p&gt;&lt;h2 style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 1.538em; margin: 0px 0px 0.45em; padding: 0px; vertical-align: baseline; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 1.35em; font-weight: normal; color: rgb(34, 34, 34); font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;Notes&lt;/h2&gt;&lt;ul style=&quot;border: 0px; background-color: rgb(255, 255, 255); font-size: 13px; margin: 0px 0px 0.692em; padding: 0px 0px 0px 2em; vertical-align: baseline; list-style: disc; overflow: hidden; color: rgb(34, 34, 34); font-family: &#39;Lucida Grande&#39;, &#39;DejaVu Sans&#39;, &#39;Bitstream Vera Sans&#39;, Verdana, Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial; &quot;&gt;&lt;li style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;We have said nothing about what drupal projects you need to install to be able to install our example feature.&lt;/li&gt;&lt;li style=&quot;border: 0px; background-color: transparent; font-size: 13px; margin: 0px; padding: 0px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; &quot;&gt;If we had created a view this would be exported too. test it yourself.&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1941295254412700174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/07/drupal-feature-module-example.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1941295254412700174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1941295254412700174'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/07/drupal-feature-module-example.html' title='Drupal feature Module example'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-4743149509896994760</id><published>2012-06-19T03:21:00.000-07:00</published><updated>2012-06-19T03:22:49.119-07:00</updated><title type='text'>Deploying local to remote sites drush site aliases</title><content type='html'>&lt;div class=&quot;content&quot;&gt;     &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;&lt;p&gt;&lt;br /&gt; &lt;a href=&quot;http://www.dailymotion.com/video/xnq298_deploying-local-to-remote-sites-drush-site-aliases_tech&quot; target=&quot;_blank&quot;&gt;Deploying local to remote sites drush site aliases&lt;/a&gt; &lt;i&gt;by &lt;a href=&quot;http://www.dailymotion.com/kiwipion&quot; target=&quot;_blank&quot;&gt;kiwipion&lt;/a&gt;&lt;/i&gt;&lt;/p&gt; &lt;h3&gt;  Introduction&lt;/h3&gt; &lt;p&gt;In this tutorial we are going to deploy a copy of our current local  site across to what we will term our staging server using the Drush  function site aliases. For ease of use the staging server will be on the  local machine as well, but you can use the same principal for  propagating across to a remote server such as a shared host.&lt;/p&gt; &lt;h3&gt;  Prerequisites&lt;/h3&gt; &lt;p&gt;For you to follow these instructions you will need the followng setup on your machine&lt;/p&gt; &lt;ul style=&quot;padding-right: 40px; &quot;&gt;&lt;li&gt;   Local environment set up ie MAMP for mac&lt;/li&gt;&lt;li&gt;   Drush installed. &lt;/li&gt;&lt;/ul&gt; &lt;h3&gt;  Preparation&lt;/h3&gt; &lt;p&gt;Implement your own aliases.drushrc.php file. You can copy the  example.aliases.drushrc.php from the examples directory to either your  local drush root directory or into your drupal installation make sure  you read the instructions at the top of this file to ensure that it gets  picked up buy drush. &lt;/p&gt; &lt;p&gt;There are two very good articles that can be used as reference here &lt;a href=&quot;http://emspace.com.au/article/drush-aliases-primer-live-dev-syncing&quot;&gt;http://emspace.com.au/article/drush-aliases-primer-live-dev-syncing&lt;/a&gt; &amp;amp; here &lt;a href=&quot;http://drupal.org/node/670460&quot;&gt;http://drupal.org/node/670460&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Go into your drush/examples folder and copy the  examples.aliases.drushrc.php to a location of your preference, I&#39;ll be  putting mine in the drupal installation directory and renaming it to  mysite.aliases.drushrc.php.&lt;/p&gt; &lt;p&gt;For reference here are my aliases for @mysite.dev &amp;amp; @mysite.stage&lt;/p&gt; &lt;div class=&quot;geshifilter&quot;&gt;  &lt;div class=&quot;text geshifilter-text&quot;&gt;   &lt;pre class=&quot;de1&quot;&gt;$aliases[&#39;dev&#39;] = array(     &#39;uri&#39; =&amp;gt; &#39;myserver.myserver&#39;,     &#39;root&#39; =&amp;gt; &#39;/sites/mysite&#39;,     &#39;path-aliases&#39; =&amp;gt; array(       &#39;%drush&#39; =&amp;gt; &#39;/Users/nigelhenshaw/dev/drush&#39;,       &#39;%drush-script&#39; =&amp;gt; &#39;/Users/nigelhenshaw/dev/drush/drush&#39;,       &#39;%dump-dir&#39; =&amp;gt; &#39;/sites/SQL/dumps/&#39;,       &#39;%dump&#39; =&amp;gt; &#39;/sites/SQL/sql-dev.sql&#39;,       &#39;%files&#39; =&amp;gt; &#39;sites/drupalovereasy.com/files&#39;,      ),   );   $aliases[&#39;stage&#39;] = array(     &#39;uri&#39; =&amp;gt; &#39;myserver.stage&#39;,     &#39;root&#39; =&amp;gt; &#39;/sites/mysite.stage&#39;,     &#39;path-aliases&#39; =&amp;gt; array(       &#39;%drush&#39; =&amp;gt; &#39;/Users/nigelhenshaw/dev/drush&#39;,       &#39;%drush-script&#39; =&amp;gt; &#39;/Users/nigelhenshaw/dev/drush/drush&#39;,       &#39;%dump-dir&#39; =&amp;gt; &#39;/sites/SQL/dumps/&#39;,       &#39;%dump&#39; =&amp;gt; &#39;/sites/SQL/sql-stage.sql&#39;,       &#39;%files&#39; =&amp;gt; &#39;sites/drupalovereasy.com/files&#39;,      ),   );&lt;/pre&gt;  &lt;/div&gt; &lt;/div&gt; &lt;p&gt;Inform the drushrc.php file of the location of the aliases file in [&#39;alias-path&#39;] section.&lt;/p&gt; &lt;p&gt;Now check that drupal is scanning your alias file correctly and your configuration is correct by running&lt;/p&gt; &lt;div class=&quot;geshifilter&quot;&gt;  &lt;div class=&quot;text geshifilter-text&quot;&gt;   &lt;pre class=&quot;de1&quot;&gt;drush sa&lt;/pre&gt;  &lt;/div&gt; &lt;/div&gt; &lt;p&gt;You should be something like this, which will confirm that drush is  scanning your alias file and the context of your alias is correct.&lt;/p&gt; &lt;div class=&quot;geshifilter&quot;&gt;  &lt;div class=&quot;text geshifilter-text&quot;&gt;   &lt;pre class=&quot;de1&quot;&gt;@self @mysite.dev @mysite default&lt;/pre&gt;  &lt;/div&gt; &lt;/div&gt; &lt;p&gt;The alias I definned is @mysite.dev&lt;/p&gt; &lt;p&gt;Let&#39;s see if we can backup the contents of the database by doing a drush dump, this will be the command that I will be running&lt;/p&gt; &lt;div class=&quot;geshifilter&quot;&gt;  &lt;div class=&quot;text geshifilter-text&quot;&gt;   &lt;pre class=&quot;de1&quot;&gt;drush @mysite.dev sql-dump &amp;gt; `drush dd @mysite.dev:%dump`&lt;/pre&gt;  &lt;/div&gt; &lt;/div&gt; &lt;p&gt;A copy of my database should now be downloaded at /sites/SQL/dumps/, which was specified in the the mysite.aliases.drushrc.php&lt;/p&gt; &lt;p&gt;Now I&#39;m going to repeat the process and create alias settings for my staging server which I will call mysite.stage&lt;/p&gt; &lt;h3&gt;  Deploy&lt;/h3&gt; &lt;p&gt;There are two steps required for migrating across to a new site location that has not yet been populated&lt;/p&gt; &lt;p&gt;1/ Rsync the code across&lt;/p&gt; &lt;div class=&quot;geshifilter&quot;&gt;  &lt;div class=&quot;text geshifilter-text&quot;&gt;   &lt;pre class=&quot;de1&quot;&gt;% drush rsync @mysite.dev @mysite.stage&lt;/pre&gt;  &lt;/div&gt; &lt;/div&gt; &lt;p&gt;2 / Configure the database and ensure that settings.php is aligned with it.&lt;/p&gt; &lt;p&gt;3/ Sql-sync the database across&lt;/p&gt; &lt;div class=&quot;geshifilter&quot;&gt;  &lt;div class=&quot;text geshifilter-text&quot;&gt;   &lt;pre class=&quot;de1&quot;&gt;% drush sql-sync @mysite.dev @mysite.stage &lt;/pre&gt;  &lt;/div&gt; &lt;/div&gt; &lt;p&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;span class=&quot;geshifilter&quot;&gt;&lt;code class=&quot;text geshifilter-text&quot;&gt;Your staging site should now be up and running.&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;h3&gt;  Synchronization&lt;/h3&gt; &lt;p&gt;Once a remote site has been installed you will have to consider how  you will maintain the site after ie how do you manage source code and  database content. Normally source is pushed up to the remote server and  database content is pulled down. An example demonstrating this would be  upgrading a site where that database content has been pulled down to the  staging server using drush sql-sync. The source code is then pushed up  to the staging server from the local dev server using drush rsync, then  staging server is tested and verified. Once passed the validation  criterea the remote live site will then be put into maintenance mode  with the latest copy of the database sync&#39;d back down to the staging  server. The validation testing would normally be re-run and then the  source code would be merged up to the live server.&lt;/p&gt; &lt;p&gt;This is a very light-weight example which I&#39;m using the demonstrate  the direction of source code versus database data in relation to each  other, which is different from what we did with the brand new setup of  the staging server that had both the source code and database content  pushed to the staging server.&lt;/p&gt; &lt;h3&gt;  Final Thoughts&lt;/h3&gt; &lt;p&gt;In closing it will be interesting to see how drush rsync and sql-sync  will develop in regards with the work happening in git and dog, I have  seen discussions of installing git on the live server and merging the  code up but I don&#39;t yet know if it is possible to install git on a  shared host without the root access.  And I do find the drush rsync  &amp;amp; sql-sync fast and simple to use.&lt;/p&gt; &lt;p&gt;And my final word for the day &quot;always make sure you backup the database before running the sql-sync command&quot;.&lt;/p&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/4743149509896994760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/06/deploying-local-to-remote-sites-drush.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/4743149509896994760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/4743149509896994760'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/06/deploying-local-to-remote-sites-drush.html' title='Deploying local to remote sites drush site aliases'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-4192624680922584386</id><published>2012-06-10T00:12:00.000-07:00</published><updated>2012-06-10T00:14:23.981-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><title type='text'>MySql replication on same Windows machine</title><content type='html'>&lt;p&gt;1. First install mysql-5.5.11-win32.msi on windows machine. While installing choose custom installation and change&lt;br /&gt;installation path to D:\MySQL\MySQL Server 5.5&lt;br /&gt;2. Use all the default parameter like Service name is MYSQL and port number is 3306 and setup bin path.&lt;br /&gt;3. And also modify root password to mysql.&lt;br /&gt;3. Now check whether your installation is correct or not.&lt;br /&gt;4.Open dos prompt and type below command.&lt;br /&gt;c:\&amp;gt; mysql -uroot -pmysql -hlocalhost -P3306;&lt;/p&gt; &lt;p&gt;If you get mysql command then everything is ok.&lt;br /&gt;We will treat mysql 5.5 is MASTER.&lt;br /&gt;Now create one database:&lt;/p&gt; &lt;p&gt;mysql&amp;gt; create database santosh;&lt;/p&gt; &lt;p&gt;5. Now install another version of mysql (mysql-5.1.56-win32.msi)  for SLAVE. Again while installing choose custome&lt;br /&gt;installation and change installation path to D:\MySQL\MySQL Server 5.1&lt;br /&gt;6. Change service name to MYSQL2 and port number to 3307&lt;br /&gt;7. Modify root password to root.&lt;br /&gt;8.Now check whether your installation is correct or not.&lt;br /&gt;9.Open new dos prompot and type below command.&lt;/p&gt; &lt;p&gt;c:\&amp;gt; mysql -uroot -proot -hlocalhost -P3307;&lt;/p&gt; &lt;p&gt;If you get mysql command then everything is ok.&lt;br /&gt;We will treat mysql 5.1 is SLAVE.&lt;br /&gt;Now create one database:&lt;br /&gt;mysql&amp;gt; create database santosh;&lt;/p&gt; &lt;p&gt;Up to here two mysql instance are running in your windows machine.&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;text-decoration:underline;&quot;&gt;&lt;strong&gt;Now start the replication implementation.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;1. Open D:\MySQL\MySQL Server 5.5\my.ini then add four options to the [mysqld] section of the my.ini file&lt;/p&gt; &lt;p&gt;[mysqld]&lt;br /&gt;log-bin=dellxp1-bin.log&lt;br /&gt;server-id=1&lt;br /&gt;innodb_flush_log_at_trx_commit=1&lt;br /&gt;sync_binlog=1&lt;/p&gt; &lt;p&gt;save it.&lt;br /&gt;Restart the MYSQL service from your pc. MyComputer -&amp;gt; Right click  -&amp;gt; click on Manage -&amp;gt; Services and Application -&amp;gt; Services  -&amp;gt;&lt;br /&gt;search MYSQL on right side, right click on that MYSQL and click on restart.&lt;/p&gt; &lt;p&gt;The next step in setting up replication is creating an account that  will be used exclusively for replication. We strongly advise creating a  dedicated replication user be created for better security so you won’t  need to grant any additional privileges besides replication permissions.  Create an account on the master server that the slave server can use to  connect. As mentioned, this account must be given the REPLICATION SLAVE  privilege.&lt;/p&gt; &lt;p&gt;Open one dos windows for all MASTER operation.&lt;br /&gt;c:\&amp;gt;mysql -uroot -pmysql -hlocalhost -P3306;&lt;br /&gt;mysql&amp;gt; create user ‘replication_user’ identified by ‘password’;&lt;br /&gt;mysql&amp;gt; grant replication slave on *.* to ‘replication_user’@&#39;%’ identified by ‘password’;&lt;br /&gt;mysql&amp;gt; flush privileges;&lt;br /&gt;mysql&amp;gt; FLUSH TABLES WITH READ LOCK;&lt;br /&gt;mysql&amp;gt; SHOW MASTER STATUS;&lt;/p&gt; &lt;p&gt;+——————–+———-+————–+——————+&lt;br /&gt;| File               | Position | Binlog_Do_DB | Binlog_Ignore_DB |&lt;br /&gt;+——————–+———-+————–+——————+&lt;br /&gt;| dellxp1-bin.000001 |     338 |              |                  |&lt;br /&gt;+——————–+———-+————–+——————+&lt;br /&gt;1 row in set (0.00 sec)&lt;/p&gt; &lt;p&gt;Please note down this file name and position, it will use to later.&lt;/p&gt; &lt;p&gt;Now take your backup of your MASTER database as we have new database  so this below step are not required. But when you have to create SLAVE  of running database then it step must be required, so lets go these  below step too.&lt;/p&gt; &lt;p&gt;Open new dos prompt.&lt;/p&gt; &lt;p&gt;Taking backup from MASTER:&lt;br /&gt;C:\&amp;gt;mysqldump -uroot -pmysql -hlocalhost -P3306 santosh&amp;gt; d:\test2.sql&lt;/p&gt; &lt;p&gt;Now export this back to SLAVE, run below command on same dos windows.&lt;br /&gt;C:\Users\sumankbi&amp;gt;mysql -uroot -proot -hlocalhost -P3307 santosh&amp;lt; d:\test2.sql&lt;/p&gt; &lt;p&gt;Now some change on SLAVE side:&lt;br /&gt;1. Open D:\MySQL\MySQL Server 5.1\my.ini then add four options to the [mysqld] section of the my.ini file&lt;/p&gt; &lt;p&gt;[mysqld]&lt;br /&gt;server-id=2&lt;/p&gt; &lt;p&gt;save it.&lt;br /&gt;Restart the MYSQL2 service from your pc. MyComputer -&amp;gt; Right click  -&amp;gt; click on Manage -&amp;gt; Services and Application -&amp;gt; Services  -&amp;gt;&lt;br /&gt;search MYSQL on right side, right click on that MYSQL2 and click on restart.&lt;/p&gt; &lt;p&gt;Open one dos windows for all SLAVE operation.&lt;br /&gt;c:\&amp;gt;mysql -uroot -proot -hlocalhost -P3307;&lt;/p&gt; &lt;p&gt;mysql&amp;gt; stop slave;&lt;br /&gt;mysql&amp;gt; CHANGE MASTER TO&lt;br /&gt;MASTER_HOST=’localhost’,&lt;br /&gt;MASTER_USER=’replication_user’,&lt;br /&gt;MASTER_PASSWORD=’password’,&lt;br /&gt;MASTER_PORT=3306,&lt;br /&gt;MASTER_LOG_FILE=’dellxp1-bin.000001′,&lt;br /&gt;MASTER_LOG_POS=338;&lt;/p&gt; &lt;p&gt;mysql&amp;gt; show slave status\G;&lt;br /&gt;Output will come huge, among two line should be like:&lt;br /&gt;Slave_IO_Running: No&lt;br /&gt;Slave_SQL_Running: No&lt;/p&gt; &lt;p&gt;Because slave is stopped now.&lt;br /&gt;Now time came to start slave.&lt;br /&gt;on slave side:&lt;/p&gt; &lt;p&gt;mysql&amp;gt; start slave;&lt;br /&gt;Now check slave status:&lt;br /&gt;mysql&amp;gt; show slave status\G;&lt;br /&gt;Output will come huge, among two line should be like:&lt;br /&gt;Slave_IO_Running: Yes&lt;br /&gt;Slave_SQL_Running: Yes&lt;/p&gt; &lt;p&gt;If both values are Yes, then everything are ok.&lt;/p&gt; &lt;p&gt;Now you can check your replication work.&lt;/p&gt; &lt;p&gt;Create some table in MASTER santosh database or any database (those should be there at SLAVE side) then check at slave side.&lt;/p&gt; &lt;p&gt;Now you stop slave again then you change of MASTER will not come but  once again you will start slave then  slave will get automatically  updated from last time stopped pointer.&lt;/p&gt; &lt;p&gt;More details on &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/replication.html&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/replication.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Thanks:&lt;/p&gt; &lt;p&gt;Santosh&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/4192624680922584386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/06/mysql-replication-on-same-windows.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/4192624680922584386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/4192624680922584386'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/06/mysql-replication-on-same-windows.html' title='MySql replication on same Windows machine'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-6098660377024489354</id><published>2012-05-14T00:17:00.000-07:00</published><updated>2012-05-14T00:18:01.760-07:00</updated><title type='text'>Drupal Site Configuration: Site Information, Triggers and File</title><content type='html'>&lt;p&gt;People often assume that the &lt;i&gt;basics&lt;/i&gt; are easy to master and  therefore, don&#39;t require much thought. Things are not quite so simple in  reality because while a site&#39;s basic setup is, more often than not,  easy to implement, the more subtle problem is in knowing what to  implement, and how to implement it in the first place. Precisely  understanding what you need from a site is particularly important for  this reason.&lt;/p&gt; &lt;p&gt;Does this mean that you should not start working directly on the site  unless you know exactly what is required? Not really; like most things,  it&#39;s a bit of a trade-off when it comes to starting out with the  development of a Drupal website. This is because it is almost impossible  to determine exactly what the site will need and how its functionality  should be provided until you have been working with it for some time.  Often, you will find yourself modifying the behavior of a site based on  feedback from the users.&lt;/p&gt; &lt;p&gt;In this article by &lt;b&gt;David Mercer&lt;/b&gt;, author of the book &lt;a href=&quot;https://www.packtpub.com/drupal-7-create-and-operate-website-quickly-and-efficiently/book/vf/drupal-abr1/0910?utm_source=vf_drupal_abr1_0910&amp;amp;utm_medium=content&amp;amp;utm_campaign=veronica&quot; target=&quot;_blank&quot;&gt;Drupal 7&lt;/a&gt;, we are going to talk about the following Drupal site configuration topics:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Site information&lt;/li&gt;&lt;li&gt;Actions and Triggers&lt;/li&gt;&lt;li&gt;Shortcuts&lt;/li&gt;&lt;li&gt;File system&lt;/li&gt;&lt;/ul&gt;   &lt;p style=&quot;text-align: center;&quot;&gt;&lt;i&gt;(For more resources on Drupal, see &lt;a href=&quot;http://www.packtpub.com/article/drupal-site-configuration-site-information-triggers-file-system#more&quot;&gt;here&lt;/a&gt;.)&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Not everything that is available in Drupal&#39;s &lt;b&gt;Configuration&lt;/b&gt;  section is discussed in this article. Some settings are very  straightforward and really don&#39;t warrant more than perhaps a brief  mention.&lt;/p&gt; &lt;h1&gt;Before we start&lt;/h1&gt; &lt;p&gt;It is sensible to make note of a few important things before getting  our hands dirty. Make it second nature to check how the changes made to  the settings affect the site. Quite often settings you modify, or  features you add, will not behave precisely as expected and without  ensuring that you use a prudent approach to making changes, you can  sometimes end up with a bit of a mess.&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;Changes to the site&#39;s  structure (for example, adding new modules) can affect what is and isn&#39;t  available for configuration so be aware that it may be necessary to  revisit this section.&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Click on &lt;b&gt;Configuration&lt;/b&gt; in the toolbar menu. You should see something like the following screenshot:&lt;/p&gt; &lt;div align=&quot;center&quot;&gt; &lt;div style=&quot;overflow: scroll; width: 500px; height: 500px;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_01.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;A quick point to mention is that we aren&#39;t giving over much space to the final option—&lt;b&gt;Regional and Language&lt;/b&gt;.  This is because the settings here are very basic and should give you no  trouble at all. There is also an online exercise available to help you  with date types and formats if you are interested in customizing these.&lt;/p&gt; &lt;p&gt;Let&#39;s begin!&lt;/p&gt; &lt;h1&gt;Site information&lt;/h1&gt; &lt;p&gt;This page contains a mixed bag of settings, some of which are pretty  self-explanatory, while others will require us to think quite carefully  about what we need to do. To start with, we are presented with a few  text boxes that control things like the name of the site and the site  slogan.&lt;/p&gt; &lt;p&gt;Nothing too earth shattering, although I should point out that  different themes implement these settings differently, while some don&#39;t  implement them at all.&lt;/p&gt; &lt;div align=&quot;center&quot;&gt; &lt;div style=&quot;overflow: scroll; width: 500px; height: 500px;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_02.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;For example, adding a slogan in the default Garland theme prints it after the site name as shown in the following screenshot:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_03.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;Whereas, the Stark theme places the slogan beneath the site name:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_04.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;Let&#39;s assume that there is a page of content that should be displayed  by default—before anyone views any of the other content. For example,  if you wanted to display some sort of promotional information or an  introduction page, you could tell Drupal to display that using this  setting. Remember that you have to create the content for this post  first, and then determine its path before you tell Drupal to use it. For  example, we could reference a specific node with its node ID, but  equally, a site&#39;s blogs could be displayed if you substitute &lt;i&gt;node/x&lt;/i&gt; (in node/ID format) for the blog.&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;Once you are looking at  the content intended for the front page, take note of the relative URL  path and simply enter that into the text box provided.&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Recall that the relative URL path is that part of the page&#39;s address  that comes after the standard domain, which is shared by the whole site.  For example, setting &lt;i&gt;node/2&lt;/i&gt; works because Drupal maps this relative path to &lt;i&gt;http://localhost/drupal/node/2&lt;/i&gt;&lt;/p&gt; &lt;p&gt;The first part of this address, &lt;i&gt;http://localhost/drupal/&lt;/i&gt; is the &lt;b&gt;base URL&lt;/b&gt;, and everything after that is the relative URL path.&lt;/p&gt; &lt;p&gt;Sometimes, the front page is a slightly more complex beast and it is  likely that you will want to consider Panels to create a unique front  page. In this case, Panels settings can override this setting to make a  specific panel page as the front page.&lt;/p&gt; &lt;p&gt;The following settings allow you to broadly deal with the problem of  two common site errors that may crop up during a site&#39;s normal course of  operation—from the perspective of a site visitor. In particular, you  may wish to create a couple of customized error pages that will be  displayed to the users in the event of a &quot;page not found&quot; or &quot;access  denied&quot; problem.&lt;/p&gt; &lt;p&gt;Remember that there are already pretty concise pages, which are  supplied by default. However, if you wish to make any changes, then the  process for creating an error page is exactly the same as creating any  other normal page.&lt;/p&gt; &lt;p&gt;Let&#39;s make a change very quickly. Click on &lt;b&gt;Add new content&lt;/b&gt; in the &lt;b&gt;Shortcuts&lt;/b&gt; menu and select &lt;b&gt;Basic page&lt;/b&gt;. Add whatever content you want for, say the &lt;b&gt;Page not found!&lt;/b&gt; error:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_05.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;Don&#39;t worry about the host of options available on this page—we will  talk about all of this later on. For now, simply click on the &lt;b&gt;Save&lt;/b&gt; button and make note of the URL of the page when it is displayed. Then head back to the &lt;b&gt;Site information&lt;/b&gt; page, add this URL to the &lt;b&gt;Default 404 (not found) page&lt;/b&gt; dialog, and then click on the &lt;b&gt;Save configuration&lt;/b&gt; button:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_06.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;If you navigate to a page that doesn&#39;t exist, for example, &lt;i&gt;node/3333&lt;/i&gt;, you should receive the new error message as follows:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_07.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;In this example, we asked Drupal to find a node that does not exist yet and so it displayed the &lt;b&gt;Page not found!&lt;/b&gt; error message. Since Drupal can also provide content that is private or available to only certain users, it also needs the &lt;b&gt;access denied&lt;/b&gt;  error to explain to the would-be users that they do not have sufficient  permissions to view the requested page. This is not the same as not  finding a page, of course, but you can create your own access denied  page in exactly the same way.&lt;/p&gt; &lt;p&gt;Finally, you will need to specify how often cron should run in the &lt;b&gt;Automatically run cron&lt;/b&gt; drop-down at the bottom of the &lt;b&gt;Site information&lt;/b&gt;  page. Cronjobs are automated tasks (of any type—they could be search  indexing, feed aggregation, and so on) that should run at specified  intervals. Drupal uses them to keep itself up-to-date and ensure optimal  operation.&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;Drupal uses web page  requests to initiate new cron runs once the specified interval has  elapsed. If your website does not get visited regularly, cron itself  cannot run regularly.&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Running cron every few hours is reasonable for the vast majority of  sites. Setting it to run too quickly can create a huge load on the  server because each time the cron is run, all sorts of scripts are  updating data, performing tasks, and consuming server resources. By the  same token, run cron too infrequently and your site&#39;s content can become  outdated, or worse, important module, theme, and core updates can go  unnoticed, among other things.&lt;/p&gt; &lt;h1&gt;Actions and triggers&lt;/h1&gt; &lt;p&gt;Quite often, it happens that for specific events, it is useful to  have Drupal automatically perform a specified task or action. An action,  in the Drupal sense, is one of a number of tasks that the system can  perform, and these usually relate to e-mailing people or acting upon  user accounts or content. There are a number of simple actions that are  available as well as a few more advanced ones that can be set up by  anyone with sufficient permissions.&lt;/p&gt; &lt;p&gt;To configure actions, navigate to &lt;b&gt;Actions&lt;/b&gt; in &lt;b&gt;SYSTEM&lt;/b&gt; under the &lt;b&gt;Configuration&lt;/b&gt; menu in the toolbar:&lt;/p&gt; &lt;div align=&quot;center&quot;&gt; &lt;div style=&quot;overflow: scroll; width: 500px; height: 500px;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_08.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;Default simple actions cannot be modified, so we will ignore these  for the moment and focus on creating a new, advanced action. Set up a  new Send e-mail action by selecting it from the drop-down list and click  on the Create button, as shown in the preceding screenshot. This brings  up the following page that can be set according to how this specific  action will be used:&lt;/p&gt; &lt;div align=&quot;center&quot;&gt; &lt;div style=&quot;overflow: scroll; width: 500px; height: 500px;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_09.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;It should be clear that the intention of this e-mail is to notify the staff/administration of any new site members. The &lt;b&gt;Label&lt;/b&gt;  field is important in this respect because this is how you will  distinguish this action from the other ones that you may create in the  future. Make the description as accurate, meaningful, and concise as  possible to avoid any potential confusion.&lt;/p&gt; &lt;p&gt;Also notice that there are several placeholder variables that can be inserted into the &lt;b&gt;Recipient&lt;/b&gt;, &lt;b&gt;Subject&lt;/b&gt;, and &lt;b&gt;Message&lt;/b&gt; fields. In this instance, one has been used to inform the e-mail recipient of the new user name, as part of the message.&lt;/p&gt; &lt;p&gt;A click on the &lt;b&gt;Save&lt;/b&gt; button adds this new action to the list where it can be modified or deleted, accordingly:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_10.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;So far so good—we have set the action, but this in itself does  absolutely nothing. An action cannot do anything unless there is a  specific system event that can be triggered to set it off. These system  events are, perspicaciously enough, called triggers and Drupal can look  for any number of triggers, and perform the actions that are associated  with it—this is how actions and triggers work together.&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;Triggers are not part  of the topic of Drupal configuration. However, we will discuss them here  for completeness, since actions and triggers are integrally linked.&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Triggers are not enabled by default, so head on over to the &lt;b&gt;Modules&lt;/b&gt; section and enable the &lt;b&gt;Triggers&lt;/b&gt; module. With the module enabled, there will now be a new &lt;b&gt;Triggers&lt;/b&gt; link from the &lt;b&gt;Actions&lt;/b&gt; page. Clicking on this brings up the following page:&lt;/p&gt; &lt;div align=&quot;center&quot;&gt; &lt;div style=&quot;overflow: scroll; width: 500px; height: 500px;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_11.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;Triggers are divided into five different categories, each providing a  range of triggers to which actions can be attached. Assigning a trigger  is basically selecting an action to apply from the drop-down list of  the relevant trigger and clicking on the &lt;b&gt;Assign&lt;/b&gt; button.&lt;/p&gt; &lt;p&gt;To continue with our example, select the &lt;b&gt;USER&lt;/b&gt; tab from the top of the &lt;b&gt;Triggers&lt;/b&gt; overlay and, in the &lt;b&gt;TRIGGER: AFTER CREATING A NEW USER ACCOUNT&lt;/b&gt; box, select the newly defined action, as shown in the following screenshot:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_12.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;Click on the &lt;b&gt;Assign&lt;/b&gt; button, and the newly assigned action will show up in the relevant trigger box:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_13.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;In the same way, a large number of actions can be automated depending  on the system event (or trigger) that fires. To test this out, log off  and register a new account—you will find that the &lt;b&gt;New User Alert&lt;/b&gt; e-mail is dutifully sent out once the account has been registered (assuming your web server is able to send e-mail).&lt;/p&gt;   &lt;div class=&quot;book-ad&quot;&gt; &lt;div class=&quot;node node-teaser node-type-books front-node&quot; id=&quot;node-5993&quot;&gt;   &lt;div class=&quot;node-inner-0&quot;&gt;&lt;div class=&quot;node-inner-1&quot;&gt;     &lt;div class=&quot;node-inner-2&quot;&gt;&lt;div class=&quot;node-inner-3&quot;&gt;                &lt;h2 class=&quot;title&quot;&gt;&lt;a href=&quot;http://www.packtpub.com/drupal-7/book/vf/drupal-abr1/0910?utm_source=vf_drupal_abr1_0910&amp;amp;utm_medium=content&amp;amp;utm_campaign=veronica&quot;&gt;Drupal 7&lt;/a&gt;&lt;/h2&gt;                                           &lt;div class=&quot;content clearfix&quot;&gt;         &lt;table style=&quot;border=&amp;quot;0&amp;quot;&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;center&quot; width=&quot;100&quot;&gt; &lt;a href=&quot;http://www.packtpub.com/drupal-7/book/vf/drupal-abr1/0910?utm_source=vf_drupal_abr1_0910&amp;amp;utm_medium=content&amp;amp;utm_campaign=veronica&quot;&gt;&lt;img src=&quot;https://www.packtpub.com/sites/default/files/imagecache/productview/2862_OS.jpg&quot; alt=&quot;Drupal 7&quot; title=&quot;Drupal 7&quot; class=&quot;imagecache imagecache-productview&quot; height=&quot;151&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;/td&gt;  &lt;td style=&quot;margin-left: 5px&quot; valign=&quot;top&quot;&gt; &lt;p&gt;Create and operate any type of Drupal 7 website quickly and efficiently&lt;/p&gt;   &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;      &lt;/div&gt;              &lt;/div&gt;&lt;/div&gt;   &lt;/div&gt;&lt;/div&gt; &lt;/div&gt;  &lt;/div&gt;    &lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;i&gt;&lt;a href=&quot;https://www.packtpub.com/drupal-7-create-and-operate-website-quickly-and-efficiently/book/vf/drupal-abr1/0910?utm_source=vf_drupal_abr1_0910&amp;amp;utm_medium=content&amp;amp;utm_campaign=veronica&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;Read more about this book&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;i&gt;(For more resources on Drupal, see &lt;a href=&quot;http://www.packtpub.com/article/drupal-site-configuration-site-information-triggers-file-system#more&quot;&gt;here&lt;/a&gt;.)&lt;/i&gt;&lt;/p&gt; &lt;h1&gt;Shortcuts&lt;/h1&gt; &lt;p&gt;Shortcuts are a new feature of Drupal 7 and allow administrators (or  anyone with sufficient permissions) to create sets of links that can be  accessed by others using the shortcuts bar—directly below the toolbar  menu. By default, &lt;b&gt;Add content&lt;/b&gt; and &lt;b&gt;Find content&lt;/b&gt; are the  only two links that are provided, but you may change these regularly  depending on what you are working on at any given time.&lt;/p&gt; &lt;p&gt;For example, it may be useful to create a set of shortcuts that  involve theme-related links for quick access when it&#39;s time to theme the  site. By the same token, adding links to views and displays might be  more useful when working on content.&lt;/p&gt; &lt;p&gt;The overlay system is integrated with shortcuts, making it easy for  the administrators to add links to their shortcuts. For example, let&#39;s  say we wanted a set of configuration shortcuts so that all the main  configuration tasks are readily accessible at a moment&#39;s notice.&lt;/p&gt; &lt;p&gt;To do this, we need to first add a new shortcut set. Go to &lt;b&gt;Shortcuts&lt;/b&gt; in &lt;b&gt;USER INTERFACE&lt;/b&gt; under &lt;b&gt;Configuration&lt;/b&gt;, and click on the &lt;b&gt;Add shortcut set&lt;/b&gt; link, to bring up the following page:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_14.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;Now go to your account, and select the &lt;b&gt;Shortcut&lt;/b&gt; tab. Select the new &lt;b&gt;Configuration&lt;/b&gt; option and save the changes by clicking &lt;b&gt;Change set&lt;/b&gt; to ensure that you are viewing the correct shortcut set. Now click on &lt;b&gt;Edit shortcuts&lt;/b&gt; in the shortcuts bar to bring up the list of links contained in this set:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_15.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;Nothing too exciting yet. In fact, this is exactly the same as the  default shortcut set. We can add new shortcuts to this list manually by  clicking on the &lt;b&gt;Add shortcut&lt;/b&gt; link and providing a name and path manually:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_16.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;Clicking on the &lt;b&gt;Save&lt;/b&gt; button shows the new link added to the list and it is also now available in the shortcuts bar on the top of the page.&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_17.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;The other, easier way to add links is simple; click on the plus icon  next to the overlay name. A small popup appears to the right of the icon  while hovering over it. Take note of this because it indicates which  shortcut set the link will be added to.&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_18.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;The new shortcut will appear along the top of the page with the rest of the links.&lt;/p&gt; &lt;p&gt;Anyone with sufficient permissions can create their own set of  shortcuts and use them as they choose. The shortcuts system also  provides a block that can be added to the site like any other block.  Making effective use of shortcuts can help you cut down the wasted  navigation time—just remember to select the most relevant set from your  account because it is only possible to view one at a time.&lt;/p&gt; &lt;h1&gt;File system&lt;/h1&gt; &lt;p&gt;How you deal with the file system settings really depends on what  type of content you visualize your site using. If you know that most  files should be available for anyone to download, then leave the &lt;b&gt;Default download method&lt;/b&gt; as &lt;b&gt;Public&lt;/b&gt;. By the same token, if you want some control over who can access the files then use the &lt;b&gt;Private&lt;/b&gt; method.&lt;/p&gt; &lt;p&gt;Public files can be accessed directly through a browser without  having to go through your Drupal website. So, if someone liked a video  you posted, they could reference it from their own website, allowing  their visitors to see the video using your bandwidth to serve  it—obviously not ideal.&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;You need to keep an eye on this and find out if your host service provides some sort of hotlinking protection to combat this.&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Assuming you &lt;i&gt;want&lt;/i&gt; to make your download method private, you  will need to specify a directory that is not directly available over the  web—in other words, it is outside the document root folder.&lt;/p&gt; &lt;p&gt;The same technique is used for the temporary files folder that Drupal  requires in order to properly handle any files you or the site users  might deal with.&lt;/p&gt; &lt;p&gt;On your development machine, you might end up with something like the following screenshot (Public file downloads):&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_19.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;To make this private, create a folder outside of the web root (but still within the web server folder), add it to the &lt;b&gt;Private file system path&lt;/b&gt; option, and click on the &lt;b&gt;Save configuration&lt;/b&gt; button, as shown in the following screenshot:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_20.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;With the new absolute path to the private folder specified (in this case, &lt;b&gt;privatedrupalfiles&lt;/b&gt;) there will now be an additional &lt;b&gt;Default download method&lt;/b&gt; available for selection, entitled &lt;b&gt;Private local files served by Drupal&lt;/b&gt;.&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;The &lt;b&gt;Default download method&lt;/b&gt; is the default behavior. Individual download methods can be set on each file type field added to any content type.&lt;/i&gt;&lt;/p&gt; &lt;p&gt;Before continuing, let&#39;s confirm that we can specify a download method for any file without problems. Go to &lt;b&gt;Content types&lt;/b&gt; under &lt;b&gt;Structure&lt;/b&gt;, and click on the &lt;b&gt;manage fields&lt;/b&gt; link next to one of the content types, say &lt;b&gt;blog entry&lt;/b&gt;. Add a new field of the &lt;b&gt;File&lt;/b&gt; type and save the changes. You will then be able to select &lt;b&gt;Public files&lt;/b&gt; or &lt;b&gt;Private files&lt;/b&gt; in the &lt;b&gt;Upload destination&lt;/b&gt; section on the following configuration page, as shown in the next screenshot:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_21.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;The important point here is that each file uploaded to the site can  be controlled on a field level basis, and more importantly on a field  level per content type basis. This is a vast improvement over Drupal 6  which forced either all files to be public or all to be private.&lt;/p&gt; &lt;p&gt;How Drupal controls what type and the size of the files that can be  uploaded is a matter for the content type specific configuration page  shown in the preceding screenshot. It is not really sensible to allow  any type of file to be uploaded to the site. The first thing that will  happen if you do this, is that someone will upload a malicious  executable file that does something nasty when it runs on the users&#39;  machines, in turn, causing them to say or do something nasty to you.&lt;/p&gt; &lt;p&gt;For example, you might know that for a particular content type, the  only type of file that should be uploaded is a small text or &lt;i&gt;.txt&lt;/i&gt; file. In this case, you would have something like the following settings:&lt;/p&gt; &lt;div align=&quot;center&quot;&gt; &lt;div style=&quot;overflow: scroll; width: 500px; height: 500px;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_22.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;In this case, we have specified that only &#39;txt files&#39; of less than 50 KB can be uploaded to the &lt;i&gt;blogtext&lt;/i&gt;  sub-directory. The decisions you ultimately make should be dictated by  the needs of the individual site. When in doubt, follow the tenet:&lt;/p&gt; &lt;p style=&quot;margin-left:40px;margin-right:40px&quot;&gt;&lt;i&gt;Provide only what is absolutely necessary, and no more!&lt;/i&gt;&lt;/p&gt; &lt;p&gt;The actual settings themselves are easy enough to implement, but I  suggest you do not add any file extensions that you know the site will  not need. Remember that it is possible to cloak nasty software within  other file types, so the more variety you allow, the less secure things  become.&lt;/p&gt; &lt;p&gt;We can test all of this out by posting a new blog and trying to  upload files. Try a range of files, not just &#39;txt&#39; files to see the  results. For example, attempting to upload an image file gives the  following result:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_23.png&quot; border=&quot;0&quot; width=&quot;550&quot; /&gt;&lt;/p&gt; &lt;p&gt;However, uploading a new file that does meet the criteria set, meets  with success and we can check to ensure that the file is present in the  proper sub-directory of the file system, as shown next:&lt;/p&gt; &lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.packtpub.com/sites/default/files/Article-Images/2862_03_24.png&quot; border=&quot;0&quot; /&gt;&lt;/p&gt; &lt;p&gt;As you can see, the site has correctly uploaded the &lt;i&gt;blogtextfile.txt&lt;/i&gt; file in the &lt;i&gt;blogtext&lt;/i&gt;  subdirectory, as specified earlier. The field-based system for file  handling in Drupal 7 represents a huge improvement over previous Drupal  milestones.&lt;/p&gt; &lt;h1&gt;Summary&lt;/h1&gt; &lt;p&gt;This article has covered a fair amount of ground in terms of setting  up the site. We began by looking at some general configuration settings,  like Site information, that are important in terms of getting the nuts  and bolts in working order. Many of these settings will need to be  revisited as the site develops.&lt;/p&gt; &lt;p&gt;While triggers aren&#39;t necessarily part of a discussion on  configuration, we learned that they are inextricably linked to actions  that can be configured to automate many common site tasks or chores.  Again, coming back to actions and triggers every once and a while can  help reduce the number of repetitive tasks that have to be completed  manually.&lt;/p&gt; &lt;p&gt;Next, we gained the ability to control file uploads and file handling  using Drupal 7&#39;s new field-based paradigm. Having fine grained control  over how various files are accessed is a great improvement over past  incarnations of Drupal.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/6098660377024489354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/05/drupal-site-configuration-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/6098660377024489354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/6098660377024489354'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/05/drupal-site-configuration-site.html' title='Drupal Site Configuration: Site Information, Triggers and File'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-8731678582739534661</id><published>2012-04-24T22:37:00.002-07:00</published><updated>2012-05-09T22:28:11.650-07:00</updated><title type='text'>Workbench: Managing Content Management-1</title><content type='html'>This screencast is a part of the Workbench learning series. You can find more at the following links:&lt;br /&gt;* NodeOne Drupal Learning Library: nodeone.se/learn-drupal&lt;br /&gt;* The Workbench overview series: nodeone.se/node/1021&lt;br /&gt;* The Workbench main project page: drupal.org/project/workbench&lt;br /&gt;&lt;iframe src=&quot;http://player.vimeo.com/video/29424366&quot; width=&quot;500&quot; height=&quot;375&quot; frameborder=&quot;0&quot; webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/8731678582739534661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/04/workbench-managing-content-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/8731678582739534661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/8731678582739534661'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/04/workbench-managing-content-management.html' title='Workbench: Managing Content Management-1'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1169399106123552701</id><published>2012-04-19T09:53:00.001-07:00</published><updated>2012-04-19T09:57:34.743-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="drupal seo"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal6"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><title type='text'>30+ Essential Drupal Modules</title><content type='html'>&lt;h3&gt;  The Big Three&lt;/h3&gt; &lt;p&gt;  &quot;The big three&quot; are important enough that they deserve a category of  their own. Most drupal modules worth using have integrated with one of  these three. Their importance simply can&#39;t be stressed enough.&lt;/p&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/cck&quot;&gt;Content Construction Kit (CCK)&lt;/a&gt; - Part of drupal 7; still a contrib in drupal 6. Allows you to define new &lt;em&gt;content types&lt;/em&gt; (e.g. blog entry, event, or employee record...) and add &quot;&lt;em&gt;fields&lt;/em&gt;&quot; to them. A&lt;em&gt; field &lt;/em&gt;could  be plain text, an image, a flash video, or whatever. You can also  adjust how these fields display in the live view. No drupal install  should be without this module.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/views&quot;&gt;Views&lt;/a&gt; - Broadly speaking, this module empowers non programmers to build dynamic streams of content displaying any number of &lt;em&gt;fields&lt;/em&gt;. The content may come from &lt;em&gt;nodes&lt;/em&gt; (a.k.a. &lt;em&gt;content types&lt;/em&gt; and&lt;em&gt; fields&lt;/em&gt;),  users, system log entries, etc. You can display this stream in any  number of formats including RSS feeds, tables, or just the vanilla view  for a content type. You can also create pages or blocks -- its very  tightly interwoven with drupal. Nearly every drupal module worth using  is integrated with this module. Extremely powerful when used in  combination with CCK.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/panels&quot;&gt;Panels&lt;/a&gt; -&lt;br /&gt; &lt;img alt=&quot;&quot; src=&quot;http://www.nicklewis.org/files/Picture%2034.png&quot; style=&quot;width: 577px; height: 114px;&quot; /&gt;&lt;br /&gt; &lt;strong&gt;I believe Panels + CCK &amp;amp; Views is a hint at what drupal  will look like 3 years into the future. I had to change my pants after  the first time I witnessed it.&lt;/strong&gt; At a very simple level, you  could think of it as a layout manager. Create a 1,2,3 column layout. Or a  3 column layout with a full width footer and header, and plop pieces of  content in them -- say a&lt;em&gt; view&lt;/em&gt;, a&lt;em&gt; block&lt;/em&gt;, or a &lt;em&gt;node&lt;/em&gt;.  That description, however does not do it justice. Since version 3, its  positioned itself as a replacement for drupal core&#39;s clunky block  system. It can now override a node page, and can be used to place  content all over the place. It also introduced a concept of &lt;em&gt;contexts, selections rules&lt;/em&gt;, and&lt;em&gt; relationships&lt;/em&gt;.  These are concepts that deserve a series of blog posts, but lets just  say its solving some of the weirdest, mind numbing, bug creating  problems found in advanced websites. Ironically, I used to hate this  module, but after version 3 I will defend its awesomeness to the death!&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  For Administration Sanity&lt;/h3&gt;&lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/admin_menu&quot;&gt;Admin Menu&lt;/a&gt; - Quick Dropdown menu to all admin areas. Makes any setting only a click away, instead of 3 to 6 clicks away.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/rootcandy&quot;&gt;RootCandy&lt;/a&gt; - A theme  specially designed for administration. Drupal 7 comes with an admin  theme included, but this is still highly recommended in drupal 6.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;   &lt;/p&gt; &lt;h3&gt;  Content and SEO&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/pathauto&quot;&gt;Pathauto&lt;/a&gt; - Automatically create human readable URLS from &lt;em&gt;&lt;a href=&quot;http://drupal.org/project/token&quot;&gt;tokens&lt;/a&gt;.&lt;/em&gt;  A token is a piece of data from content, say the author&#39;s username, or  the content&#39;s title. So if you set up a blog entry to use tokens like  [author-name]/[title] then a blog entry by &quot;Phil Withersppon&quot; titled &quot;my  great day&quot; will be rewritten example.com/phil-witherspoon/my-great-day.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/print&quot;&gt;Printer, email, and PDF Versions&lt;/a&gt;  - There are still people out there who prefer to print out content to  read later. This module does just that, and also lets them send your  content via email.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/nodewords&quot;&gt;NodeWords&lt;/a&gt; - A very poorly named module that&#39;s great at letting you edit meta tags.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/page_title&quot;&gt;Page Title &lt;/a&gt;- Lets you set an alternative title for the &lt;title&gt;&lt;/title&gt; tags and for the &lt;h1&gt;&lt;/h1&gt; tags on a node.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/globalredirect&quot;&gt;Global Redirect&lt;/a&gt;  - Enforces numerous well thought out SEO rules, for example since I  don&#39;t use this module you could access my content at  &quot;http://www.nicklewis.org/node/1062&quot;. This module however will search  for the alias and 301 to the proper URL  http://www.nicklewis.org/40-essential-drupal-6-modules. (thanks &lt;a href=&quot;http://www.lifeisaprayer.com/&quot;&gt;Jeff&lt;/a&gt;!)&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/path_redirect&quot;&gt;Path Redirect&lt;/a&gt; - Simple idea: make it easy to redirect from one path to another. Does a good job at it.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/taxonomy_manager&quot;&gt;Taxonomy manager&lt;/a&gt; - Makes large additions, or changes to taxonomy really really easy and painless.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/node_import&quot;&gt;Node Import&lt;/a&gt; - Made  it shockingly easy to import 2000 csv rows, tie rows to CCK fields (or  locations), and even will file it under the right taxonomy terms in  hierarchy so long as you plan ahead.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  Navigation&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/menu_block&quot;&gt;Menu Block&lt;/a&gt; - Lets  you split menus into separate blocks based on depth. Say you have a top  level menu link &quot;Articles&quot; with sub menu links &quot;Politics&quot;, &quot;Technology&quot;,  &quot;lifestyle&quot;. This block would let you show the sub menus in the right  sidebar, and the top level &quot;article&quot; as tabs in the header.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/taxonomy_menu&quot;&gt;Taxonomy Menu&lt;/a&gt; -  Automatically generate menu items for categories. Handles syncing  between taxonomy and menus, and is ready to be used in conjunction with  views or panels.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/custom_breadcrumbs&quot;&gt;Custom Breadcrumbs&lt;/a&gt;  - Set up custom breadcrumb paths for content so that every page doesn&#39;t  just have a breadcrumb back to &quot;home&quot;. (note: i&#39;ve used &lt;a href=&quot;http://drupal.org/project/menutrails&quot;&gt;menu_trails&lt;/a&gt; a lot too.)&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/nice_menus&quot;&gt;Nice Menus &lt;/a&gt;- Drop down menus (for people who are into that kind of thing).&lt;br /&gt; &lt;img alt=&quot;&quot; src=&quot;http://www.nicklewis.org/files/nice_menus.thumbnail.png&quot; height=&quot;188&quot; width=&quot;300&quot; /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  WYSIWYG Editors + Image Uploading&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/wysiwyg&quot;&gt;WYSIWYG API&lt;/a&gt; - The standard integration module.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/ckeditor&quot;&gt;CKEditor&lt;/a&gt; - Currently  my favorite WYSIWYG editor. WYSIWYG API only supports CKEditor on its  dev version (at the time of this writing). For the time being, I use  this module instead of WYSIWYG api. Regardless, the rest of the world  probably uses WYSIWYG api.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/imce&quot;&gt;IMCE&lt;/a&gt; - File browser /  image inclusion for WYSIWYG editors. CKeditor is integrated out of the  box, WYSIWYG API implementations require &lt;a href=&quot;http://drupal.org/project/imce_wysiwyg&quot;&gt;a bridge module&lt;/a&gt;.&lt;br /&gt; &lt;img alt=&quot;&quot; src=&quot;http://www.nicklewis.org/files/Clipboard01.thumbnail.jpg&quot; height=&quot;209&quot; width=&quot;300&quot; /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  &lt;img alt=&quot;&quot; src=&quot;http://www.nicklewis.org/files/Picture%2031.png&quot; style=&quot;width: 220px; height: 255px;&quot; hspace=&quot;12&quot; align=&quot;right&quot; /&gt;Video and Image Handling&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/filefield&quot;&gt;Filefield&lt;/a&gt; - Base CCK file upload field. Useful on its own, but also required by other essential modules.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/imageapi&quot;&gt;ImageAPI&lt;/a&gt;,&lt;a href=&quot;http://drupal.org/project/imagecache&quot;&gt; ImageCache&lt;/a&gt;, &lt;a href=&quot;http://drupal.org/project/imagefield&quot;&gt;Imagefield&lt;/a&gt;  - These three work together. ImageAPI handles low level integration  with server side image processing (e.g ImageMagick). ImageCache allows  you to set up presets for automatic resizing, cropping, and a host of  other operations you&#39;ll probably never need to use. ImageField then  provides an upload field to a piece of content, which you can use  imagecache presets to resize in the display. Imagefield is very well  integrated with Views and CCK. The paintings on the right show a bunch  of images automatically resized using this technique.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/lightbox2&quot;&gt;Lightbox2 &lt;/a&gt;- If  you&#39;ve set up your imagefields, lightbox2 lets you add another layer of  options. For example, display image resized at 300px wide on the page,  but blow it up to full size when clicked. Like Imagefield, lightbox 2 is  well integrated with Views and CCK. Very powerful combination.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/emfield&quot;&gt;Embedded Media Field&lt;/a&gt; -  Embed video and audio files from dozens of third party providers  ranging from youtube, to services you&#39;ve probably never heard of.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  User Profile, Ratings &amp;amp; Notifications&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/content_profile&quot;&gt;Content Profile&lt;/a&gt; - The core profile module sort of sucks. This turns profiles into nodes allowing you all the options of views and CCK.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/votingapi&quot;&gt;Voting API &lt;/a&gt;+&lt;a href=&quot;http://drupal.org/project/fivestar&quot;&gt; Fivestar&lt;/a&gt; - The standard voting widget of Drupal.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/notifications&quot;&gt;Notifications&lt;/a&gt; - Provides the ability to send emails when someone comments, or replies to a comment. Has a host of other features.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/captcha&quot;&gt;Captcha&lt;/a&gt; + &lt;a href=&quot;http://drupal.org/project/recaptcha&quot;&gt;Recaptcha&lt;/a&gt; - Standard Antispam system. In use on this very site.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  Stuff Marketers Will Love&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/webform&quot;&gt;Webform&lt;/a&gt; - We all know  visitors love filling out forms. This module lets your marketing team  create custom forms, and collect whatever info they want.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/google_analytics&quot;&gt;Google Analytics&lt;/a&gt; - Simple integration of drupal with google Analytics.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/service_links&quot;&gt;Service Links&lt;/a&gt; - Easy &quot;share this&quot; links for content. Supports digg, facebook, delicous and a bunch of other social web 2.0 services.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  Events and Calendars&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/date&quot;&gt;Date&lt;/a&gt; - CCK field for handling dates, and date ranges.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/calendar&quot;&gt;Calendar &lt;/a&gt;- Integrated and controlled by views.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  Location and Mapping&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/location&quot;&gt;Location&lt;/a&gt; - Standard  API for collecting addresses and lat/long. Integrated with Views and  CCK. Somewhat difficult to use, but its a somewhat difficult problem it  solves.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/gmap&quot;&gt;Gmap &lt;/a&gt;- Display locations in GMap.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  Ecommerce&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/ubercart&quot;&gt;Ubercart &lt;/a&gt;-- All ecommerce in drupal should use this module. &lt;a href=&quot;http://www.ubercart.org/contrib&quot;&gt;Has its own universe of hundreds of contribs for some of the really weird stuff.&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  For Developers&lt;/h3&gt; &lt;ul&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/devel&quot;&gt;Devel&lt;/a&gt; - Offers an  enormous amount of information for developers, including: theme template  variables, and overrides, browsable data structures, and datasets for  performance-tuning. Just the debug function dsm(); makes it worth the  download.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/backup_migrate&quot;&gt;Backup &amp;amp; Migrate&lt;/a&gt; -- Greatly eases the pain of moving changes from your local development environment to the live server and vice versa.&lt;/li&gt;  &lt;li&gt;   &lt;a href=&quot;http://drupal.org/project/drush&quot;&gt;Drush&lt;/a&gt; - Its actually not  really module, but a &quot;Swiss army knife&quot; set of tools that are run from a  command line. One example command is &quot;drush dl views&quot;: running it will  automatically download the latest version of views and place it in the  right drupal folder. 1 second command instead of a 1 minute process of  downloading from drupal, uploading via FTP. There&#39;s many other commands  that are just as useful.&lt;br /&gt; &lt;a href=&quot;http://drupal.org/project/drush&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.nicklewis.org/files/Picture%2021.png&quot; height=&quot;59&quot; hspace=&quot;&quot; width=&quot;473&quot; align=&quot;&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;  Conlusion&lt;/h3&gt; &lt;p&gt;  Lists like this can be outdated within six months. Always be on the look out for better and better modules.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1169399106123552701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/04/30-essential-drupal-modules.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1169399106123552701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1169399106123552701'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/04/30-essential-drupal-modules.html' title='30+ Essential Drupal Modules'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-365958766886138512</id><published>2012-04-01T22:47:00.002-07:00</published><updated>2012-04-02T22:57:01.784-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Other"/><title type='text'>How to Mirror Your WordPress Blog to Blogger</title><content type='html'>&lt;h1 class=&quot;entry-title full-title&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 9px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 24px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); line-height: 1; color: rgb(81, 85, 92); font-family: helvetica, arial, sans-serif; text-align: -webkit-auto; &quot;&gt;&lt;br /&gt;&lt;/h1&gt;&lt;div class=&quot;entry-content full-content&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 9px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); overflow-x: auto; overflow-y: auto; clear: both; width: 510px; color: rgb(81, 85, 92); font-family: helvetica, arial, sans-serif; line-height: 18px; text-align: -webkit-auto; &quot;&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;&lt;img src=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-to-blogger.png&quot; alt=&quot;wp-to-blogger&quot; width=&quot;207&quot; height=&quot;84&quot; class=&quot;alignleft size-full wp-image-340&quot; original=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-to-blogger.png&quot; style=&quot;margin-top: 0px; margin-right: 1em; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; float: left; &quot; /&gt;Creating a mirror of your blog is a good way to backup your content. In the event that your blog/web host/domain went down, you know that there is another site that is still running, and serving the exact same content.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;This tutorial shows you how to mirror your WordPress blog to Blogger.&lt;br /&gt;&lt;span id=&quot;more-228&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 9px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Why Blogger?&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;There are plenty of free blog services out there, why choose Blogger? The reason is because Blogger is free and is owned by Google. In term of reliability and stability, it is the best. Since you are backing up your content, isn’t it logical to get it on the most reliable platform around?&lt;/p&gt;&lt;h3 style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 9px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Migrating your existing WP blog&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;The migration from WordPress to Blogger is easy. Log into your WordPress dashboard as Administrator. Go to “Tools -&amp;gt; Export”. Export all your WordPress posts/categories and settings to an xml file.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;&lt;img src=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-export-data.png&quot; alt=&quot;wp-export-data&quot; width=&quot;489&quot; height=&quot;548&quot; class=&quot;aligncenter size-full wp-image-334&quot; original=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-export-data.png&quot; style=&quot;margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; &quot; /&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Go to &lt;a href=&quot;http://wordpress2blogger.appspot.com/&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: rgb(160, 0, 4); text-decoration: none; &quot;&gt;WordPress2Blogger&lt;/a&gt; site. Convert the &lt;em style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;wordpress.201x-xx-xx.xml&lt;/em&gt; to &lt;em style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;blogger-export.xml&lt;/em&gt;file.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Login to your Blogger account and go to “&lt;em style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Settings -&amp;gt; Import Blog&lt;/em&gt;“. Upload the blogger-export.xml file and Import your whole WP blog in.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;&lt;img src=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-blogger-import-blog.png&quot; alt=&quot;wp-blogger-import-blog&quot; width=&quot;391&quot; height=&quot;407&quot; class=&quot;aligncenter size-full wp-image-335&quot; original=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-blogger-import-blog.png&quot; style=&quot;margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; &quot; /&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;If everything goes well, all your previously published posts should now be imported into Blogger.&lt;/p&gt;&lt;h3 style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 9px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Update Blogger whenever you publish a post&lt;/h3&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Now that you have imported your previously published posts into Blogger, it’s time to configure your Blogger’s blog to auto-update itself whenever you publish a post in WP.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;First, in Blogger, go to “&lt;em style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Settings -&amp;gt; Email &amp;amp; Mobile&lt;/em&gt;“. Create a new secret email address. This will be the email address that you mail to publish your post. Remember to check the box “Publish emails immediately”. Once done, click “Save Settings”.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;&lt;img src=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-blogger-posting-option.png&quot; alt=&quot;wp-blogger-posting-option&quot; width=&quot;600&quot; height=&quot;215&quot; class=&quot;aligncenter size-full wp-image-337&quot; original=&quot;http://images.wpdailybits.com/wp-content/uploads/2010/12/wp-blogger-posting-option.png&quot; style=&quot;margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; &quot; /&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;Next, I am going to assume that you are using &lt;a href=&quot;http://feedburner.com/&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: rgb(160, 0, 4); text-decoration: none; &quot;&gt;feedburner.com&lt;/a&gt; to manage your WP feed, and you have activated the “Email Subscription” option. What you need to do is to subscribe yourself to your own mailing list (preferably with a Gmail address) so that Feedburner can email you whenever you publish a new post.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;The last and final thing is to setup your email account to forward the feedburner mail to your Blogger Publish email. In Gmail, this can be done by setting up a forwarding email address and a filter.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;That’s it. Whenever you publish a new post in your WP blog, it will be auto-updated on your Blogger blog as well.&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;What other ways do you use to mirror your WP blog to Blogger?&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;-------------------------&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;-------------------------&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; &quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; &quot;&gt;Instructions&lt;/h3&gt;&lt;div&gt;&lt;div style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; font-size: medium; &quot;&gt;&lt;img src=&quot;http://wordpress2blogger.appspot.com/wp2b.png&quot; /&gt;&lt;/div&gt;&lt;p style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; font-size: medium; &quot;&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; font-size: medium; &quot;&gt;&lt;strong&gt;Ever wanted to move your WordPress blogs over to Blogger? This site can aid in the process!&lt;/strong&gt;&lt;/p&gt;&lt;h3 style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; &quot;&gt;Instructions&lt;/h3&gt;&lt;table align=&quot;center&quot; style=&quot;font-family: &#39;Times New Roman&#39;; width: 600px; &quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: left; &quot;&gt;&lt;ol&gt;&lt;li&gt;Login to your &lt;a href=&quot;http://www.wordpress.com/&quot;&gt;WordPress&lt;/a&gt; account and navigate to the Dashboard for the blog that you&#39;d like to transfer to Blogger.&lt;/li&gt;&lt;li&gt;Click on the &lt;b&gt;Manage&lt;/b&gt; tab below the Blog name.&lt;/li&gt;&lt;li&gt;Click on the &lt;b&gt;Export&lt;/b&gt; link below the &lt;b&gt;Manage&lt;/b&gt; tab.&lt;/li&gt;&lt;li&gt;Download the WordPress WXR export file by clicking on &lt;b&gt;Download Export File.&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Save this file to your local machine.&lt;/li&gt;&lt;li&gt;Browse to that saved document with the form below and click &lt;b&gt;Convert&lt;/b&gt;.&lt;p&gt;&lt;/p&gt;&lt;form method=&quot;post&quot; action=&quot;http://wordpress2blogger.appspot.com/wp2b/&quot; enctype=&quot;multipart/form-data&quot;&gt;&lt;input type=&quot;file&quot; name=&quot;input-file&quot; size=&quot;30&quot;&gt; &lt;input type=&quot;submit&quot; value=&quot;Convert&quot; class=&quot;button&quot;&gt;&lt;/form&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Save this file to your local machine. This file will be the contents of your posts/comments from WordPress in a Blogger export file.&lt;/li&gt;&lt;li&gt;Login to your &lt;a href=&quot;http://www.blogger.com/&quot;&gt;Blogger&lt;/a&gt; or create a new user.&lt;/li&gt;&lt;li&gt;Once logged in, click on the &lt;b&gt;Create a Blog&lt;/b&gt; link from the user dashboard, and then click on the &lt;b&gt;Import Blog Tool&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Follow the instructions and upload your Blogger export file when prompted.&lt;/li&gt;&lt;li&gt;After completing the import wizard, you should have a set of imported posts from WordPress that you can now publish to Blogger. Have fun!&lt;/li&gt;&lt;/ol&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; font-size: medium; background-color: rgb(255, 255, 0); color: rgb(255, 0, 0); width: 400px; &quot;&gt;&lt;b&gt;NOTE:&lt;/b&gt; This hosted application will only allow downloads smaller than 1MB. &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; font-size: medium; &quot;&gt;&lt;/span&gt;&lt;br style=&quot;color: rgb(0, 0, 0); font-family: &#39;Times New Roman&#39;; line-height: normal; text-align: center; font-size: medium; &quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/365958766886138512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/04/how-to-mirror-your-wordpress-blog-to.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/365958766886138512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/365958766886138512'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/04/how-to-mirror-your-wordpress-blog-to.html' title='How to Mirror Your WordPress Blog to Blogger'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1594435137868510436</id><published>2012-03-30T03:23:00.001-07:00</published><updated>2012-04-02T22:57:37.377-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><title type='text'>Creating a New Vocabulary for Drupal Taxonomy</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;It is important to note that content can   belong to several vocabularies at once. Also vocabulary relations can  be  modified dynamically as new content or new vocabularies are added.  This  saves the trouble to manually update the relationships each time.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;The   taxonomy module in Drupal allows multiple lists of categories for   classification. It offers the possibility of creating thesauri (terms   with horizontal relationships) and taxonomies (terms with hierarchical   relationships). Basically, the taxonomy &lt;/span&gt;&lt;/em&gt;deals with a   hierarchy of information and the thesaurus deals with relationships   between terms. Taxonomy is what affects how exactly the content is   organized.&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;Settings for the taxonomy module can be found at &lt;em&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;Administer &amp;gt;&amp;gt; Content Management &amp;gt;&amp;gt; Taxonomy.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;With a fresh Drupal installation no vocabularies will be shown in the list.&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.siteground.com/knox/tutorials/uploaded_images/images/drupal%20taxonomy/1-2.jpg&quot; height=&quot;300&quot; width=&quot;560&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;You can add a new vocabulary using the &quot;Add vocabulary&quot; button.&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.siteground.com/knox/tutorials/uploaded_images/images/drupal%20taxonomy/1.jpg&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: justify;&quot;&gt;In the next video we will show you how to create a new vocabulary.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1594435137868510436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/creating-new-vocabulary-for-drupal.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1594435137868510436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1594435137868510436'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/creating-new-vocabulary-for-drupal.html' title='Creating a New Vocabulary for Drupal Taxonomy'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-1542967327423576201</id><published>2012-03-30T00:35:00.001-07:00</published><updated>2012-04-02T22:58:47.894-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>Custom Search Module for Drupal</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The Drupal core provides a Search module which is great for many sites. However, it doesn&#39;t provide some of the more sophisticated features that some sites need. The Custom Search module is a good alternative if you want more control over what gets searched, who gets to search, and what results you see.&lt;br /&gt;&lt;br /&gt;The Custom Search module adds layers of control and sophistication to the core search module. It&#39;s easy to install and understand, and will give you more control over the search functions on your site. It also integrates with other search modules and APIs.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;The core search function and the Custom Search module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332978557735.png&quot; alt=&quot;tutuploadsmedia_1332978557735.png&quot; width=&quot;540&quot; height=&quot;366&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The basic elements of the core search module are:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;A block for front-end display. There is very little configuration available for this block. I&#39;ve named this one &quot;Core Search Block&quot; to make it easy to distinguish from the customized one We&#39;ll be creating.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Advanced search is available on search results page. If a user clicks Advanced Search on the results page, a form opens up so you can refine your search. (When using the Garland Template).&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;This gives you a sophisticated search, but little control over how it&#39;s implemented throughout the site. A good way to expand on this is to add the Custom Search Module. Here&#39;s a summary of the added options.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Basic options&lt;/strong&gt;:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Select which content type(s) to search,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Select which specific module search to use (node, help, user or any module that implements search),&lt;/li&gt;&lt;br /&gt; &lt;li&gt;advanced criteria&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;strong&gt;Advanced options:&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;change the default search box label,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;add a default text in the search box,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;add advanced search criteria,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;change the default submit button text,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;use an image instead of the submit button,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;change the order of all the elements,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;include some elements in a popup block,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;add a filter to the results page,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;show/hide basic and/or advanced search in the results page,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;show/hide meta data in the results page,&lt;/li&gt;&lt;br /&gt; &lt;li&gt;multiple search paths&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 1. Download and install the module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Download and install the Custom Search module from &lt;a href=&quot;http://drupal.org/project/custom_search&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/custom_search&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 2. Enable the module and its sub-modules&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332974776069.png&quot; alt=&quot;tutuploadsmedia_1332974776069.png&quot; width=&quot;540&quot; height=&quot;334&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;There are three included sub-modules:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Custom Search Taxonomy: taxonomy options for the search block.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Custom Search Blocks: provides additional search blocks, with different settings.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Custom Search Internationalization.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 3. Set Permissions for users and administrators&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332974833304.png&quot; alt=&quot;tutuploadsmedia_1332974833304.png&quot; width=&quot;515&quot; height=&quot;113&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;The confirmation message will have a link to the permissions. Click it to go directly to the permission settings.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332975091365.png&quot; alt=&quot;tutuploadsmedia_1332975091365.png&quot; width=&quot;536&quot; height=&quot;626&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Set user and admin permissions for two modules. I wanted everyone to be able to search so I gave anonymous users and authenticated users permissions by checking the boxes&lt;/li&gt;&lt;br /&gt; &lt;li&gt;You have four sets of permissions to set.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Custom Search&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Admin&lt;/li&gt;&lt;br /&gt; &lt;li&gt;User&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Custom Search Blocks&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Admin&lt;/li&gt;&lt;br /&gt; &lt;li&gt;User&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 4. Configure the module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332975243521.png&quot; alt=&quot;tutuploadsmedia_1332975243521.png&quot; width=&quot;540&quot; height=&quot;374&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Return to the Modules page and click Configure. You can also get to the configuration screen by going to Configure &amp;gt; Custom Search&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332975841984.png&quot; alt=&quot;tutuploadsmedia_1332975841984.png&quot; width=&quot;540&quot; height=&quot;66&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;When you land on the configuration page the selected tab will be highlighted. You will be going through all the tabs to complete the full configuration. So when you complete the first page, choose another tab and continue&lt;/li&gt;&lt;br /&gt; &lt;li&gt;I&#39;m not going to go through every single configuration step. The choices are easy. If you have a need to create refined searches, they will make sense to you. If not, trial and error is the best way to get familiar with them. In this demo I&#39;m going to enable everything.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;There is one section that may need a little explanation - the Search Blocks tab:&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332981680985.png&quot; alt=&quot;tutuploadsmedia_1332981680985.png&quot; width=&quot;540&quot; height=&quot;230&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Select the number of blocks. One of the great things about this module is that every block can have it&#39;s own configuration settings. Suppose you wanted a block on the home page that searched the entire site, but not the forum. On the forum page you want a block that only searches the forum. In that case you would create two blocks. If you wanted anonymous users to be able to search just some forum topics, and registered users to have more option, you would create 3 blocks, and control which one shows by who&#39;s logged in.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;I&#39;m just going to create one for this demo. Once you decide on this, add blocks to your site.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Be sure to save before moving on.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 5. Add blocks to your site&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332982028297.png&quot; alt=&quot;tutuploadsmedia_1332982028297.png&quot; width=&quot;369&quot; height=&quot;337&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Go to Structure &amp;gt; Blocks.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 6. Assign blocks to regions&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332976654551.png&quot; alt=&quot;tutuploadsmedia_1332976654551.png&quot; width=&quot;540&quot; height=&quot;153&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;The custom search blocks you created will be visible and numbered.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Choose the regions for the blocks.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332982219714.png&quot; alt=&quot;tutuploadsmedia_1332982219714.png&quot; width=&quot;540&quot; height=&quot;207&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;The new block is added.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The original block created by the core is still there. It&#39;s default label is Search Form. I can&#39;t think of a reason why you would want both of them on the same page unless you&#39;re writing a tutorial, so you can remove the original if you want.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Be sure to Save Blocks before you try any configuration.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 7. Customize the blocks from the front end&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332982785885.png&quot; alt=&quot;tutuploadsmedia_1332982785885.png&quot; width=&quot;234&quot; height=&quot;447&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Here are both blocks, the original core search block and the one I just added. Compare the look of the Core one with the first image. You&#39;ll see that some custom features have been added. The first picture just shows an entry field and a search button. Now we can search tags and forums. This is because the new module makes those capabilities available to all the modules.&lt;br /&gt;&lt;br /&gt;It also makes customization very simple. When you are viewing the module from the front end, mouse over the title and you will see an icon that looks like a cog from a gear.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332983164241.png&quot; alt=&quot;tutuploadsmedia_1332983164241.png&quot; width=&quot;254&quot; height=&quot;173&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;This will give you access to the configuration for this particular module. It makes it much simpler if you are going to have multiple search boxes with different types of search. You can define each one while you are on it&#39;s page. It saves time and prevents mistakes.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 8. Configure Visibility&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332983345582.png&quot; alt=&quot;tutuploadsmedia_1332983345582.png&quot; width=&quot;540&quot; height=&quot;280&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Clicking Configure will allow you to change the visibility and normal block function.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332977044916.png&quot; alt=&quot;tutuploadsmedia_1332977044916.png&quot; width=&quot;254&quot; height=&quot;193&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Clicking Custom Search configuration will give you access to define the search box itself.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 9. Configure each block to have custom features&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332983579145.png&quot; alt=&quot;tutuploadsmedia_1332983579145.png&quot; width=&quot;540&quot; height=&quot;200&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;From here you can configure what&#39;s include and what type of search you want.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Result&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332983702278.png&quot; alt=&quot;tutuploadsmedia_1332983702278.png&quot; width=&quot;237&quot; height=&quot;269&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Above you can see what the original search block looks like after I&#39;ve configured some additional elements to show. This will allow you to present a highly customized search experience to your the public and authorized users.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/1542967327423576201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/custom-search-module-for-drupal.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1542967327423576201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/1542967327423576201'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/custom-search-module-for-drupal.html' title='Custom Search Module for Drupal'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-236849655200486481</id><published>2012-03-30T00:32:00.001-07:00</published><updated>2012-04-02T22:59:25.626-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>Multiple Categories with the Drupal Contact Module</title><content type='html'>The Drupal Contact module is often replaced by the Webform module. However, it can be useful in some situations. For example, image that you have different departments and you want each of them to get a different contact form on your Drupal website. If you&#39;re willing to keep it simple, you can do everything you need with the core Contact module and won&#39;t have to install anything else.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;It all depends on knowing how to create categories and blocks.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 1. Make sure the Contact module is enabled&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_1._Make_sure_the_Contact_module_is_enabled.png&quot; alt=&quot;tutuploadstutuploadsStep_1._Make_sure_the_Contact_module_is_enabled.png&quot; width=&quot;532&quot; height=&quot;176&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Click &lt;strong&gt;Modules&lt;/strong&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Click &lt;strong&gt;Save configuration&lt;/strong&gt;.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Click &lt;strong&gt;Configure &lt;/strong&gt;next to Contact.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 2. Add and edit categories.&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_2._Add_and_edit_categories..png&quot; alt=&quot;tutuploadstutuploadsStep_2._Add_and_edit_categories..png&quot; width=&quot;493&quot; height=&quot;336&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Click &lt;strong&gt;Add category&lt;/strong&gt; to add a new one.&lt;br /&gt;&lt;br /&gt;There is a default category called Website feedback that you can use as well, but we are showing you how to add extra ones. You can edit the default category later if you need to.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 3. Configure the category&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_3._Configure_the_category..png&quot; alt=&quot;tutuploadstutuploadsStep_3._Configure_the_category..png&quot; width=&quot;532&quot; height=&quot;555&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Give the category a name.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Specify the Recipients&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Create an Auto-reply message.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Set Selected. Yes means it will be the default contact form. Since this is a new category, you probably want this to be No. You can only have one default.*&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Be sure to click the &lt;strong&gt;Save&lt;/strong&gt; button.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;*Selected: When a visitor clicks on the link to the contact form, the categories will show in a drop down list. Whichever one is chosen with a &quot;Yes&quot; will show automatically If you want your visitor to be forced to choose a category before submitting the form, make all of these fields &quot;No&quot;&lt;br /&gt;&lt;br /&gt;Continue repeating the process until you have all the categories you want. A &quot;category&quot; can be a different department, a group or individual.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 4. Enable the menu link&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_4._Enable_the_menu_link..png&quot; alt=&quot;tutuploadstutuploadsStep_4._Enable_the_menu_link..png&quot; width=&quot;532&quot; height=&quot;312&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Jump to the &lt;strong&gt;Menus administration page&lt;/strong&gt; by clicking the blue link in the instruction paragraph. Alternatively you can get their via the admin menu and clicking &lt;strong&gt;Structure&lt;/strong&gt; then &lt;strong&gt;Menus&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsAlternate_path_to_Menus.png&quot; alt=&quot;tutuploadstutuploadsAlternate_path_to_Menus.png&quot; width=&quot;356&quot; height=&quot;554&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 5. List the links&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep5._List_the_links.png&quot; alt=&quot;tutuploadstutuploadsStep5._List_the_links.png&quot; width=&quot;532&quot; height=&quot;359&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;A Contact menu item (disabled by default) is added to the Navigation menu, which you can modify on the Menus administration page. Click&lt;strong&gt; list links&lt;/strong&gt; next to Navigation.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 6. Enable the link&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_6._Enable_the_link.png&quot; alt=&quot;tutuploadstutuploadsStep_6._Enable_the_link.png&quot; width=&quot;532&quot; height=&quot;363&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;This menu link will go directly to the site-wide contact form. You will see a &lt;strong&gt;Contact&lt;/strong&gt; menu item that is disabled. You can use this one as a guide for creating other menu links.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 7. Configure the link&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_7._Configure_the_link.png&quot; alt=&quot;tutuploadstutuploadsStep_7._Configure_the_link.png&quot; width=&quot;511&quot; height=&quot;607&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Edit the link title if needed.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Enable the link so it appears on the menu.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Choose the parent link if you want it to be different from the default &quot;Navigation&quot;.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 8. Add a block with instructions for the user&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_8._Add_a_block_with_instructions_for_the_user.png&quot; alt=&quot;tutuploadstutuploadsStep_8._Add_a_block_with_instructions_for_the_user.png&quot; width=&quot;531&quot; height=&quot;234&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to &lt;strong&gt;Structure&lt;/strong&gt; &amp;gt; &lt;strong&gt;Blocks&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 9. Add a block&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_9._Add_a_block..png&quot; alt=&quot;tutuploadstutuploadsStep_9._Add_a_block..png&quot; width=&quot;324&quot; height=&quot;279&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 10. Add the block information&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_10._Add_the_block_information..png&quot; alt=&quot;tutuploadstutuploadsStep_10._Add_the_block_information..png&quot; width=&quot;514&quot; height=&quot;440&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Enter a Block Description. This will not be seen by the public.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Enter a Block Title. This will be seen by the public.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Write your instructions. This will also be visible to the public,&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;Scroll down the page.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 11. Set the visibility settings by assigning it to the Contacts page&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_11._Set_the_visibility_settings_by_assigning_it_to_t.png&quot; alt=&quot;tutuploadstutuploadsStep_11._Set_the_visibility_settings_by_assigning_it_to_t.png&quot; width=&quot;532&quot; height=&quot;450&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Choose &quot;Only listed pages&quot;. The only page we want to have these instructions is the Contact page.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Write &quot;contact&quot; in the text field.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Save the block.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;Specify pages by using their paths. Enter one path per line. The &#39;*&#39; character is a wild card. Example paths are blog for the blog page and blog/* for every personal blog.is the front page.&lt;br /&gt;&lt;br /&gt;There are other parameters and settings on this page, but for the purpose of this tutorial we only need the basics.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 12. Enable the block&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_12._Enable_the_block.png&quot; alt=&quot;tutuploadstutuploadsStep_12._Enable_the_block.png&quot; width=&quot;532&quot; height=&quot;172&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You will be returned to the Blocks page. You will find the block you added in the Disabled list with the title you created. To enable it, choose the position from the drop down box.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1318376672850.png&quot; alt=&quot;tutuploadstutuploadsmedia_1318376672850.png&quot; width=&quot;532&quot; height=&quot;361&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Choose Help.&lt;br /&gt;&lt;br /&gt;This box lists all of the regions available on the template you are using. On the Bartik template, the Help region is right where we want it. You may have a different idea or location on your website.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 13. Final configuration then save.&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_13._Final_configuration_then_save..png&quot; alt=&quot;tutuploadstutuploadsStep_13._Final_configuration_then_save..png&quot; width=&quot;532&quot; height=&quot;153&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;As soon as you choose the region, the block title will now be visible at the top of the page that shows the enabled modules. The will be grouped by region, so this one will be under Help.&lt;br /&gt;&lt;br /&gt;Remember to Save - scroll to the bottom of the page&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1318376971177.png&quot; alt=&quot;tutuploadstutuploadsmedia_1318376971177.png&quot; width=&quot;433&quot; height=&quot;271&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;No changes will be saved until you click Save blocks.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Your result&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsYour_result.png&quot; alt=&quot;tutuploadstutuploadsYour_result.png&quot; width=&quot;532&quot; height=&quot;547&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;If you followed all these steps you will have a contact form that looks something like this.&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;There is a link on the menu to the form.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The instructions are in the Help Region in a block you added.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The correct email address shows. (this will change to the right one when the category is selected).&lt;/li&gt;&lt;br /&gt; &lt;li&gt;There is a drop down list with the categories you created.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/236849655200486481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/multiple-categories-with-drupal-contact.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/236849655200486481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/236849655200486481'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/multiple-categories-with-drupal-contact.html' title='Multiple Categories with the Drupal Contact Module'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-2631262269442049397</id><published>2012-03-30T00:31:00.001-07:00</published><updated>2012-04-02T22:59:56.808-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>Getting Started With Drupal&amp;#39;s Webform Module</title><content type='html'>Webform is &lt;em&gt;the&lt;/em&gt; module for making forms and collecting information from users in Drupal.&lt;br /&gt;&lt;br /&gt;After a submission, you can send users a thank-you email as well as sending a notification to administrators. Results can be exported into Excel or other spreadsheet applications. Webform also provides some basic statistical review and has an extensive API for expanding its features.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;If you need to build a lot of customized, one-off forms, Webform is a more suitable solution than creating content types and using the CCK or Field modules.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Download the Webform Module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_1._Download_the_Webform_Module.png&quot; alt=&quot;tutuploadsStep_1._Download_the_Webform_Module.png&quot; width=&quot;411&quot; height=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to this url &lt;a href=&quot;http://drupal.org/project/webform&quot;&gt;http://drupal.org/project/webform&lt;/a&gt;, and download the Webform Module.&lt;br /&gt;&lt;br /&gt;There are some additional modules that add some functionality and make some operations easier. You can download the optional modules as well. To keep things simple, we&#39;ll use the basic module and show you how to create a simple survey of registered users.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Options Element Module - &lt;a href=&quot;http://drupal.org/project/options_element&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/options_element &lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Select (or other) - &lt;a href=&quot;http://drupal.org/project/select_or_other&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/select_or_other&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Date - &lt;a href=&quot;http://drupal.org/project/date&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/date&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Mollom - &lt;a href=&quot;http://drupal.org/project/mollom&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/mollom&lt;/a&gt; OR Catpcha - &lt;a href=&quot;http://drupal.org/project/captcha&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/captcha&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Webform Validation - &lt;a href=&quot;http://drupal.org/project/webform_validation&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/webform_validation&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Arrange Fields module -&lt;a href=&quot;http://drupal.org/project/arrange_fields&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/arrange_fields&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317090861314.png&quot; alt=&quot;tutuploadsmedia_1317090861314.png&quot; width=&quot;391&quot; height=&quot;134&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Download the correct version. They may have changed since we wrote this, so be sure to check.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Install the Webform Module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_2._Install_the_Webform_Module.png&quot; alt=&quot;tutuploadsStep_2._Install_the_Webform_Module.png&quot; width=&quot;481&quot; height=&quot;325&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Enable the module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsEnable_the_module.png&quot; alt=&quot;tutuploadsEnable_the_module.png&quot; width=&quot;532&quot; height=&quot;168&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to the Modules page and scroll down to Webform and click the check box. Click Save configuration.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Access the form fields&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsAccess_the_form_fields.png&quot; alt=&quot;tutuploadsAccess_the_form_fields.png&quot; width=&quot;300&quot; height=&quot;366&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to Structure &amp;gt; Content types&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317093423174.png&quot; alt=&quot;tutuploadsmedia_1317093423174.png&quot; width=&quot;365&quot; height=&quot;541&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Scroll down to Webform and look the right for the links to edit and manage fields and the display.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317094660865.png&quot; alt=&quot;tutuploadsmedia_1317094660865.png&quot; width=&quot;532&quot; height=&quot;63&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Click Edit&lt;br /&gt;&lt;br /&gt;If you are familiar with CCK in Drupal 6, or Fields, which is now part of D7 core, you will see a familiar interface for adding and managing new fields.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317095178845.png&quot; alt=&quot;tutuploadsmedia_1317095178845.png&quot; width=&quot;532&quot; height=&quot;71&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;This is not the place where you will be creating forms. Editing here is exactly the same as editing Fields in Content Types, which is a way to make fields available to this content type. From here you can edit fields, manage existing fields, the display and the comment functions by clicking on the appropriate tabs. But creating the actual form is done by adding content in the same way you would add an article.&lt;br /&gt;&lt;br /&gt;You won&#39;t need to do much here but review all your choices and see if there is anything you feel you must change. The default values will work for the purposes of our demonstration. After you create your first form and understand the module you might want to revisit the configuration.&lt;br /&gt;&lt;br /&gt;Now that the module is installed and the configuration is checked, you can begin building your survey form.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Create your first webform by adding it as content&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_3._Create_your_first_webform_by_adding_it_as_content.png&quot; alt=&quot;tutuploadsStep_3._Create_your_first_webform_by_adding_it_as_content.png&quot; width=&quot;244&quot; height=&quot;657&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to Content &amp;gt; Add Content &amp;gt; Webform&lt;br /&gt;&lt;br /&gt;Don&#39;t get confused over Poll vs Webform. We are creating a form with various types of questions, not taking a Poll. Poll is another content type that is similar, but restricted to multiple selection fields and gathering the statistics on the responses. Webform is a form submission module, and collects the actual responses and stores them in a table for you to review. You can collect almost any type of data using Webform.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Create the basic form details&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsCreate_the_basic_entry_form_and_configure_the_same_as_any.png&quot; alt=&quot;tutuploadsCreate_the_basic_entry_form_and_configure_the_same_as_any.png&quot; width=&quot;532&quot; height=&quot;752&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Give it a title and make the decisions on all basic options. Save this with the save button at the bottom of the page.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Add form components&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_4._Start_adding_form_components.png&quot; alt=&quot;tutuploadsStep_4._Start_adding_form_components.png&quot; width=&quot;532&quot; height=&quot;401&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Now you will see the controls for creating and editing the rest of the form elements. Start adding Form components on the WEBFORM tab.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_5._Make_a_pre-filled_username_field_using_a_Token.png&quot; alt=&quot;tutuploadsStep_5._Make_a_pre-filled_username_field_using_a_Token.png&quot; width=&quot;532&quot; height=&quot;138&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Give the component a label, choose textfield and then click Add.&lt;br /&gt;&lt;br /&gt;We&#39;re surveying registered users, so we are going to automatically fill in their username. A name is basic text field, but we want our registered users to show up on the textfield, so we&#39;re going to make use of Tokens. Using Tokens is just an optional feature.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317148972326.png&quot; alt=&quot;tutuploadsmedia_1317148972326.png&quot; width=&quot;532&quot; height=&quot;532&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Enter the token %username in the Default value field.&lt;br /&gt;&lt;br /&gt;This will pull the username from the data base and fill it in automatically.&lt;br /&gt;&lt;br /&gt;If you don&#39;t see the TOKEN VALUES, you probably don&#39;t have the Token module installed. You only need Token if you want to fill in the default values taken from the data base. If this is going to be a blank field that the user will fill in when they visit the page, you can just leave the Default value blank. I used Token here to illustrate the possibilities available to you.&lt;br /&gt;&lt;br /&gt;If you need the Token module you can download it here &lt;a href=&quot;http://drupal.org/project/token&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/token&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Scroll down the rest of the page and make any configuration selections you need then click Save Component at the very bottom of the page.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Create a &quot;Select&quot; field&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_6._Create_your_first_Select_field.png&quot; alt=&quot;tutuploadsStep_6._Create_your_first_Select_field.png&quot; width=&quot;532&quot; height=&quot;161&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Fill in a new label and choose the Select options type from the drop down. Click Add and complete the options on the next screen&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Create the list of options&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_7._Create_the_list_of_options_for_the_user_to_choose.png&quot; alt=&quot;tutuploadsStep_7._Create_the_list_of_options_for_the_user_to_choose.png&quot; width=&quot;532&quot; height=&quot;333&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to Options and create Key Value Pairs. These pairs consist of a machine readable key and a plain language value separated by a &quot;|&quot; - This character is called a &quot;pipe&quot; and you can find it by holding shift while pressing the backslash key &quot;\&quot; key on most keyboards.&lt;br /&gt;&lt;br /&gt;Key-value pairs MUST be specified as &quot;safe_key|Some readable option&quot;. Use of only alphanumeric characters and underscores is recommended in keys. One option per line.&lt;br /&gt;&lt;br /&gt;Save the Component.&lt;br /&gt;&lt;br /&gt;Repeat this step for the flavor of the jelly and type of peanut butter.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads-_Default_choice_is_radio_buttons.png&quot; alt=&quot;tutuploads-_Default_choice_is_radio_buttons.png&quot; width=&quot;470&quot; height=&quot;686&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;When you are creating lists, the default type is radio buttons. If you want check boxes or a listbox the choices are farther down on the page. You can also set the field as mandatory or optional. If you click the &quot;Multiple&quot; check box at the top, the list will appear as check boxes. If you choose &quot;Listbox&quot; under DISPLAY you will have a drop down box. Selecting &quot;Multiple&quot; and &quot;Listbox&quot; will allow users to make multiple selections from a dropdown box.&lt;br /&gt;&lt;br /&gt;When you create the Jelly type, add Other as a choice. Then add a text field so people can write in their suggestions.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Add a Text field&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_8._Add_a_Text_field.png&quot; alt=&quot;tutuploadsStep_8._Add_a_Text_field.png&quot; width=&quot;451&quot; height=&quot;219&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You can add a text field, or a textarea. A text field is for short entries like names. A textarea will be a large area for entering more extensive written responses.&lt;br /&gt;&lt;br /&gt;Other field types you might want to add for your purposes are an E-Mail field or Date Field. You can choose thees types from the dropdown &quot;Type&quot; box.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317154370995.png&quot; alt=&quot;tutuploadsmedia_1317154370995.png&quot; width=&quot;449&quot; height=&quot;269&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You can choose other field types from the Type drop down.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Add a preset field type&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads-_Add_a_preset_field_type_-_an_added_feature_of_Webform.png&quot; alt=&quot;tutuploads-_Add_a_preset_field_type_-_an_added_feature_of_Webform.png&quot; width=&quot;388&quot; height=&quot;325&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;There is a convenience feature you may want to use. You can create pre-built option lists and add them to your form. The module comes with several default lists. Add one for States if you want to see how this looks on your form. Label it State and then choose the Select Options type and when you get to the next screen, make your selection.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317151406971.png&quot; alt=&quot;tutuploadsmedia_1317151406971.png&quot; width=&quot;254&quot; height=&quot;194&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Choose US States from the drop down.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Check your form&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_9._Check_your_form_and_fine-tune_the_view..png&quot; alt=&quot;tutuploadsStep_9._Check_your_form_and_fine-tune_the_view..png&quot; width=&quot;509&quot; height=&quot;778&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;At this point your form will look similar to this. You can change the locations of the descriptions by clicking the WEBFORM tab and editing each item and making different configuration selections. Once you have the form ordered the way you like it and all the questions and fields correct. Go back to the WEBFORM tab EMAIL tab and set the EMAIL options.&lt;br /&gt;&lt;br /&gt;You can use drag and drop to move form elements to different positions.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Configure the E-Mail options.&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_10.__Configure_the_E-Mail_options..png&quot; alt=&quot;tutuploadsStep_10.__Configure_the_E-Mail_options..png&quot; width=&quot;532&quot; height=&quot;254&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go back to the WEBFORM tab and look for the E-mails sub-tab. Fill in an address and click Add.&lt;br /&gt;&lt;br /&gt;Set the email address if you want to receive an email when the form is submitted. You can add multiples.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317152290926.png&quot; alt=&quot;tutuploadsmedia_1317152290926.png&quot; width=&quot;490&quot; height=&quot;589&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;There are lots of choices to make. Be sure you check every one of them so they are correct for your form. Be sure to save the changes.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Configure the Form Settings&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsStep_11._Configure_the_Form_Settings.png&quot; alt=&quot;tutuploadsStep_11._Configure_the_Form_Settings.png&quot; width=&quot;532&quot; height=&quot;460&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;From the WEBFORM tab Click the Form Settings sub-tab at the top of the page. Check and modify settings as needed. Save your changes.&lt;br /&gt;&lt;br /&gt;Now you can publish your form exactly like you would publish any other content item on your site. After you&#39;ve had a chance to collect submissions, you will see the results when you are logged in as a user with the correct permissions.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1317152553413.png&quot; alt=&quot;tutuploadsmedia_1317152553413.png&quot; width=&quot;532&quot; height=&quot;121&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Click Content &amp;gt; Find Content and select the form from the content list and you can find the results tab. This will allow you to see the collection of data you have as well as give you some simple analysis.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/2631262269442049397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/getting-started-with-drupal-webform.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/2631262269442049397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/2631262269442049397'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/getting-started-with-drupal-webform.html' title='Getting Started With Drupal&amp;#39;s Webform Module'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-5577340168532852810</id><published>2012-03-30T00:29:00.001-07:00</published><updated>2012-04-02T22:46:23.217-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="drupal seo"/><title type='text'>How to Use the SEO Checklist for Drupal</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href=&quot;http://drupal.org/project/seo_checklist&quot;&gt;SEO Checklist&lt;/a&gt; for Drupal is a very useful module to help with your SEO efforts.&lt;br /&gt;&lt;br /&gt;The SEO Checklist module doesn&#39;t perform any SEO functions, but it will guide you through the process of optimizing your site and it will recommend best-of-breed modules. After installation the checklist will take you through a list of recommended changes made by the experts at &lt;a href=&quot;http://volacci.com/&quot;&gt;Volacci&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 1. Before We Start: Planning&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The SEO Checklist is going to recommend a lot of potential modules for you to install. To help clarify things, I&#39;ve divided those modules up into separate lists. You should start with the Base Modules list and then move on down to the others.&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Base Modules&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Optional Base Modules&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Essential Working Modules.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Anti-Spam Modules. There are several possibilities but you only need to choose one.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Nice if you want them, but not really needed&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;A note of caution before we begin: not all of these modules have stable releases for Drupal 7. Please use of all these on a test site before using them on a live site.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 2. Before We Start: Register for Webmaster Tools&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Before you start you are going to want to do is register for Google, Yahoo and Bing accounts and sign up for their webmaster tools. You will need the verification files, tracking codes and other identifiers provided by these services.&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Save the verification files to your hard disk.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Write down all account numbers.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Have your username and password to each account handy.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;Every SEO program I&#39;ve tested has needed this information, so if you&#39;re serious about SEO, start with signing up for the webmaster tools.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 3: Before We Start: The Quickest Workflow for the SEO Checklist&lt;/h3&gt;&lt;br /&gt;The SEO Checklist will recommend a lot of modules for you to install, so here is one way to approach the installation:&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsHow_to_install_modules_-_the_quickest_work_flow_model_for.png&quot; alt=&quot;tutuploadstutuploadsHow_to_install_modules_-_the_quickest_work_flow_model_for.png&quot; width=&quot;529&quot; height=&quot;289&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to Modules &amp;gt; Install new module. You&#39;re going to be doing a lot of this. Install the first module on the list.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321333405188.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321333405188.png&quot; width=&quot;540&quot; height=&quot;398&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Browse for a downloaded module, choose it, then click Install.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321333566069.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321333566069.png&quot; width=&quot;349&quot; height=&quot;222&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Click Enable newly added modules.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321333672310.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321333672310.png&quot; width=&quot;540&quot; height=&quot;244&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Normally what you would do is find the module you just installed and click the check box in the Enabled column, scroll to the bottom of the page and click Save to save the changes. Then you would see if there is a configuration link and fill in the details.&lt;br /&gt;&lt;br /&gt;But you&#39;ve got a lot of these to do so you might want to consolidate the tasks.&lt;br /&gt;&lt;br /&gt;My actual work flow:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Installed all the modules&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Enabled them in small groups&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Ran a status report to check for errors&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Corrected any errors&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Got everything working before I configured them.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;What I actually did to make this quicker was skip the Enable step, and go back to the top of the page and click &lt;strong&gt;Install new module &lt;/strong&gt;again and installed another one. I kept installing until i was done.&lt;br /&gt;&lt;br /&gt;Then I returned to the page and enabled them in bulk. If you do this, don&#39;t try to enable all of them at the same time. It stresses the system and you&#39;ll get errors. Enable a group and come back several times until they are all enabled.&lt;br /&gt;&lt;br /&gt;Go to Reports &amp;gt; Status Report and check for errors. Just do the minimum amount of work you have to do to get rid of any errors.&lt;br /&gt;&lt;br /&gt;Many of these modules are going to need configuration. I&#39;ll go back and consider the configuration as I go through the SEO Checklist. That&#39;s what it&#39;s for. It&#39;s going to take a lot of time and study if you&#39;re not already an SEO wizard to figure out the perfect configuration for everything.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now we can click run cron manually and check for errors&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsRun_Cron_and_check_for_errors.png&quot; alt=&quot;tutuploadstutuploadsRun_Cron_and_check_for_errors.png&quot; width=&quot;540&quot; height=&quot;130&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Just running cron will clear up some errors. You might have to take action on others.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321310485116.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321310485116.png&quot; width=&quot;540&quot; height=&quot;62&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Be sure to read the cautions too, and take action. The Status report will give you a good idea on what you need to do to fix things.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 4. Install the base modules&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Now let&#39;s get started with the installation. These modules are used by many other modules, and you may already have them installed. If not, you should install them now. They aren&#39;t really needed for SEO, but as you go through the checklist and try to install subsequent modules, you&#39;ll have to back up and install these too, so you might as well start here.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Ctools&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/ctools&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/ctools&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Context&lt;/strong&gt;     &lt;a href=&quot;http://drupal.org/project/context&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/context&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Token&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/token&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/token&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Clean URLs    &lt;/strong&gt;Turn it on (part of core, just enable it)&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;The SEO Checklist Module&lt;/strong&gt; - don&#39;t forget this one - &lt;a href=&quot;http://drupal.org/project/seo_checklist&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/seo_checklist&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 5: Install the Optional base modules&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The modules below are strictly optional and not absolutely essential to SEO. You can always skip these and come back to them if you don&#39;t think you need them now. But if you are going to want them, your life will be easier if you install them at this stage, rather than wait until they appear on the checklist.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HTML Purifier    &lt;/strong&gt;&lt;br /&gt;HTML Purifier is a standards-compliant HTML filter library. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive white list, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C&#39;s specifications.&lt;br /&gt;&lt;br /&gt;This is a standalone component that strips improper HTML from entries. You need to download the entire compressed file and get special instructions on installation. It&#39;s an improvement on the filtered html core module, and isn&#39;t 100% necessary to optimization. It just depends on what level of optimization you wish to achieve.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;To install this you are going to need.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The program &lt;strong&gt;&lt;a href=&quot;http://htmlpurifier.org/&quot; target=&quot;_blank&quot;&gt;http://htmlpurifier.org&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;HTML Purifier module &lt;a href=&quot;http://drupal.org/project/htmlpurifier&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/htmlpurifier&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Libraries API&lt;/strong&gt;    http://drupal.org/project/libraries&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;strong&gt;il18n    - Internationalization&lt;/strong&gt;&lt;br /&gt;If you are only developing in English you can skip this. This is a collection of modules to extend Drupal core multilingual capabilities and be able to build real life multilingual sites. It has some requirements and it has some recommended add ons. If you are going to have a multi-national site be sure to read this:&lt;br /&gt;&lt;a href=&quot;http://drupal.org/project/i18n&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/i18n&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 6. Install the Essential Working Modules&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Now we come to the modules that actually do the optimizatin. If you&#39;ve installed Ctools, Token and Context the rest should go pretty fast. The best and quickest workflow is to download, install and enable them, then configure them later as you go through the SEO Checklist.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Page Title Module&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/page_title&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/page_title&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Pathauto Module&lt;/strong&gt;    http://drupal.org/project/pathauto&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Global Redirects&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/globalredirect&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/globalredirect&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Redirect Module    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/redirect&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/redirect&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Google Analytics Module&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/google_analytics&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/google_analytics&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Google Analytics Tokenizer    &lt;/strong&gt;http://drupal.org/project/ga_tokenizer&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Google Analytics Contact Form&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/contact_google_analytics&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/contact_google_analytics&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Context Keywords &lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/context_keywords&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/context_keywords&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Meta Tags Quick&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/metatags_quick&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/metatags_quick&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Scheduler Module&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/scheduler&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/scheduler&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;HTML Purifier Module    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/htmlpurifier&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/htmlpurifier&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Site Verification Module&lt;/strong&gt;     &lt;a href=&quot;http://drupal.org/project/site_verify&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/site_verify&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;XML Sitemap Module     &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/xmlsitemap&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/xmlsitemap&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Site Map Module&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/site_map&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/site_map&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Search 404 Module&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/search404&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/search404&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;SEO Compliance Checker&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/seo_checker&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/seo_checker&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Read More Link&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/read_more&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/read_more&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;AddThis&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/addthis&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/addthis&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Service Links Module&lt;/strong&gt;    http://drupal.org/project/service_links&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;AddAny Module&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/addtoany&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/addtoany&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Facebook Social Plugins Integration&lt;/strong&gt;    http://drupal.org/project/fb_social&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Follow    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/follow&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/follow&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 7. Choose and Install an Anti-spam Module&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You only need one of these. If may already have one installed. If not, you can choose any of these based on your preference.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Mollom&lt;/strong&gt;    &lt;a href=&quot;http://drupal.org/project/mollom&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/mollom&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Captcha Module    &lt;/strong&gt;&lt;a href=&quot;http://groups.drupal.org/captcha&quot; target=&quot;_blank&quot;&gt;http://groups.drupal.org/captcha&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Antispam Module    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/antispam&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/antispam&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 8. Nice if you want them, but not really needed&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Administration Menu    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/admin_menu&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/admin_menu&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Elements    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/elements&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/elements&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Security Review    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/security_review&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/security_review&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;strong&gt;Boost Module    &lt;/strong&gt;&lt;a href=&quot;http://drupal.org/project/boost&quot; target=&quot;_blank&quot;&gt;http://drupal.org/project/boost&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321336813817.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321336813817.png&quot; width=&quot;504&quot; height=&quot;68&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Now let&#39;s get started on the module itself.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Step 9. Access the SEO Checklist&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsStep_7._Access_the_SEO_Checklist.png&quot; alt=&quot;tutuploadstutuploadsStep_7._Access_the_SEO_Checklist.png&quot; width=&quot;540&quot; height=&quot;150&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go to Configuration in the menu bar. Now that everything is installed it&#39;s time to start working the checklist.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321299685397.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321299685397.png&quot; width=&quot;494&quot; height=&quot;353&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Scroll down the page to the Search and Metadata section and click on SEO Checklist.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321299708932.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321299708932.png&quot; width=&quot;540&quot; height=&quot;257&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Move through the tabs on the left and check a box and Click Enable if you haven&#39;t enabled them yet.&lt;br /&gt;&lt;br /&gt;The picture above shows what the list looks like before I installed the Token and Page Title modules. The download link actually takes you to the download page so you could download the module now, and then enable it. If you do it this way you will be working all day. Try the mass installation first.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321300756856.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321300756856.png&quot; width=&quot;540&quot; height=&quot;211&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;After I installed the Page Title Module you can see there is now a Configure link. If everything has been installed you will only need to work on configuration as you go through the list.&lt;br /&gt;&lt;br /&gt;Each time you complete a task, click the check mark, then scroll to the bottom of the page and click the Save button.&lt;br /&gt;If you don&#39;t Save, it won&#39;t record your your check marks, and you won&#39;t have a record of what you did.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1321300799012.png&quot; alt=&quot;tutuploadstutuploadsmedia_1321300799012.png&quot; width=&quot;540&quot; height=&quot;291&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Keep going through all the tabs. Click the check boxes as you complete a task. Remember to save.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Result&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsResult_19dc86638c3e31aaffc6e9bd6a8e1fe9.png&quot; alt=&quot;tutuploadstutuploadsResult_19dc86638c3e31aaffc6e9bd6a8e1fe9.png&quot; width=&quot;540&quot; height=&quot;185&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;When you&#39;re all done you&#39;ll have a list of all the completed tasks, time and dates, who did the work, and quick access to the configuration so you can make changes.&lt;br /&gt;&lt;br /&gt;This module will:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Help you keep track of what needs to be done.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Check for installed modules give you some basic information on them.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Provide a list of things that need to go on your to-do list.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Time/date stamp each item and record who completed it.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/5577340168532852810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-use-seo-checklist-for-drupal.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/5577340168532852810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/5577340168532852810'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-use-seo-checklist-for-drupal.html' title='How to Use the SEO Checklist for Drupal'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-7521650593586124947</id><published>2012-03-30T00:27:00.000-07:00</published><updated>2012-04-01T22:42:39.386-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>A Introduction to the Drupal 7 Media Module</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;The Media Module is one of the most hyped new modules for Drupal 7. It is often talked about as the best option for handling images, video and audio files in Drupal 7.&lt;br/&gt;&lt;br/&gt;However, available information about the Media Module is long on 90 minute conference presentations and short on quick, practical guides. So, in this tutorial we&#39;re going to get right to the point. We&#39;re going show you how to set up the Media Module, what it does and how to use it to add YouTube videos to your content. Let&#39;s go ....&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Install the Media Module&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Head over to &lt;a href=&quot;http://drupal.org/project/media&quot;&gt;http://drupal.org/project/media&lt;/a&gt; and download the Media Module. You will also need the latest version of the CTools module from &lt;a href=&quot;http://drupal.org/project/ctools&quot;&gt;http://drupal.org/project/ctools&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329323257702.png&quot; alt=&quot;tutuploadsmedia_1329323257702.png&quot; width=&quot;340&quot; height=&quot;331&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Understand the Media Module&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Content types &amp;gt; click Manage fields next to a content type.&lt;br/&gt;&lt;br/&gt;You&#39;ll see that a new field option called &quot;Multimedia asset&quot; is now available.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321089490.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321089490.png&quot; width=&quot;468&quot; height=&quot;76&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;This field type will allow you to upload a variety of file types. Click Save and you can decide that those file types are:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321123983.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321123983.png&quot; width=&quot;483&quot; height=&quot;84&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you create a &quot;Multimedia asset&quot; field for you content, the image below shows what it will look like when you go to add content.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321160323.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321160323.png&quot; width=&quot;540&quot; height=&quot;372&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click on &quot;Select media&quot; and you can upload new files.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321181758.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321181758.png&quot; width=&quot;528&quot; height=&quot;232&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Most importantly, you can also browse a Library of all the files that you&#39;ve uploaded.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321446684.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321446684.png&quot; width=&quot;540&quot; height=&quot;348&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;This Library feature is the real reason for using Media. As explained on the Media FAQ page: &lt;a href=&quot;http://groups.drupal.org/node/19746&quot;&gt;http://groups.drupal.org/node/19746&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&quot;The Media module provides an engine that can be used to manage files and metadata. Individual Media module plugins, as well as the modules they integrate with, will handle media display.&quot;&lt;br/&gt;&lt;br/&gt;So the only thing this field can do at the moment is upload files to the library. If you want to actually show the files, you&#39;ll need to rely on extra modules. Let&#39;s see how that works.&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Content types &amp;gt; click Manage fields next to a content type. If you choose to add a File field you&#39;ll now have a Media file selector option.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321575868.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321575868.png&quot; width=&quot;540&quot; height=&quot;79&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you choose to add a Image field you&#39;ll now have a Media file selector option.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321599641.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321599641.png&quot; width=&quot;540&quot; height=&quot;70&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Here&#39;s what the Image field will look like when you go to add content.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329321692781.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329321692781.png&quot; width=&quot;172&quot; height=&quot;112&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You&#39;ll be able to browse your new media library and insert an image just as you would do normally.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsmedia_1329322313974.png&quot; alt=&quot;tutuploadstutuploadsmedia_1329322313974.png&quot; width=&quot;518&quot; height=&quot;484&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Adding Video to Content via the Media Module&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Adding external videos to the Media module relies on the Embedded Media Field module: &lt;a href=&quot;http://drupal.org/project/emfield&quot;&gt;http://drupal.org/project/emfield&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;That module allows you to hook into all sorts of external sites, provided you have the appropriate module. In this example, we&#39;ll use YouTube so install this module as well: &lt;a href=&quot;http://drupal.org/project/media_youtube&quot;&gt;http://drupal.org/project/media_youtube&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;Install and enable both of those modules.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329324509632.png&quot; alt=&quot;tutuploadsmedia_1329324509632.png&quot; width=&quot;231&quot; height=&quot;483&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Content types and add a Multimedia asset field.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329324555689.png&quot; alt=&quot;tutuploadsmedia_1329324555689.png&quot; width=&quot;502&quot; height=&quot;71&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;As you choose the settings, make sure to check both the &lt;strong&gt;Video&lt;/strong&gt; and &lt;strong&gt;youtube&lt;/strong&gt; boxes.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329324583650.png&quot; alt=&quot;tutuploadsmedia_1329324583650.png&quot; width=&quot;205&quot; height=&quot;313&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Save that new field.&lt;br/&gt;&lt;br/&gt;There is one important thing you must now do to make sure that the videos display. Click on Manage Display at the top of the page.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329328094802.png&quot; alt=&quot;tutuploadsmedia_1329328094802.png&quot; width=&quot;540&quot; height=&quot;81&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Normally settings for the video field would be available but in this case I had to click Save before they appeared. Then you can click the cog on the right-hand side, next to the video field.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329327802623.png&quot; alt=&quot;tutuploadsmedia_1329327802623.png&quot; width=&quot;540&quot; height=&quot;186&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Set the File view mode to Small, Large or Original and click Update.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329328239375.png&quot; alt=&quot;tutuploadsmedia_1329328239375.png&quot; width=&quot;540&quot; height=&quot;113&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Save so that your changes aren&#39;t lost.&lt;br/&gt;&lt;br/&gt;Now you can go to Add content and use the new video field.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329324699175.png&quot; alt=&quot;tutuploadsmedia_1329324699175.png&quot; width=&quot;386&quot; height=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Once you&#39;ve inserted the YouTube URL and clicked Submit, you should see a video thumbnail as in the image below.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329324715341.png&quot; alt=&quot;tutuploadsmedia_1329324715341.png&quot; width=&quot;467&quot; height=&quot;212&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Save the content and your video will be showing on the page.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1329328419096.png&quot; alt=&quot;tutuploadsmedia_1329328419096.png&quot; width=&quot;525&quot; height=&quot;492&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;YouTube is a simple and popular example. If you want to use other sources for video or audio, head to &lt;a href=&quot;http://drupal.org/project/emfield&quot;&gt;http://drupal.org/project/emfield&lt;/a&gt; and you&#39;ll see a list of all the options and the modules that they require.&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;A note of caution: Media is under heavy development. There isn&#39;t yet a stable version of Media. As of mid-February, there is a Release Candidate 3 but not yet a stable version.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/7521650593586124947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/introduction-to-drupal-7-media-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/7521650593586124947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/7521650593586124947'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/introduction-to-drupal-7-media-module.html' title='A Introduction to the Drupal 7 Media Module'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-6431955622258251408</id><published>2012-03-30T00:25:00.001-07:00</published><updated>2012-04-02T23:01:17.573-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>An Introduction to Drupal&amp;#39;s Display Suite(DS)</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;One of the rites of passage for beginner Drupal users is to learn Panels. It&#39;s a useful tool for laying out pages and redesigning content pages without any code knowledge.&lt;br /&gt;&lt;br /&gt;However, not everyone is a fan. Panels is sometimes criticized for being hard to use and for having performance issues.&lt;br /&gt;&lt;br /&gt;In this tutorial we&#39;re going to introduce you to a powerful alternative: Display Suite. We&#39;re going to show you several ways in which it can make designing your content fun and pain-free.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Why Display Suite?&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;We&#39;re going to use Movies as our example. In the image below, we created a Movies content type and added several fields. We added a a Movie Poster, Director, Stars and the Length of the movie.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330890697146.png&quot; alt=&quot;tutuploadsmedia_1330890697146.png&quot; width=&quot;540&quot; height=&quot;554&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;So far, so good. However, the vertical layout seen above is ugly. In contrast, the image below is Titanic as seen on IMDB.com. That site has a two column layout that makes the content much more attractive.&lt;br /&gt;&lt;br /&gt;The goal of Display Suite is to allow us to move from the layout above to the layout below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330890712547.png&quot; alt=&quot;tutuploadsmedia_1330890712547.png&quot; width=&quot;540&quot; height=&quot;268&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Getting Started with Display Suite&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;To start working with Display Suite, you just need two modules:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;Display Suite: &lt;a href=&quot;http://drupal.org/project/ds&quot;&gt;http://drupal.org/project/ds&lt;/a&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Chaos Tools Suite: &lt;a href=&quot;http://drupal.org/project/ctools&quot;&gt;http://drupal.org/project/ctools&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;Download and install both modules. Make sure to enable all of the Chaos Tools Suite modules that you are able to in order to get as the full benefit from Display Suite.&lt;br /&gt;&lt;br /&gt;Go to Structure &amp;gt; Display suite so to see the options available. We&#39;re going to start by clicking Layout.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330895877454.png&quot; alt=&quot;tutuploadsmedia_1330895877454.png&quot; width=&quot;409&quot; height=&quot;347&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You&#39;ll now see a list of all the things that you can redesign with Display Suite. You can create new layouts for Comments, Nodes, Taxonomy terms and User pages.&lt;br /&gt;&lt;br /&gt;Get started by clicking on the content type you want to redesign.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330895943731.png&quot; alt=&quot;tutuploadsmedia_1330895943731.png&quot; width=&quot;474&quot; height=&quot;458&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You&#39;ll now see all of your fields. This screen can also be accessed by clicking Manage Display when you&#39;re working with a particular content type:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330896164042.png&quot; alt=&quot;tutuploadsmedia_1330896164042.png&quot; width=&quot;435&quot; height=&quot;88&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;You&#39;ll now see your normal Manage Display option as in the image below:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330891154417.png&quot; alt=&quot;tutuploadsmedia_1330891154417.png&quot; width=&quot;540&quot; height=&quot;285&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The extra power of Display Suite can be seen at the bottom of the page. Click Layout for movies in default and you&#39;ll see some layout options:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330896210138.png&quot; alt=&quot;tutuploadsmedia_1330896210138.png&quot; width=&quot;540&quot; height=&quot;254&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;In this example I chose Two column stacked and then clicked Save.&lt;br /&gt;&lt;br /&gt;The Ajax-based drag-and-drop wasn&#39;t working for me, but I was able to use the Region dropdown to place each of the fields into different parts of the page:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330896342969.png&quot; alt=&quot;tutuploadsmedia_1330896342969.png&quot; width=&quot;436&quot; height=&quot;141&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;When it was done, I had a layout that appeared close to IMDB. The Movie Poster was on the left and the other information was on the right:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330896717669.png&quot; alt=&quot;tutuploadsmedia_1330896717669.png&quot; width=&quot;400&quot; height=&quot;268&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;One note of caution here: the are several view options available in the top-right corner. Make sure that you are redesigning the layout for Full content if you want to control the normal content pages.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330891389687.png&quot; alt=&quot;tutuploadsmedia_1330891389687.png&quot; width=&quot;417&quot; height=&quot;96&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;If you&#39;ve created your layout once, it is easy to re-use it for others by using the Clone layout option.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330891407022.png&quot; alt=&quot;tutuploadsmedia_1330891407022.png&quot; width=&quot;540&quot; height=&quot;227&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The end result can be seen below. I was able to divide my content into two columns:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330896687265.png&quot; alt=&quot;tutuploadsmedia_1330896687265.png&quot; width=&quot;540&quot; height=&quot;359&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;If you need to get more sophisticated with your layouts, you have two options:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;You can add Panels to your site and use the Custom layout feature to add more options.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;You can use template files to change how existing layouts work. In the image below, I&#39;ve highlighted how Display Suite helps with this.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330891566431.png&quot; alt=&quot;tutuploadsmedia_1330891566431.png&quot; width=&quot;540&quot; height=&quot;240&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;View Modes&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;View modes is a very useful Display Suite feature that makes working with Views easier and more flexible.&lt;br /&gt;&lt;br /&gt;Starting by going to Structure &amp;gt; Display Suite &amp;gt; View Modes &amp;gt; Add a view mode.&lt;br /&gt;&lt;br /&gt;We&#39;re going to create a new View Mode called Sidebar which will add a layout for Nodes in our Sidebar. Go ahead and choose the settings below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330891976272.png&quot; alt=&quot;tutuploadsmedia_1330891976272.png&quot; width=&quot;183&quot; height=&quot;328&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Now you can go to Structure &amp;gt; Display Suite &amp;gt; Layout &amp;gt; Manage display and enable your new view mode for the content type you&#39;re working with.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330892001911.png&quot; alt=&quot;tutuploadsmedia_1330892001911.png&quot; width=&quot;420&quot; height=&quot;347&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Click Save and it will appear as an option in the top-right hand corner:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330892058711.png&quot; alt=&quot;tutuploadsmedia_1330892058711.png&quot; width=&quot;344&quot; height=&quot;45&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Go ahead and set up your design the sidebar content. Choose the layout from the bottom of the page and then add your fields. Click Save when you&#39;re done.&lt;br /&gt;&lt;br /&gt;If you haven&#39;t done so yet, go ahead and install Views http://drupal.org/project/views and create a View. Once your View is ready, click Fields under the Format label.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330892322902.png&quot; alt=&quot;tutuploadsmedia_1330892322902.png&quot; width=&quot;243&quot; height=&quot;145&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Usually you will have only Content and Fields as options but this time Display Suite will also be an option.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330892355190.png&quot; alt=&quot;tutuploadsmedia_1330892355190.png&quot; width=&quot;188&quot; height=&quot;231&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Choose Display Suite and click Apply (all displays). Then choose your new Sidebar View Mode.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330892386484.png&quot; alt=&quot;tutuploadsmedia_1330892386484.png&quot; width=&quot;199&quot; height=&quot;165&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The image below shows how my block turned out, using the Sidebar View Mode that I created. This View Mode can now be reused across as many Views and Blocks as you wish. You can make one update from inside Display Suite and automatically update all of those Views and Blocks.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330892858898.png&quot; alt=&quot;tutuploadsmedia_1330892858898.png&quot; width=&quot;223&quot; height=&quot;518&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Styles for Regions&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;The final feature we&#39;re going to look at is Display Suite&#39;s Styles for Regions feature. To start using it, go to Structure &amp;gt; Display suite &amp;gt; Styles.&lt;br /&gt;&lt;br /&gt;I&#39;m going to be subtle. I&#39;m going to create a style for one of the my content regions called Big Ugly Border:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330894672739.png&quot; alt=&quot;tutuploadsmedia_1330894672739.png&quot; width=&quot;222&quot; height=&quot;302&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;When I go back to my Manage display page, it&#39;s possible to apply that new style to any of the regions.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330894652173.png&quot; alt=&quot;tutuploadsmedia_1330894652173.png&quot; width=&quot;407&quot; height=&quot;237&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;With some CSS added to the theme file, we can target that region accurately. Here&#39;s the CSS:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330894691242.png&quot; alt=&quot;tutuploadsmedia_1330894691242.png&quot; width=&quot;231&quot; height=&quot;53&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;And here is the big, ugly border that resulted:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1330894727159.png&quot; alt=&quot;tutuploadsmedia_1330894727159.png&quot; width=&quot;540&quot; height=&quot;93&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;h3&gt;Summary&lt;/h3&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;We have wanted to recommend Display Suite for over year. It is a far more user-friendly alternative to Panels for many layout option. Panels will still be a better option for designing individual pages such as your homepage or an important landing page. However for working with content types, we&#39;re now recommending Display Suite, particularly to beginners. &lt;a href=&quot;http://www.mediacurrent.com/blog/mediacurrent-debates-panels&quot;&gt;Mediacurrent have a good blog post on when and why using Panels still makes sense&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;One note of caution: we have held off from recommending Display Suite until now because bugs were still being worked out. The Fields feature still contained too bugs many for us to recommend yet, but the rest of the Display Suite core worked perfectly during testing.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/6431955622258251408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/introduction-to-drupal-display-suiteds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/6431955622258251408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/6431955622258251408'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/introduction-to-drupal-display-suiteds.html' title='An Introduction to Drupal&amp;#39;s Display Suite(DS)'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-677171342284967597</id><published>2012-03-30T00:20:00.000-07:00</published><updated>2012-04-01T22:42:39.361-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>Using the Views Slideshow Module in Drupal 7</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Slideshows are one of the most popular things that people want on their website and the Views Slideshow Module is the most popular way to create slideshows in Drupal.&lt;br/&gt;&lt;br/&gt;So, it&#39;s no surprise that Views Slideshow is one of the most popular Drupal modules.&lt;br/&gt;&lt;br/&gt;Creating a Views Slideshow isn&#39;t too difficult, but there are a quite a few steps to go through. If you&#39;re a beginner, this will be a complete installation guide.&lt;br/&gt;&lt;br/&gt;In this tutoirial we&#39;re going to build a slideshow that will show rotatings testimonials in a block on our site.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 1. Install the necessary modules and files&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331155648284.png&quot; alt=&quot;tutuploadsmedia_1331155648284.png&quot; width=&quot;505&quot; height=&quot;522&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;To start, you&#39;re going to need the following 5 or 6 modules to use Views Slideshow. Install and enable all of them.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/views&quot; target=&quot;_blank&quot;&gt;Views &lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/views_slideshow&quot; target=&quot;_blank&quot;&gt;Views Slideshow&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/ctools&quot; target=&quot;_blank&quot;&gt;Chaos tool suite &lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/libraries&quot; target=&quot;_blank&quot;&gt;Libraries&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/link&quot; target=&quot;_blank&quot;&gt;Link Field &lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/token&quot; target=&quot;_blank&quot;&gt;Token&lt;/a&gt; (optional)&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;You&#39;ll also need to install jQuery which will make the slideshow work.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Be sure the &lt;a href=&quot;http://drupal.org/project/libraries&quot;&gt;Libraries Module&lt;/a&gt; is installed.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;You need to install the jQuery cycle .js file.The process is a little different than a module installation. Start by saving the file from here: &lt;a href=&quot;http://malsup.com/jquery/cycle&quot; target=&quot;_blank&quot;&gt;http://malsup.com/jquery/cycle&lt;/a&gt;. Click the download link on the site and it will open the actual file. Save the file to your computer.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Login to access your Drupal site files and browse to the /sites/all/ folder. Create a directory here called /libraries/.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Now create another folder inside /libraries/ called /jquery.cycle/. The full path to this folder will be /sites/all/libraries/jquery.cycle/.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Copy or upload the file jquery.cycle.all.js to the same folder. The full path will be /sites/all/libraries/jquery.cycle/jquerycycle.all.js.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 2. Create an image style for the thumbnails&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331163031317.png&quot; alt=&quot;tutuploadsmedia_1331163031317.png&quot; width=&quot;518&quot; height=&quot;302&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Configuration &amp;gt; Image styles &amp;gt; Add style.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;After you click Add style you will be prompted to give the style a name. Name the new style testimonial_thumbnail.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose Resize from the Effects menu. Click Add.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331163440590.png&quot; alt=&quot;tutuploadsmedia_1331163440590.png&quot; width=&quot;540&quot; height=&quot;489&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Set the size of the testimonial_thumbnail. Make it small, 75x75 should work. Click Add effect.&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331163502577.png&quot; alt=&quot;tutuploadsmedia_1331163502577.png&quot; width=&quot;362&quot; height=&quot;388&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 3. Create a new content type&lt;/h3&gt;&lt;br/&gt;Go to Structure &amp;gt; Content types &amp;gt; Add new content type.&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331164645120.png&quot; alt=&quot;tutuploadsmedia_1331164645120.png&quot; width=&quot;317&quot; height=&quot;277&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Create a content type called Testimonials. Click Save and Add Fields when you are finished.&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331166506658.png&quot; alt=&quot;tutuploadsmedia_1331166506658.png&quot; width=&quot;540&quot; height=&quot;592&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 4. Add an image field&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331167891419.png&quot; alt=&quot;tutuploadsmedia_1331167891419.png&quot; width=&quot;540&quot; height=&quot;322&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Add a new field named Testimonial Image.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Add the field name testimonial_image.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose Image as the type from the drop down,&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;The form element will select itself.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Save three times until the field is created.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 5. Add a link field&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331168531613.png&quot; alt=&quot;tutuploadsmedia_1331168531613.png&quot; width=&quot;540&quot; height=&quot;293&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Add a new field named Testimonial Links.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Add the field Name testimonial_link.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose Link from the dropdown.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;The form element will select itself.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Save.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You can repeat these last two steps step for as many fields as you want to add to the Testimonial Content Type. I&#39;m going to add one more called Signed. It will be a text field where I can put the name of the person who left the testimonials.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 6. Manage the display of the fields&lt;/h3&gt;&lt;br/&gt;Click Manage Display to edit the way the fields are displayed.&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331170440659.png&quot; alt=&quot;tutuploadsmedia_1331170440659.png&quot; width=&quot;540&quot; height=&quot;365&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;We&#39;re going to specify the image style to be used with this content type.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331170129653.png&quot; alt=&quot;tutuploadsmedia_1331170129653.png&quot; width=&quot;540&quot; height=&quot;350&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Adjust the positioning of the fields as needed using the drag and drop method.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click the cog icon on the Testimonial image row.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Select the image style from the dropdown menu.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose testimonial_thumbnail. This is the image style you created back in Step 2.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose the link destination. (in this picture it&#39;s hidden below the style drop down.) You probably want it to link to the content.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click update.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331170181692.png&quot; alt=&quot;tutuploadsmedia_1331170181692.png&quot; width=&quot;540&quot; height=&quot;257&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Make any other changes to other fields you want.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Save at the bottom of the screen.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 7. Define the elements that make up the teaser&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331171042145.png&quot; alt=&quot;tutuploadsmedia_1331171042145.png&quot; width=&quot;470&quot; height=&quot;322&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Look for the Teaser button toward the top right of the window. Click this to set the length of Teaser text and other details.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;The Teaser settings show you that only 600 characters will be used for the teaser text. To change it click the cog icon.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Also, make sure the fields Signed, Testimonial Link and Testimonial image are set hidden in the teaser.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331171368521.png&quot; alt=&quot;tutuploadsmedia_1331171368521.png&quot; width=&quot;540&quot; height=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Click and drag the plus sign next to Testimonial Image.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Move it above the Hidden Field label so it will be part of the teaser.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;The hidden fields will show in the full testimonial, but not in the teaser.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331226423347.png&quot; alt=&quot;tutuploadsmedia_1331226423347.png&quot; width=&quot;540&quot; height=&quot;310&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;Now you have finished creating the fields and display for the Testimonials content type. Now we need to go and work with Views to complete the slideshow.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 8. Add the View&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Structure &amp;gt; Views &amp;gt; Add a new view.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Enter the settings below. Make sure to define the view as a block.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331224560504.png&quot; alt=&quot;tutuploadsmedia_1331224560504.png&quot; width=&quot;535&quot; height=&quot;605&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;Name it Testimonial Slider.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Check Description and give it a description.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose the to Show Content and then the content type you want to show.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Uncheck Create a page.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Check Create a block.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Type Testimonial Slider into Block Title.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose the Slideshow Format made up of teasers.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Decide the number of items to show on the page. Use &quot;0&quot; if you want to scroll through all testimonials. Otherwise it will loop through 5 of them.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Continue &amp;amp; edit&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 9. Edit the View&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Click on None under Block Settings.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Give your block a name.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Settings under FORMAT and next to Slideshow.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331230229715.png&quot; alt=&quot;tutuploadsmedia_1331230229715.png&quot; width=&quot;540&quot; height=&quot;383&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Scroll through the options and make changes. From here you can add classes, choose the transition type for the slides and and Internet Explorer tweaks. Take some time to look at all your choices. This is where you will control the look and performance of the slides. Be sure to save any changes you make.&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331230426361.png&quot; alt=&quot;tutuploadsmedia_1331230426361.png&quot; width=&quot;474&quot; height=&quot;506&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 10. Publish the block&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Structure &amp;gt; Blocks.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Your new block will now show in the list of disabled blocks, and you can add it to a region like any other block. Add it to the region of your choice. I added it to Sidebar second.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331231366205.png&quot; alt=&quot;tutuploadsmedia_1331231366205.png&quot; width=&quot;540&quot; height=&quot;303&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 11. Add some testimonials&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Now let&#39;s create some content and try it out. Get some sample images to use for the thumbnails and create some testimonials.&lt;br/&gt;&lt;br/&gt;TIP: if you want to quickly create sample items with Lorum Ipsum text, you can use a module called Drupal Ipsum, which allows you to just check a box to fill the article with dummy text when you create it. That&#39;s what I used here.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331231761204.png&quot; alt=&quot;tutuploadsmedia_1331231761204.png&quot; width=&quot;344&quot; height=&quot;239&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Content &amp;gt; Add content.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331231933998.png&quot; alt=&quot;tutuploadsmedia_1331231933998.png&quot; width=&quot;540&quot; height=&quot;309&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Choose Testimonials and create several so you can get a good idea of how the scroller and the block appear.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 12. Go to your homepage and look at the result&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331237195034.png&quot; alt=&quot;tutuploadsmedia_1331237195034.png&quot; width=&quot;272&quot; height=&quot;423&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Your block should now show on your site.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 13. Edit the slideshow&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331237845579.png&quot; alt=&quot;tutuploadsmedia_1331237845579.png&quot; width=&quot;267&quot; height=&quot;296&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;Now that we can see the block in action, we may want to make changes. Here&#39;s how to make them:&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Mouse over the corner of the block so the gear appears.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click the dropdown arrow.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Edit view&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 14: Edit the slideshow settings&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331256334018.png&quot; alt=&quot;tutuploadsmedia_1331256334018.png&quot; width=&quot;396&quot; height=&quot;358&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Choose Settings next to Slideshow.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;In this example, we&#39;re going to change the speed to 700 so that slideshow operates more quickly.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331239855077.png&quot; alt=&quot;tutuploadsmedia_1331239855077.png&quot; width=&quot;540&quot; height=&quot;365&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Summary&lt;/h3&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;There are a wide variety of possibilities and options available to you with Views Slideshow. You might now want to go back and change anything from the image styles, to the fields, to the content, to the slideshow settings.&lt;br/&gt;&lt;br/&gt;This tutorial hasn&#39;t taken you in depth with any of those, but hopefully you now feel confident enough to start to build your own slideshows. You now know where to edit the image styles, fields, content and slideshow settings.&lt;br/&gt;&lt;br/&gt;From here, it&#39;s a question of practice and we&#39;re sure you&#39;ll build some great slideshows.&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/677171342284967597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/using-views-slideshow-module-in-drupal.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/677171342284967597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/677171342284967597'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/using-views-slideshow-module-in-drupal.html' title='Using the Views Slideshow Module in Drupal 7'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-802315994139759697</id><published>2012-03-30T00:19:00.001-07:00</published><updated>2012-04-01T22:42:39.349-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal7"/><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><title type='text'>Creating a Photo Gallery in Drupal 7</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;This tutorial will show you how to create a photo gallery in Drupal 7.&lt;br/&gt;&lt;br/&gt;It won&#39;t create the world&#39;s flashiest or most impressive gallery, but it will work. This tutorial is designed for beginners so that they can understand the key concepts behind creating a gallery in Drupal 7.&lt;br/&gt;&lt;br/&gt;If you&#39;re still using Drupal 6, &lt;a href=&quot;http://www.ostraining.com/blog/drupal/creating-a-photo-gallery-in-drupal-6/&quot;&gt;we have a tutorial for you also&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 1: Install Modules&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You will need to install and enable the only modules listed below:&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;CTools: &lt;a href=&quot;http://drupal.org/project/ctools&quot;&gt;http://drupal.org/project/ctools&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Views: &lt;a href=&quot;http://drupal.org/project/views&quot;&gt;http://drupal.org/project/views&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 2: Create a content type&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;First, we&#39;re going to set up a photos content type. Go to Structure &amp;gt; Content types &amp;gt; Add content type and create a new content type to use for the photo gallery.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331060256061.png&quot; alt=&quot;tutuploadsmedia_1331060256061.png&quot; width=&quot;327&quot; height=&quot;255&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 3: Add a Photo Field&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Now we&#39;re going to add an image field to our new content type so that we can actually upload photos. Go to Manage Fields and create a field using the Image data type.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331060521185.png&quot; alt=&quot;tutuploadsmedia_1331060521185.png&quot; width=&quot;540&quot; height=&quot;63&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 4: Upload the photos&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;There&#39;s a variety of ways to to upload enough photos to fill a photo gallery.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;You can go to Add content &amp;gt; photos and upload them all manually.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;You can use the Devel module to automatically generate images: &lt;a href=&quot;http://drupal.org/project/devel&quot;&gt;http://drupal.org/project/devel&lt;/a&gt;.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;You can use one of Drupal&#39;s import modules such as Feeds: &lt;a href=&quot;http://drupal.org/project/feeds&quot;&gt;http://drupal.org/project/feeds&lt;/a&gt;.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331060694984.png&quot; alt=&quot;tutuploadsmedia_1331060694984.png&quot; width=&quot;219&quot; height=&quot;271&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 5: Create the View&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Views &amp;gt; Add new view and let&#39;s set up the view:&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;Give your view a name such as Photo Gallery.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose to show Content of type Photos.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Check the create a page box.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose the Grid display format and choose fields.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Choose a number that will work well in a grid: 12 is the example used here.&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331060923047.png&quot; alt=&quot;tutuploadsmedia_1331060923047.png&quot; width=&quot;540&quot; height=&quot;440&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Continue &amp;amp; edit.&lt;br/&gt;Scroll down and you&#39;ll see a preview of your photo gallery. The only thing missing? Photos.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331060942549.png&quot; alt=&quot;tutuploadsmedia_1331060942549.png&quot; width=&quot;540&quot; height=&quot;104&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 6: Improve the View&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Let&#39;s go and add the photo to our view. Click add next to Fields.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331060960346.png&quot; alt=&quot;tutuploadsmedia_1331060960346.png&quot; width=&quot;360&quot; height=&quot;326&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Search for and select the photos field that you created earlier.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331062354345.png&quot; alt=&quot;tutuploadsmedia_1331062354345.png&quot; width=&quot;532&quot; height=&quot;277&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Apply (all displays) twice. Now your preview at the bottom of the page will look like the image below. The only thing wrong now is that the images are all different sizes.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061075586.png&quot; alt=&quot;tutuploadsmedia_1331061075586.png&quot; width=&quot;540&quot; height=&quot;211&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 7: Resizing the Images&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Drupal comes with a way to automatically resize images. Let&#39;s see how.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Configuration &amp;gt; Image styles &amp;gt; Add style.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Enter a name of your new resizing option.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Create new style.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061159450.png&quot; alt=&quot;tutuploadsmedia_1331061159450.png&quot; width=&quot;363&quot; height=&quot;130&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You&#39;ll now see a preview of the image resizing. Currently nothing is happening.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061180084.png&quot; alt=&quot;tutuploadsmedia_1331061180084.png&quot; width=&quot;540&quot; height=&quot;135&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;At the bottom of the page, choose Scale and crop.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Add.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331062529803.png&quot; alt=&quot;tutuploadsmedia_1331062529803.png&quot; width=&quot;262&quot; height=&quot;219&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Choose how wide and high the photos will be. In our example we have four photos across the page, so we&#39;ll choose a width that will allow us to fit four photos in. Click Add effect to finish.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061232609.png&quot; alt=&quot;tutuploadsmedia_1331061232609.png&quot; width=&quot;141&quot; height=&quot;188&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You&#39;ll now see a fresh preview of the image resizing.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061251914.png&quot; alt=&quot;tutuploadsmedia_1331061251914.png&quot; width=&quot;540&quot; height=&quot;152&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Now let&#39;s go and apply the resizing to our photos.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Structure &amp;gt; Views &amp;gt; Photo Gallery &amp;gt; edit.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Settings next to your photos field. You can now go to Image style and choose the style that you just created.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;You might also want to uncheck the Create a label box so that the field name doesn&#39;t show.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Click Apply (all displays).&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061400126.png&quot; alt=&quot;tutuploadsmedia_1331061400126.png&quot; width=&quot;175&quot; height=&quot;183&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Save to finish your view and go to visit it on the front end of your site. Voila! Your Drupal 7 photo gallery is complete.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1331061620284.png&quot; alt=&quot;tutuploadsmedia_1331061620284.png&quot; width=&quot;540&quot; height=&quot;551&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/802315994139759697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/creating-photo-gallery-in-drupal-7.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/802315994139759697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/802315994139759697'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/creating-photo-gallery-in-drupal-7.html' title='Creating a Photo Gallery in Drupal 7'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-2976959494639998754</id><published>2012-03-30T00:19:00.000-07:00</published><updated>2012-04-01T22:42:39.335-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal6"/><title type='text'>Creating a Photo Gallery in Drupal 6</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;This tutorial will show you how to create a photo gallery in Drupal 6.&lt;br/&gt;&lt;br/&gt;It won&#39;t create the world&#39;s flashiest or most impressive gallery, but it will work. This tutorial is designed for beginners so that they can understand the key concepts behind creating a gallery in Drupal 6.&lt;br/&gt;&lt;br/&gt;You will need to install and enable at least the five modules listed below. Several of these do depend on other modules so your final list of installed modules will be longer.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/cck&quot;&gt;CCK&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/simpleviews&quot;&gt;SimpleViews&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/views&quot;&gt;Views&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/imagefield&quot;&gt;Image Field&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/imagecache&quot;&gt;Image Cache&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 1: Create a content type&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319216976361_1f2fe1c78e0920de1ea5ba7a5ff8f583.png&quot; alt=&quot;tutuploadsmedia_1319216976361_1f2fe1c78e0920de1ea5ba7a5ff8f583.png&quot; width=&quot;540&quot; height=&quot;259&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Administer &amp;gt; Content types &amp;gt; Add content type&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319217177397_844bbc12d125fb9fad4865972d717676.png&quot; alt=&quot;tutuploadsmedia_1319217177397_844bbc12d125fb9fad4865972d717676.png&quot; width=&quot;444&quot; height=&quot;245&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Create a new content type called Photo Gallery.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 2: Add a Photo Field&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319217290277_b01fda4505f98c5957126e6f8e0212c7.png&quot; alt=&quot;tutuploadsmedia_1319217290277_b01fda4505f98c5957126e6f8e0212c7.png&quot; width=&quot;540&quot; height=&quot;92&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Manage fields next to Photo Gallery and we&#39;re going to add a photo field.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Label: Photo&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Field name: photo&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Type of data: File&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Form element: Image&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;Click Save twice to create the field.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 3: Upload the photos&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319217497427_5ac7feb4089391f3506882690d31a23d.png&quot; alt=&quot;tutuploadsmedia_1319217497427_5ac7feb4089391f3506882690d31a23d.png&quot; width=&quot;540&quot; height=&quot;426&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Create content &amp;gt; Photo Gallery and upload the photos you would like in your gallery. Each photo will be it&#39;s content item.&lt;br/&gt;&lt;br/&gt;Go ahead and upload at least four photos so that we have something to work with.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 4: Creating the View&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Site building &amp;gt; Simple views &amp;gt; Add view.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218260634_19f84ecf8319f259206e523973e53756.png&quot; alt=&quot;tutuploadsmedia_1319218260634_19f84ecf8319f259206e523973e53756.png&quot; width=&quot;321&quot; height=&quot;232&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Enter the following settings:&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Title: Dog Photo Gallery&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Path: dog-photo-gallery&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Display: Photo Gallery posts&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Sorted: Newest first&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;As a: List of titles&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;Click Submit when you&#39;ve finished.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 6: Improving the view&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Site building &amp;gt; Views &amp;gt; click on Edit next to your new view which will be called simpleviews_1 if this is your first time using Simple Views.&lt;br/&gt;&lt;br/&gt;Make sure to click Page on the left-hand side as in the image below:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319219922899_c90800417f2a421f501fddb7d7253d0a.png&quot; alt=&quot;tutuploadsmedia_1319219922899_c90800417f2a421f501fddb7d7253d0a.png&quot; width=&quot;138&quot; height=&quot;275&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;Click on HTML List under Basic settings:&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218867382_d2a2115530d9f4f03e17a7b0a6cfaa82.png&quot; alt=&quot;tutuploadsmedia_1319218867382_d2a2115530d9f4f03e17a7b0a6cfaa82.png&quot; width=&quot;246&quot; height=&quot;157&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;Choose Grid and click Update:&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218798006_455e520b2212a6c60f10fe3448242ed7.png&quot; alt=&quot;tutuploadsmedia_1319218798006_455e520b2212a6c60f10fe3448242ed7.png&quot; width=&quot;325&quot; height=&quot;250&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Set the number of columns to 2 on the next page.&lt;br/&gt;&lt;br/&gt;Now we&#39;re going to add the photo and caption. Click the plus icon next to Fields:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218909521_51aa7c428a60eee55535af00ed09c655.png&quot; alt=&quot;tutuploadsmedia_1319218909521_51aa7c428a60eee55535af00ed09c655.png&quot; width=&quot;266&quot; height=&quot;183&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;Check the box next to Content: Photo.&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218931915_275905a89c24ca0c3602dc22130c4e90.png&quot; alt=&quot;tutuploadsmedia_1319218931915_275905a89c24ca0c3602dc22130c4e90.png&quot; width=&quot;275&quot; height=&quot;203&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Add.&lt;br/&gt;&lt;br/&gt;Set Label to None and set Format to Image:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218966333_ba86a5516d6eb715adb41eb81b8ddf75.png&quot; alt=&quot;tutuploadsmedia_1319218966333_ba86a5516d6eb715adb41eb81b8ddf75.png&quot; width=&quot;270&quot; height=&quot;199&quot; /&gt;&lt;/div&gt;&lt;br/&gt;Click Update.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;Click the plus icon next to Fields once more.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Check the box next to Node: Body.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319218991684_5d105ec5860ec528cd391fac1c66b679.png&quot; alt=&quot;tutuploadsmedia_1319218991684_5d105ec5860ec528cd391fac1c66b679.png&quot; width=&quot;491&quot; height=&quot;173&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Add then you&#39;ll see a Label field. Remove the text in that field.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319220198814_8b493852ff1d099fbef6f2b14ba537c4.png&quot; alt=&quot;tutuploadsmedia_1319220198814_8b493852ff1d099fbef6f2b14ba537c4.png&quot; width=&quot;438&quot; height=&quot;207&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Update.&lt;br/&gt;&lt;br/&gt;Click Save at the bottom of the page make sure your changes aren&#39;t lost.&lt;br/&gt;&lt;br/&gt;Click View &quot;Page&quot; in the top-right corner to visit your Photo Gallery. It will look like the image below:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319219304319_b7b14308967e3c95966034d338606b50.png&quot; alt=&quot;tutuploadsmedia_1319219304319_b7b14308967e3c95966034d338606b50.png&quot; width=&quot;540&quot; height=&quot;230&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Those photos are clearly too big. We&#39;ll need to fix them. That is why we also have the ImageCache module installed ...&lt;br/&gt;&lt;h3&gt;Step 6: Resizing the images&lt;/h3&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319219530623_e9e13617c7e31b8f07b88544ff811a83.png&quot; alt=&quot;tutuploadsmedia_1319219530623_e9e13617c7e31b8f07b88544ff811a83.png&quot; width=&quot;481&quot; height=&quot;212&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Add Resize enter the maximum height and width that you would like for the images on the main page of the photo gallery.&lt;br/&gt;&lt;br/&gt;300 pixels wide and high might be a good choice to start with.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319220329218_05016b22ae1d2a43978a5e1b32f0bfe6.png&quot; alt=&quot;tutuploadsmedia_1319220329218_05016b22ae1d2a43978a5e1b32f0bfe6.png&quot; width=&quot;426&quot; height=&quot;213&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Site building &amp;gt; Views &amp;gt; click on Edit next to your new view. Make sure you click Page on the left-hand side.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319220125486_780a5d79bb67e03e7753a378271fd8f4.png&quot; alt=&quot;tutuploadsmedia_1319220125486_780a5d79bb67e03e7753a378271fd8f4.png&quot; width=&quot;215&quot; height=&quot;205&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319220154418_e5c4c97fb0df0c4ca3d4e1d12b4eb674.png&quot; alt=&quot;tutuploadsmedia_1319220154418_e5c4c97fb0df0c4ca3d4e1d12b4eb674.png&quot; width=&quot;341&quot; height=&quot;233&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Save and visit your Photo Gallery. It will now look like the image below:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319220412413_f200f43eba07c6afe4d99a2c20450d83.png&quot; alt=&quot;tutuploadsmedia_1319220412413_f200f43eba07c6afe4d99a2c20450d83.png&quot; width=&quot;540&quot; height=&quot;505&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;&lt;/h3&gt;&lt;br/&gt;&lt;h3&gt;Step 8: Resizing the individual images&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You can also create presets for individual photos so that they will not go over the edge of the page, no matter how big they are.&lt;br/&gt;&lt;br/&gt;Go to Site building &amp;gt; ImageCache &amp;gt; Add new preset.&lt;br/&gt;&lt;br/&gt;Create a new preset called individual photo.&lt;br/&gt;&lt;br/&gt;Click Add Scale and set both the width to 700. That means that no photos will be wider than 700 pixels but they can be as high as necessary.&lt;br/&gt;&lt;br/&gt;Click Save Preset.&lt;br/&gt;&lt;br/&gt;Go to Content management &amp;gt; Content types &amp;gt; manage fields next to Photo Gallery &amp;gt; click Display fields at the top of the page.&lt;br/&gt;&lt;br/&gt;Click on the Full node dropdown and choose the individual photo image that you just created. That will apply the 700 pixels maximum width to all of the photos when they are shown individually.&lt;br/&gt;&lt;br/&gt;Click Save.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1319220882379_55226e993b028c7df3dead2670614758.png&quot; alt=&quot;tutuploadsmedia_1319220882379_55226e993b028c7df3dead2670614758.png&quot; width=&quot;320&quot; height=&quot;177&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/2976959494639998754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/creating-photo-gallery-in-drupal-6.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/2976959494639998754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/2976959494639998754'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/creating-photo-gallery-in-drupal-6.html' title='Creating a Photo Gallery in Drupal 6'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-4352871852804897908</id><published>2012-03-30T00:15:00.000-07:00</published><updated>2012-04-01T22:42:39.321-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><title type='text'>Migrate Drupal 6 to Drupal 7</title><content type='html'>Changing from Drupal 6 to Drupal 7 is not just a simple update. The steps seem straightforward, but there are major changes in the way Drupal 7 works and stores data. So a move up across major version numbers is really a &quot;migration&quot; as opposed to a simple update or patch.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If your site is fairly simple, with good backups, and you use the right approach, you can accomplish the migration without too much trouble.&lt;br/&gt;&lt;br/&gt;The more complex your site is, the more complex the migration will be.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;Doing a migration involves several steps. You might want to &lt;a href=&quot;http://www.ostraining.com/blog/drupal/migrate-drupal-6-to-drupal-7/#related_tutorials&quot;&gt;review these related tutorials.&lt;/a&gt;&lt;br/&gt;&lt;h3&gt;Step 1: Backup your site&#39;s database&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads1_9a01976bcb0177f97c97f4fdbb1ac351.png&quot; alt=&quot;tutuploads1_9a01976bcb0177f97c97f4fdbb1ac351.png&quot; width=&quot;532&quot; height=&quot;390&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;* It is wise to try an update or upgrade on a test copy of your site before applying it to your live site. Even minor updates can cause your site&#39;s behavior to change.&lt;br/&gt;&lt;br/&gt;There is a handy tool called Backup and Migrate, which helps simplify the backup process, which you can download from this page &lt;a href=&quot;http://drupal.org/project/backup_migrate&quot;&gt;http://drupal.org/project/backup_migrate&lt;/a&gt;. &lt;strong&gt;Note&lt;/strong&gt;: it only works with MySQL, and is still under development. You should also do a manual backup of your database using phpMyAdmin. We show you how to do this&lt;a href=&quot;http://www.ostraining.com/blog/drupal/move-your-drupal-site-to-a-new-location/&quot;&gt; in this tutorial&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 2: Backup all your folders and files&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You have several ways to do this, and you might want to do it more than one way for safety&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;You can download all the files to your local computer&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Copy the files to another directory on your server&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Use the backup facility that is probably built into your hosting control panel&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;You can&#39;t be too paranoid about having extra copies.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 3: Double check to make sure you can complete the upgrade&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Check on the Drupal 7 status of your contributed and custom modules and themes.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;See &lt;a href=&quot;http://drupal.org/node/948216&quot;&gt;http://drupal.org/node/948216&lt;/a&gt; for information on upgrading contributed modules and themes.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;See &lt;a href=&quot;http://drupal.org/node/895314&quot;&gt;http://drupal.org/node/895314 &lt;/a&gt;for a list of modules that have been moved into core for Drupal 7, and instructions on how to update them.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;See &lt;a href=&quot;http://drupal.org/update/modules&quot;&gt;http://drupal.org/update/modules&lt;/a&gt; for information on how to update your custom modules, and &lt;a href=&quot;http://drupal.org/update/theme&quot;&gt;http://drupal.org/update/theme&lt;/a&gt; for custom themes.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 4: Check for the latest version of Drupal 6.x&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads4_78cc6a39019111ff812b3d9ebb947ab1.png&quot; alt=&quot;tutuploads4_78cc6a39019111ff812b3d9ebb947ab1.png&quot; width=&quot;532&quot; height=&quot;122&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You can&#39;t skip versions when you upgrade. For instance you cant go from 6.0 to 6.2 in one step. You also can&#39;t upgrade directly from 6.0 or 6.1 to Drupal 7. You have to have your Drupal 6 installation at the latest level.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;How do I know which version of Drupal I&#39;m running?&lt;/strong&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Administer (or Administration) &amp;gt;&amp;gt; Reports &amp;gt;&amp;gt; Status report.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;You will see your version number if you have Drupal 6.0 or later. In Drupal 5.x and earlier, the path to go to is Administer &amp;gt;&amp;gt; Logs &amp;gt;&amp;gt; Status report.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;strong&gt;Where do I get the latest version of Drupal 6?&lt;/strong&gt; &lt;a href=&quot;http://drupal.org/project/drupal&quot;&gt;http://drupal.org/project/drupal&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 5: Take the site off-line&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads5._Take_the_site_off_line..png&quot; alt=&quot;tutuploads5._Take_the_site_off_line..png&quot; width=&quot;205&quot; height=&quot;421&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Administer &amp;gt;&amp;gt; Site configuration &amp;gt;&amp;gt; Site maintenance.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads5.png&quot; alt=&quot;tutuploads5.png&quot; width=&quot;286&quot; height=&quot;241&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Select &quot;Off-line&quot; and save the configuration.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 6: Change the theme to Garland&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads6._Change_the_theme_to_Garland..png&quot; alt=&quot;tutuploads6._Change_the_theme_to_Garland..png&quot; width=&quot;209&quot; height=&quot;234&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Administer &amp;gt;&amp;gt; Site building &amp;gt;&amp;gt;Themes&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1312655385441.png&quot; alt=&quot;tutuploadsmedia_1312655385441.png&quot; width=&quot;532&quot; height=&quot;88&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click the check box to enable the theme, and the radio button to make it the default. Scroll to the bottom of the page and save changes.&lt;br/&gt;&lt;br/&gt;You need to use the basic theme. If you are using a template, check with the designer to see if there is an updated version, and you can do that upgrade after the site is working with Garland.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 7: Disable all non-core modules&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads6._Go_to_the_modules_page_and_disable_all_non-core_module.png&quot; alt=&quot;tutuploads6._Go_to_the_modules_page_and_disable_all_non-core_module.png&quot; width=&quot;218&quot; height=&quot;262&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Administer &amp;gt;&amp;gt; Site building &amp;gt;&amp;gt; Modules.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads7._Disable_all_modules_that_are_not_listed_under_Core_-_r.png&quot; alt=&quot;tutuploads7._Disable_all_modules_that_are_not_listed_under_Core_-_r.png&quot; width=&quot;474&quot; height=&quot;186&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You can expand the categories by clicking on the category name and see what is enabled. If you added an additional modules to your site, there will be additional categories. Expand them and uncheck the boxes next to the modules&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 8: Clear all optional module check boxes&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads8._Clear_all_optional_module_check_boxes_and_save_the_cha.png&quot; alt=&quot;tutuploads8._Clear_all_optional_module_check_boxes_and_save_the_cha.png&quot; width=&quot;275&quot; height=&quot;347&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;It is possible that some modules cannot be immediately disabled, because others depend on them. Repeat this step until all non-core modules are disabled and all check boxes are clear. Be sure to scroll to the bottom of the page and save the changes.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 9: Remove unwanted modules&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads9.png&quot; alt=&quot;tutuploads9.png&quot; width=&quot;348&quot; height=&quot;204&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you know that you will not re-enable some modules for Drupal 7.x and you no longer need their data, then you can uninstall them under the Uninstall tab after disabling them. The Uninstall tab is at the top of the modules page.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 10: Remove sites/default/default.settings.php&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads10._Remove__sitesdefaultdefault.settings.png&quot; alt=&quot;tutuploads10._Remove__sitesdefaultdefault.settings.png&quot; width=&quot;198&quot; height=&quot;213&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;On the command line or in your FTP client, remove the file /sites/default/default.settings.php&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 11: Delete all your other folders and files except /sites/&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads11._DO_NOT_DELETE_the_sites_folder__but_go_ahead_and_dele.png&quot; alt=&quot;tutuploads11._DO_NOT_DELETE_the_sites_folder__but_go_ahead_and_dele.png&quot; width=&quot;242&quot; height=&quot;410&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Empty your Drupal files directory except for:&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;/sites/&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;any custom files you added elsewhere.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;If you made modifications to files like .htaccess or robots.txt, you will need to record those changes and re-apply them after the new files are in place.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 12: Remove unwanted module folders&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads12.png&quot; alt=&quot;tutuploads12.png&quot; width=&quot;262&quot; height=&quot;219&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you are abandoning any modules because they are not compatible with Drupal 7, remove them from the directory&lt;br/&gt;sites/all/modules&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 13: Download and extract Drupal 7&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads13._Download_and_extract_Drupal_7__then_copy_all_the_file.png&quot; alt=&quot;tutuploads13._Download_and_extract_Drupal_7__then_copy_all_the_file.png&quot; width=&quot;442&quot; height=&quot;367&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Download Drupal 7 if you haven&#39;t already. &lt;a href=&quot;http://drupal.org/project/drupal&quot;&gt;http://drupal.org/project/drupal&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;You can extract the files on the server and copy them to your main directory. Alternately you could extract them on your local computer and use FTP to move them to your sever.&lt;br/&gt;&lt;br/&gt;Don&#39;t worry about overwriting the files in the sites folder. Only the files that need replacing will be replaced.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 14: Reapply any changes to your .htaccess file or robots.txt files&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads14._Reapply_any_changes_to_your_.png&quot; alt=&quot;tutuploads14._Reapply_any_changes_to_your_.png&quot; width=&quot;344&quot; height=&quot;254&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Re-apply any modifications to files such as .htaccess or robots.txt. Use a text editor to make changes.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 15: Make your settings file writable&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads15._Make_your_settings_file_writable.png&quot; alt=&quot;tutuploads15._Make_your_settings_file_writable.png&quot; width=&quot;367&quot; height=&quot;105&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Make your settings.php file writable, so that the update process can convert it to the format of Drupal 7.x. settings.php is usually located in sites/default/settings.php&lt;br/&gt;&lt;br/&gt;Normally this would best be set at 444, but it needs to be writable so 644 or 666 if you are having trouble will be the correct setting. BE SURE YOU REMEMBER TO COME BACK AND RESTORE THIS SETTING AFTER YOU ARE FINISHED with the migration.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 16: Run update.php&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads16._Run_update.png&quot; alt=&quot;tutuploads16._Run_update.png&quot; width=&quot;532&quot; height=&quot;276&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Run update.php by visiting http://www.example.com/update.php (replace www.example.com with your domain name). This will update the core database tables. Click continue and follow the steps.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt; If you can&#39;t access update.php make a change to your settings file:&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads17._If_you_can_t_access_update.png&quot; alt=&quot;tutuploads17._If_you_can_t_access_update.png&quot; width=&quot;532&quot; height=&quot;215&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you are unable to access update.php do the following:&lt;br/&gt;&lt;br/&gt;- Open settings.php with a text editor.&lt;br/&gt;&lt;br/&gt;- Find the line that says:&lt;br/&gt;$update_free_access = FALSE;&lt;br/&gt;&lt;br/&gt;- Change it into:&lt;br/&gt;$update_free_access = TRUE;&lt;br/&gt;&lt;br/&gt;- Once the upgrade is done, $update_free_access must be reverted to FALSE.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 17: Backup your new database&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads18.png&quot; alt=&quot;tutuploads18.png&quot; width=&quot;532&quot; height=&quot;390&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Using the same procedure you used before, make another database backup. Save it with a different name or to a different location than your original backup. You may still need that one.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 18: Upgrade your modules to their newer versions.&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You&#39;ve gone through the core upgrade, but now each module has to be upgraded. Then you can update and re-enable your non-core modules by following these steps:&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;Check your notes, and the UPGRADE.txt files inside each module, to see if any special upgrade instructions apply&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Fully remove the old module directory inside sites/all/modules/ (if you haven&#39;t already)&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Download, unpack and move the new module directory to sites/all/modules/&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Enable the module&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Run update.php again (you should have run it once already when upgrading core) and check for any message output.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Back up your database and files again, &lt;strong&gt;between each module update, &lt;/strong&gt;so that if there is a problem, you can revert to the most recent update.&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;If you have errors when you run the update.php script:&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;Note any error messages you see.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Restore your site to its previous state, using the file and database backups you created before you started the upgrade or update process. Do not attempt to do further updates or upgrades on a site that had update problems.&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 19: Upload your Drupal 7 compatible theme&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads20.png&quot; alt=&quot;tutuploads20.png&quot; width=&quot;198&quot; height=&quot;209&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Make sure everything works in the Garland theme before you switch over to your Drupal 7 theme.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 20: Go to Reports and run a Status report&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads21.png&quot; alt=&quot;tutuploads21.png&quot; width=&quot;532&quot; height=&quot;256&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;16. Go to Administration &amp;gt;&amp;gt; Reports &amp;gt;&amp;gt; Status report. Verify that everything is working as expected.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 21: Set update_free_access is set to false&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploads22.png&quot; alt=&quot;tutuploads22.png&quot; width=&quot;532&quot; height=&quot;215&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Ensure that $update_free_access is FALSE in settings.php.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1312661333788.png&quot; alt=&quot;tutuploadsmedia_1312661333788.png&quot; width=&quot;395&quot; height=&quot;537&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to Administration &amp;gt;&amp;gt; Configuration &amp;gt;&amp;gt; Development &amp;gt;&amp;gt; Maintenance mode.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Disable the &quot;Put site into maintenance mode&quot; check box and save.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1312661436093.png&quot; alt=&quot;tutuploadsmedia_1312661436093.png&quot; width=&quot;468&quot; height=&quot;279&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Scroll to the bottom of the page to save the configuration.&lt;br/&gt;&lt;br/&gt;That should be the last step in your successful migration from Drupal 6 to Drupal 7.&lt;br/&gt;&lt;br/&gt;&lt;a name=&quot;related_tutorials&quot;&gt;&lt;/a&gt;Related Tutorials:&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.ostraining.com/blog/drupal/planning-for-a-drupal-6-to-7-migration/&quot;&gt;Planning for a Drupal 6 to Drupal 7 Migration&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.ostraining.com/blog/drupal/how-to-put-drupal-7-in-maintenance-mode/&quot;&gt;How To Put Drupal 7 In Maintenance Mode.&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://www.ostraining.com/blog/drupal/migrating-d6-content-construction-kit-cck-to-d7-fields/&quot;&gt;Migrating Drupal 6 CCK Data To Drupal 7 Fields&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/4352871852804897908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/migrate-drupal-6-to-drupal-7.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/4352871852804897908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/4352871852804897908'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/migrate-drupal-6-to-drupal-7.html' title='Migrate Drupal 6 to Drupal 7'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-6751335341847532358</id><published>2012-03-30T00:13:00.000-07:00</published><updated>2012-04-01T22:42:39.308-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><category scheme="http://www.blogger.com/atom/ns#" term="Theme"/><title type='text'>How to use the JCarousel Module for Drupal</title><content type='html'>JCarousel is a useful module for creating Drupal slideshows. It uses the JCarousel plugin from &lt;a href=&quot;http://sorgalla.com/jcarousel/&quot;&gt;http://sorgalla.com/jcarousel/&lt;/a&gt;and makes it easy to use via integration with Views.&lt;br/&gt;&lt;br/&gt;Here&#39;s a simple example of how to use the JCarousel module.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 1: Install the modules&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Make sure that you have these three modules installed and enabled:&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;&lt;strong&gt;JCarousel&lt;/strong&gt;: &lt;a href=&quot;http://drupal.org/project/jcarousel&quot;&gt;http://drupal.org/project/jcarousel&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;strong&gt;Views&lt;/strong&gt;: &lt;a href=&quot;http://drupal.org/project/views&quot;&gt;http://drupal.org/project/views&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;strong&gt;CTools&lt;/strong&gt;: &lt;a href=&quot;http://drupal.org/project/ctools&quot;&gt;http://drupal.org/project/ctools&lt;/a&gt;&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 2: Create content with an image field&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328037792046.png&quot; alt=&quot;tutuploadsmedia_1328037792046.png&quot; width=&quot;540&quot; height=&quot;111&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;In order to show images, you will need content with images.&lt;br/&gt;&lt;br/&gt;You can use the default &quot;Article&quot; content type if you wish. Go to Structure &amp;gt; Content types and make sure that you have a content type with an image field attached as in the image above. Then go to Add content and use that content type to create several content items with images attached.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 3: Create a view&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328037067831.png&quot; alt=&quot;tutuploadsmedia_1328037067831.png&quot; width=&quot;395&quot; height=&quot;455&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Views and click Add new view.&lt;br/&gt;&lt;br/&gt;The important part of the view is &quot;Create a block&quot;. Choose the JCarousel Display format and then click Continue &amp;amp; edit.&lt;br/&gt;&lt;br/&gt;The image below shows the settings you will need. If you followed our instructions when setting up the view, the only thing you might have to change here is the Fields. Click Add and add the Content: Image field to your view.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328038178103.png&quot; alt=&quot;tutuploadsmedia_1328038178103.png&quot; width=&quot;274&quot; height=&quot;302&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Save to complete the creation of your view.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 4: Place the block&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328037109070.png&quot; alt=&quot;tutuploadsmedia_1328037109070.png&quot; width=&quot;540&quot; height=&quot;327&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Blocks and place your new JCarousel block somewhere on your site.&lt;br/&gt;&lt;br/&gt;Once the block is live, it will look like the image below:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328038443124.png&quot; alt=&quot;tutuploadsmedia_1328038443124.png&quot; width=&quot;502&quot; height=&quot;137&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;The &lt;a href=&quot;http://drupal.org/project/jcarousel&quot;&gt;JCarousel project page on Drupal.org&lt;/a&gt; warns:&lt;br/&gt;&lt;br/&gt;&quot;You will almost certainly need to do custom CSS in your theme in order to use this module. The default CSS only supports 100 pixel square items. A basic understanding of CSS is therefor required to use this module.&quot;&lt;br/&gt;&lt;br/&gt;As you can see, the output here is 100 pixel square images.&lt;br/&gt;&lt;br/&gt;You will need to add some CSS for JCarousel to your theme in order to change this width. The original CSS is in /sites/all/modules/jcarousel/skins/default/jcarousel-default.css&lt;br/&gt;&lt;br/&gt;The width is being controlled by:&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div id=&quot;highlighter_184802&quot;&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;01.&lt;/code&gt;&lt;code&gt;.jcarousel-skin-default .jcarousel-item {&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;02.&lt;/code&gt;&lt;code&gt;padding: 0;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;03.&lt;/code&gt;&lt;code&gt;width: 100px;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;04.&lt;/code&gt;&lt;code&gt;height: 100px;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;05.&lt;/code&gt;&lt;code&gt;overflow: hidden;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;06.&lt;/code&gt;&lt;code&gt;border: 1px solid #CCC;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;07.&lt;/code&gt;&lt;code&gt;list-style: none;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;08.&lt;/code&gt;&lt;code&gt;background: #fff none;&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;code&gt;09.&lt;/code&gt;&lt;code&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;You can modify that and place it in your theme&#39;s CSS file.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/6751335341847532358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-use-jcarousel-module-for-drupal.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/6751335341847532358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/6751335341847532358'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-use-jcarousel-module-for-drupal.html' title='How to use the JCarousel Module for Drupal'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-8245650643645911900</id><published>2012-03-30T00:09:00.000-07:00</published><updated>2012-04-01T22:42:39.282-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Modules"/><category scheme="http://www.blogger.com/atom/ns#" term="Theme"/><title type='text'>How to Create Dropdown Menus in Drupal</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;No matter what CMS we&#39;re teaching, when we come to talking about themes and designs, one question always comes up quickly: &quot;How do I make a dropdown menu&quot;? Here&#39;s the answer to that question in Drupal.&lt;br/&gt;&lt;br/&gt;First, we are going to show you how to get your menu set up correctly. Second we&#39;re going to give you three different options for showing that menu to your visitors.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Setting Up the Dropdown Menus&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328643949622.png&quot; alt=&quot;tutuploadsmedia_1328643949622.png&quot; width=&quot;540&quot; height=&quot;221&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Menus. Click list links next to the menu you&#39;d like to use.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328644328522.png&quot; alt=&quot;tutuploadsmedia_1328644328522.png&quot; width=&quot;524&quot; height=&quot;187&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Click Add link and then create your link.&lt;br/&gt;&lt;br/&gt;Pay close attention to two options further down the page:&lt;br/&gt;&lt;br/&gt;- Enabled. Check this box.&lt;br/&gt;- Parent link. If you want this link to dropdown under another, here is where you choose the top-level link. In this example below, the link will drop down from under Home.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328644380136.png&quot; alt=&quot;tutuploadsmedia_1328644380136.png&quot; width=&quot;540&quot; height=&quot;204&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;When you&#39;re done, you&#39;ll see that the sub-links are indented under the top-level links.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645783324.png&quot; alt=&quot;tutuploadsmedia_1328645783324.png&quot; width=&quot;202&quot; height=&quot;169&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you&#39;re going to put dropdown links under existing menu links, don&#39;t forget to also open up those existing links and check the Show as expanded box.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 1: Using a Theme with Dropdown Menus&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328646997914.png&quot; alt=&quot;tutuploadsmedia_1328646997914.png&quot; width=&quot;238&quot; height=&quot;140&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;One thing that confuses some Drupal beginners is that not all themes have dropdown menus. In fact, none of the default Drupal 7 themes do so Bartik, Garland and Stark would not be the right choice in this case.&lt;br/&gt;&lt;br/&gt;For example, the main menu bar of the default Bartik theme will always look like the image above. And if you try to place the menu in a block, you&#39;ll only get an indented link as in the image below.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645760427.png&quot; alt=&quot;tutuploadsmedia_1328645760427.png&quot; width=&quot;223&quot; height=&quot;155&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;To get an easy-to-use dropdown menu you&#39;ll need a theme such as Marinelli: &lt;a href=&quot;http://drupal.org/project/marinelli&quot;&gt;http://drupal.org/project/marinelli&lt;/a&gt;. Each theme will be slightly different in how the dropdown menus are setup but Marinelli is a good example.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328644936117.png&quot; alt=&quot;tutuploadsmedia_1328644936117.png&quot; width=&quot;540&quot; height=&quot;257&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Install Marinelli and make it the default theme on your site.&lt;br/&gt;&lt;br/&gt;Under the Apperance tab, click Configure next to Marinelli and scroll down. Under Primary Menu Settings, select Mega Drop Down.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645228108.png&quot; alt=&quot;tutuploadsmedia_1328645228108.png&quot; width=&quot;380&quot; height=&quot;211&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Now when you check your site, you&#39;ll have working dropdown menus as in the image below.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645302561.png&quot; alt=&quot;tutuploadsmedia_1328645302561.png&quot; width=&quot;281&quot; height=&quot;181&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2: Use a Module&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;A second way to get dropdown menus on your Drupal site is to use a module. Nice Menus is very common choice and then one we&#39;ll use in this tutorial: &lt;a href=&quot;http://drupal.org/project/nice_menus&quot;&gt;http://drupal.org/project/nice_menus&lt;/a&gt;. Another very popular choice is Superfish &lt;a href=&quot;http://drupal.org/project/superfish&quot;&gt;http://drupal.org/project/superfish&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645453517.png&quot; alt=&quot;tutuploadsmedia_1328645453517.png&quot; width=&quot;540&quot; height=&quot;235&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Install the Nice Menus module and enable it.&lt;br/&gt;&lt;br/&gt;Go to Structure &amp;gt; Blocks and place one of the two Nice Menu blocks into a region of your site.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645725343.png&quot; alt=&quot;tutuploadsmedia_1328645725343.png&quot; width=&quot;540&quot; height=&quot;149&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You can also click Configure next to one of the Nice Menu blocks and you&#39;ll be able to take some control over the menu settings.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645886530.png&quot; alt=&quot;tutuploadsmedia_1328645886530.png&quot; width=&quot;463&quot; height=&quot;304&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Once the menu is live on your site, it will look like the image below.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328645941153.png&quot; alt=&quot;tutuploadsmedia_1328645941153.png&quot; width=&quot;378&quot; height=&quot;122&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;You might not want the menu in the sidebar as in this example, so check to see which regions are available to you in current theme. Go to Structure &amp;gt; Blocks &amp;gt; Demonstrate block regions and you&#39;ll see your choices:&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1328646054907.png&quot; alt=&quot;tutuploadsmedia_1328646054907.png&quot; width=&quot;540&quot; height=&quot;306&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 3: Change the Code of Your Theme&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Finally, if you have some coding knowledge, you can modify the theme that you&#39;re using to include dropdown menus.&lt;br/&gt;&lt;br/&gt;The quickest way to do this would be to take advantage of one of the modules mentioned in Option 2 such as Nice Menus or Superfish.&lt;br/&gt;&lt;br/&gt;Here is one step-by-step example of how you can add a Superfish dropdown menu to the Bartik theme: &lt;a href=&quot;http://drupal.org/node/1073298&quot;&gt;http://drupal.org/node/1073298&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/8245650643645911900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-create-dropdown-menus-in-drupal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/8245650643645911900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/8245650643645911900'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-create-dropdown-menus-in-drupal.html' title='How to Create Dropdown Menus in Drupal'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1794377403694684603.post-449769964451647569</id><published>2012-03-30T00:05:00.000-07:00</published><updated>2012-04-01T22:42:39.264-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drupal"/><title type='text'>How to Set Up Drupal Multi-sites</title><content type='html'>&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Multi-sites is a Drupal feature that makes managing many websites easier.&lt;br/&gt;&lt;br/&gt;The idea with multi-sites is that you can use a single codebase for more than one website. When you update that single codebase, you update all of your Drupal sites. Each site can still have its own theme, modules and content.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;With multi-sites you can have many sites with one database, or many sites with different databases.  In this tutorial we will chose to have multiple sites, each with their own database.&lt;br/&gt;&lt;br/&gt;We&#39;re going to set up one core installation, and share those files with two sub-sites. Each sub-site will share those files but have its own URL and its own database. In this tutorial I&#39;m going to set up two sub-sites with different URLs:&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;&lt;strong&gt;Master site: &lt;/strong&gt;http://easywebupdate.com&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;strong&gt;Sub-site 1&lt;/strong&gt;: http://edandrea.com&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;&lt;strong&gt;Sub-site 2&lt;/strong&gt;: http://edsparty.com&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;Setting up multi-sites is not an easy task for beginners. To make it easier, we&#39;re going to show you how to use your hosting account with cPanel to get this done more easily. If you aren&#39;t using a commercial host with cPanel, your setup process will be slightly different.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 1. Choose your master domain name&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;Your first step is to hoose the URL that will host your main site. As we mentioned, in this example, our main URL will be http://easywebupdate.com.&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;This doesn&#39;t have to be an important URL. Unless you decide you want it to, this one won&#39;t be used by anyone but you. It&#39;s only going to hold the master copy of your Drupal installation.&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;It is worth nothing however that this site might be visible if one of your sub-sites fails. So it would be a good idea if your master site had a page with your contact information and a message.&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 2. Start out by creating databases for all the sub-sites&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to MySQL in cPanel or use the database wizard to create databases for each site you want to add.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Be sure to add database users with full privileges to each database. If you want to maximise security, create a new database user for each database. In the example below, I named the databases the same as the URLs. This is recommended on a live site, but it does makes it easy for me to refer to them in the tutorial.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332372657629.png&quot; alt=&quot;tutuploadsmedia_1332372657629.png&quot; width=&quot;540&quot; height=&quot;399&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 3. Install Drupal in your master URL directory&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Install Drupal in your /public_html/ directory.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Visit the URL (in this case http://easywebupdate.com) and step through the Drupal installation.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Use the master database connection information when the install script asks for it.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332354346780.png&quot; alt=&quot;tutuploadsmedia_1332354346780.png&quot; width=&quot;540&quot; height=&quot;461&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 4. Create a sub-folder for each sub-site.&lt;/h3&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Create a folder under public_html/sites/subsite.com. Substitute the URL you are going to use.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332373988030.png&quot; alt=&quot;tutuploadsmedia_1332373988030.png&quot; width=&quot;507&quot; height=&quot;188&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Create one folder for each sub-site.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Now copy default.settings.php to each one.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;CHMOD those files to 644 if they aren&#39;t already.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;If you are doing multi-sites for Drupal 6, you should also create an additional folder called &quot;files&quot; and make sure it&#39;s CHMOD 755.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332374012859.png&quot; alt=&quot;tutuploadsmedia_1332374012859.png&quot; width=&quot;266&quot; height=&quot;189&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 5. Upload or copy default.settings.php to the new folders&lt;/h3&gt;&lt;br/&gt;You now need to add default.settings.php to your new folders. The image below shows how file structure looks in Filezilla that makes it a little more obvious.&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;If it is Drupal 6, create a files directory with the path sites/domain.com/files/. You don&#39;t need this extra directory here for Drupal 7.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Copy or upload default.settings.php to the folder.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Rename it to settings.php.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332374565075.png&quot; alt=&quot;tutuploadsmedia_1332374565075.png&quot; width=&quot;540&quot; height=&quot;251&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;We are now finished with the Drupal master site. The next part is more complicated because we have to make sure the domain names are correct. Luckily cPanel can do this easily for beginners. We&#39;ll show you that method first. There is a manual method, but it involves making changes in Apache files and this is probably beyond beginner-intermediate skills required of this tutorial.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 6. Return to cPanel&lt;/h3&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;On the main cPanel dashboard, find the Domains section and click Parked Domains.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332375283418.png&quot; alt=&quot;tutuploadsmedia_1332375283418.png&quot; width=&quot;540&quot; height=&quot;123&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 7. Add the domain&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Park the domains on top of the master domain.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;When you park a domain, the domain needs to be pointed at the DNS servers for your hosting account. If you don&#39;t know how to do this, the proper place to get information is from the domain name registrar. If you don&#39;t know who your registrar is, you get that information your hosting company.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332375638592.png&quot; alt=&quot;tutuploadsmedia_1332375638592.png&quot; width=&quot;532&quot; height=&quot;385&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 8. Go to your browser and visit the URL&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332375936533.png&quot; alt=&quot;tutuploadsmedia_1332375936533.png&quot; width=&quot;540&quot; height=&quot;261&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;In your browser address bar, type the url to your second or third site.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Install Drupal by following the prompts.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Step 9. Connect to the proper database&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332376154830.png&quot; alt=&quot;tutuploadsmedia_1332376154830.png&quot; width=&quot;540&quot; height=&quot;292&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;When prompted, enter the database information for this specific site.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Result&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332376922412.png&quot; alt=&quot;tutuploadsmedia_1332376922412.png&quot; width=&quot;540&quot; height=&quot;505&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Three sites, each with their own theme, each with their own modules, all on the same hosting account. To create another site, I just repeat the process. Using cPanel&#39;s parking feature, I was able to avoid the need to make changes to Apache, and the need to make symbolic links or redirects in the .htaccess file.&lt;br/&gt;&lt;br/&gt;There is another way to do it that is almost as simple, but if you want to try it you will learn a little more since it involves creating a symbolic link. We&#39;ll give you the code to paste into your site and walk you through it.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2: Quick ways to set up Drupal multi-sites with cPanel Sub-Domains&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Go through Steps 1 through 3 of this tutorial. Everything is the same up to that point. In Step 4 you take a slight detour and so Option 2 starts from that point on.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2, Step 4: Create directories for each domain with the convention subdomain.domain.com&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332378791796.png&quot; alt=&quot;tutuploadsmedia_1332378791796.png&quot; width=&quot;540&quot; height=&quot;404&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Create folders for each site you want to create.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Create the folder names with this convention subdomain.domain.com.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Upload or copy default.settings.php to each directory.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Change the name of each copy to settings.php.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Return to cPanel home.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2, Step 5: Create subdomains&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332382035356.png&quot; alt=&quot;tutuploadsmedia_1332382035356.png&quot; width=&quot;523&quot; height=&quot;114&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Go to the Domains section and click Subdomains.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332382168695.png&quot; alt=&quot;tutuploadsmedia_1332382168695.png&quot; width=&quot;540&quot; height=&quot;367&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;The correct directory structure is pictured below:&lt;br/&gt;&lt;ol&gt;&lt;br/&gt;	&lt;li&gt;The directories created by cPanel.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;The directories created by you.&lt;/li&gt;&lt;br/&gt;&lt;/ol&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332382407419.png&quot; alt=&quot;tutuploadsmedia_1332382407419.png&quot; width=&quot;301&quot; height=&quot;302&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2, Step 6: Write a simple php script to create a symlink&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;In a script editor create a file called &lt;strong&gt;mysymlink.php&lt;/strong&gt; and put the following code into it.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;pre&gt; &amp;lt;?php&lt;br/&gt;symlink( &#39;/home/cPanel_User_Name/public_html/&#39;, &#39;subdomain&#39; );&lt;br/&gt;?&amp;gt;&lt;/pre&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;In my case the file would look like this&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;pre&gt; &amp;lt;?php&lt;br/&gt;symlink(&#39;/home/myuserdirectory/public_html/&#39;,&#39;edandrea&#39;);&lt;br/&gt;symlink(&#39;/home/myuserdirectory/public_html/&#39;,&#39;edsparty&#39;);&lt;br/&gt;?&amp;gt;&lt;/pre&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2, Step 7: Upload the symlink script to the main directory&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;To run it go to your browser address bar and type in your url and the name of the file.&lt;br/&gt;&lt;br/&gt;http://example.com/mysymlink.php&lt;br/&gt;&lt;br/&gt;If all goes well you will see a completely blank page. If you made a mistake in the file you will see error messages.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;img src=&quot;http://www.ostraining.com/cdn/images/stories/tutuploadsmedia_1332383456174.png&quot; alt=&quot;tutuploadsmedia_1332383456174.png&quot; width=&quot;523&quot; height=&quot;97&quot; /&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2, Step 8: Add redirection to your .htaccess file&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Open your .htaccess file in a script editor&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Find the line # RewriteBase/ and remove the # sing.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Add the following line and save the changes&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;pre&gt; RedirectMatch 301 ^/subdomain/(.*)$ http://subdomain.yoursite.com $1&lt;/pre&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Here&#39;s what my .htaccess looked like when finished:&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;pre&gt; RewriteBase / RedirectMatch 301 ^/edandrea/(.*)$ http://edandrea.easywebupdate.com/$1 RedirectMatch 301 ^/edsparty/(.*)$http://edsparty.easywebupdate.com/$1&lt;/pre&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;This redirection will make it so the site can be accessed in two ways.&lt;br/&gt;&lt;br/&gt;http://easywebupdate.com/edsparty and http://edsparty.easywebupdate.com will both be redirected to the same site.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;h3&gt;Option 2, Step 9: Visit your subdomain and complete the installation&lt;/h3&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;If you did everything right, you can visit your subdomain and you will now be asked to install Drupal in your subdomain.&lt;br/&gt;&lt;h3&gt;More on Drupal Multi-sites&lt;/h3&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;What you&#39;ve seen in this tutorial is just the beginning of the possibilities with Drupal Multi-Sites. There are many optional ways to arrange the code and the data:&lt;br/&gt;&lt;ul&gt;&lt;br/&gt;	&lt;li&gt;Multiple domains or vhosts using different databases.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Multiple domains using the same database.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Multi-site setup using a single Drupal instance.&lt;/li&gt;&lt;br/&gt;	&lt;li&gt;Same codebase, completely different content and users.&lt;/li&gt;&lt;br/&gt;&lt;/ul&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;One security concernt to note is that Drupal&#39;s multi-site feature is normally used in situations where the administrators for all of the sites are highly trusted. The reason is that anyone with full administrative privileges on a Drupal site can execute arbitrary PHP code on that site through various means, even without FTP access to the site. That arbitrary PHP code could be used from one site to affect another site if the two sites are in the same HTTP document root and share the same Drupal codebase. For more information: &lt;a href=&quot;http://drupal.org/node/476544&quot; target=&quot;_blank&quot;&gt;http://drupal.org/node/476544&lt;/a&gt; and &lt;a href=&quot;http://drupal.org/node/1244642&quot; target=&quot;_blank&quot;&gt;http://drupal.org/node/1244642.&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://drupallovers.blogspot.com/feeds/449769964451647569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-set-up-drupal-multi-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/449769964451647569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1794377403694684603/posts/default/449769964451647569'/><link rel='alternate' type='text/html' href='http://drupallovers.blogspot.com/2012/03/how-to-set-up-drupal-multi-sites.html' title='How to Set Up Drupal Multi-sites'/><author><name>Santosh Sarkar</name><uri>http://www.blogger.com/profile/01665013822338452225</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>