tag:blogger.com,1999:blog-60234128417102652242024-03-14T21:23:08.443+05:30Valecha TechSpreading the KnowledgeNaveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-6023412841710265224.post-9920270164141052732015-12-09T14:52:00.000+05:302015-12-09T23:06:59.392+05:30Drupal Camp Distribution: First Beta Release<div dir="ltr" id="docs-internal-guid-e769befc-860b-7037-23ab-dfa6b95abc15" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<a href="http://www.drupal.org/project/drupalcamp" style="text-decoration: none;"><span style="color: #1155cc; font-size: 16px; text-decoration: underline; vertical-align: baseline;">DrupalCamp</span></a><span style="font-size: 16px; vertical-align: baseline;"> is the distribution, for spinning up camp sites. Lately, as always :), I was part of the site building team at a local camp in India and after working with the team, found that all the sites were/are having similar content architecture e.g. content types, listing pages etc., except their themes and designs.</span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; vertical-align: baseline;">While sprinting at DrupalCamp Pune, we decided to build a site for DrupalCamp Delhi. While sprinting we realised we need a common code/feature base for camp sites. And there we started building distribution in D8. The time we started making this distribution profile Drupal 8 was in beta 16 and we are hoping to make first release candidate soon.</span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; vertical-align: baseline;">Drupalcamp comes up with the 2 contributed modules fb_likebox, twitter_block for the facebook and twitter share blocks in sidebar.</span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; font-weight: 700; vertical-align: baseline;">Configurations that this installation profile provides</span><span style="font-size: 16px; vertical-align: baseline;"> </span><span style="font-size: 16px; font-weight: 700; vertical-align: baseline;">are</span><span style="font-size: 16px; vertical-align: baseline;">:</span></div>
<br />
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="font-size: 16px; list-style-type: decimal; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-weight: 700; vertical-align: baseline;">Content types</span></div>
</li>
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="font-family: Arial; font-size: 14.6667px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: 'Times New Roman'; font-size: 16px; font-weight: 700; vertical-align: baseline;">Basic Page</span><span style="font-family: 'Times New Roman'; font-size: 16px; vertical-align: baseline;"> : For creating basic pages like about us,etc. on the site.</span></div>
</li>
<li dir="ltr" style="font-family: Arial; font-size: 14.6667px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: 'Times New Roman'; font-size: 16px; font-weight: 700; vertical-align: baseline;">Session</span><span style="font-family: 'Times New Roman'; font-size: 16px; vertical-align: baseline;"> : This is used for creating/submitting sessions.</span></div>
</li>
<li dir="ltr" style="font-family: Arial; font-size: 14.6667px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: 'Times New Roman'; font-size: 16px; font-weight: 700; vertical-align: baseline;">Sponsor</span><span style="font-family: 'Times New Roman'; font-size: 16px; vertical-align: baseline;"> : This is used to keep information about the sponsors.</span></div>
</li>
</ol>
<li dir="ltr" style="font-size: 16px; font-weight: 700; list-style-type: decimal; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Listings (Views):</span></div>
</li>
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="font-size: 16px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Accepted Sessions</span></div>
</li>
<li dir="ltr" style="font-size: 16px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Proposed Sessions</span></div>
</li>
<li dir="ltr" style="font-size: 16px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Sponsors</span></div>
</li>
<li dir="ltr" style="font-size: 16px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Students.</span></div>
</li>
</ol>
<li dir="ltr" style="font-size: 16px; font-weight: 700; list-style-type: decimal; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Social sharing buttons:</span></div>
</li>
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="font-size: 16px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">facebook</span></div>
</li>
<li dir="ltr" style="font-size: 16px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">twitter</span></div>
</li>
</ol>
<li dir="ltr" style="font-size: 16px; font-weight: 700; list-style-type: decimal; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Blocks: </span></div>
</li>
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="font-family: Arial; font-size: 14.6667px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: 'Times New Roman'; font-size: 16px; vertical-align: baseline;">facebook</span></div>
</li>
<li dir="ltr" style="font-family: Arial; font-size: 14.6667px; list-style-type: lower-alpha; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: 'Times New Roman'; font-size: 16px; vertical-align: baseline;">twitter</span></div>
</li>
</ol>
</ol>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; vertical-align: baseline;">We need to just use the drupalcamp profile and theme the site.</span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; font-weight: 700; vertical-align: baseline;">Challenges that came up while building this profile</span><span style="font-size: 16px; vertical-align: baseline;"> : </span></div>
<br />
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="font-size: 16px; list-style-type: decimal; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="vertical-align: baseline;">Contributed modules : The contributed modules stable release was not out so ported the fb_likebox, twitter_block module to drupal 8 and created the stable release of </span><a href="http://www.drupal.org/project/fb_likebox" style="text-decoration: none;"><span style="color: #1155cc; text-decoration: underline; vertical-align: baseline;">fb_likebox</span></a><span style="vertical-align: baseline;">. Special thanks to the maintainer </span><a href="https://www.drupal.org/u/baekelandt" style="text-decoration: none;"><span style="color: #1155cc; text-decoration: underline; vertical-align: baseline;">baekelandt</span></a><span style="vertical-align: baseline;"> for quick promptness.</span></div>
</li>
<li dir="ltr" style="font-size: 16px; list-style-type: decimal; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="text-decoration: line-through; vertical-align: baseline;">There was no tool available which will provide the boilerplate code</span><span style="vertical-align: baseline;">, so we started with forking the standard profile and used the config-export to export the configurations. </span><span style="font-style: italic; vertical-align: baseline;">Now with the drupalconsole 0.9.9 we have </span><a href="https://github.com/hechoendrupal/DrupalConsole/releases/tag/0.9.9" style="text-decoration: none;"><span style="color: #1155cc; font-style: italic; text-decoration: underline; vertical-align: baseline;">generate profile</span></a><span style="font-style: italic; vertical-align: baseline;"> command available to generate the boilerplate code</span><span style="vertical-align: baseline;">. Used the phing to automate the testing as sam specified in its </span><a href="https://codedrop.com.au/blog/test-driving-drupal-8-writing-install-profile" style="text-decoration: none;"><span style="color: #1155cc; text-decoration: underline; vertical-align: baseline;">blog</span></a><span style="vertical-align: baseline;">.</span></div>
</li>
</ol>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; vertical-align: baseline;">Thanks to the entire Drupalcamp Distribution Team!</span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 16px; font-weight: 700; vertical-align: baseline;">What's Next ?</span></div>
<br /><span style="font-size: 16px; vertical-align: baseline;">Please join hands to release the stable version for </span><a href="https://www.drupal.org/project/twitter_block" style="text-decoration: none;"><span style="color: #1155cc; font-size: 16px; text-decoration: underline; vertical-align: baseline;">twitter_block</span></a><span style="font-size: 16px; vertical-align: baseline;"> and include this stable release in the drupalcamp distribution.</span><br />
<div>
<br /></div>
Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-7619570442358481372015-12-07T16:51:00.000+05:302015-12-07T16:51:31.393+05:30Verify your place/business at google maps<br />
Google Maps is a service provided by google that shows the buildings/places in maps.<br />
<br />
<br />
<b>How to add your place on google maps</b> :<br />
<br />
<ol>
<li>Go to <a href="https://www.google.co.in/mapmaker" rel="nofollow" target="_blank">https://www.google.co.in/mapmaker</a></li>
<li>Click on the Add New as shown in the screenshot below.</li>
<li><img border="0" height="152" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg86lYWPDXva2-Nc2AzqnZRaRUDF1EUG0LmfaWi_j1nyyCy6MMloHxhBcGjO67geDMfOA9HJYz99mJnCItAofjLkMM0Aw_xBrcVBUv0e4v1VUiyBTAw1aprFCpsR63KrKWBek55DVJfRu4/s320/google-mapmaker-add-new.png" width="320" /></li>
<li>Points the pointer to the exact place. </li>
<li>Select the Category of the business and choose the name as you want to display in google maps.See in the screenshot in below for more information.</li>
<li><img border="0" height="151" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0fh6uieuz_q2QHX3z1OuZ7BjaEFYL2Kl_VAlktM-bZTDTnIsAdr4XT2WCzQgfqaGFpfydry21qA8vmV7LmNpUZqWXpIrRsEULN3YF2tNUfbJxE5nBIW6dfRmvOHo7AOLJ9lqUP1ajFwg/s320/google-mapmaker-category-business.png" width="320" /></li>
<li>Its done. Wait for approval for few days. :)
</li>
</ol>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0Taraori, Haryana 132116, India29.7996282 76.92397269999992229.744509700000002 76.843291699999924 29.8547467 77.00465369999992tag:blogger.com,1999:blog-6023412841710265224.post-42393418217747679672015-03-07T10:34:00.001+05:302015-03-14T08:03:01.630+05:30Tips to become a git administer at drupal.org<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Previously we read <a href="http://blog.valechatech.com/2015/01/tips-to-be-webmaster-on-drupalorg.html">how to be a webmaster at drupal.org</a> , Now</span><span style="font-family: Verdana, sans-serif;"> I became the </span><a href="https://www.drupal.org/node/2445643" style="font-family: Verdana, sans-serif;" target="_blank">git administer</a><span style="font-family: Verdana, sans-serif;"> at drupal.org</span><span style="background-color: white; font-family: Verdana, sans-serif;"><span style="color: #333333;"><span style="line-height: 24.2857151031494px;">. So I think to write a blog post so that others can benefit and also get to know how to become git administer.</span></span></span><br />
<span style="background-color: white; font-family: Verdana, sans-serif;"><span style="color: #333333;"><span style="line-height: 24.2857151031494px;"><br /></span></span></span>
<span style="font-family: Verdana, sans-serif;"><span style="background-color: white; color: #333333; line-height: 24.2857151031494px;">In simple words: "Start Contributing". Git Administer privileges are granted to the users with proven record of contributions in the <a href="https://www.drupal.org/project/issues/projectapplications">Project Applications issue queue</a>. A solid history of consistent contributions on drupal.org is a must to get consideration for an elevated role.</span></span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><b style="color: #333333; line-height: 24.2857151031494px;">How to start contributing</b><span style="background-color: white; color: #333333; line-height: 24.2857151031494px;"> <b>& where you can contribute</b> :</span></span><br />
<br />
<ol>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;"><span style="color: #222222; line-height: normal;">Join the <a href="https://groups.drupal.org/code-review">code review group</a></span></span></span></li>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;"><span style="color: #222222; line-height: normal;">Read <a href="https://www.drupal.org/node/894256">How to review full project applications</a></span></span></span></li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="background-color: white;">Some helpful tools for reviewing :</span></span><ul>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;"><span style="color: #222222; line-height: normal;"><a href="https://groups.drupal.org/node/427683">Use the Review template</a> it will cover all the things during the review.</span></span></span></li>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;"><span style="color: #222222; line-height: normal;"><a href="http://pareview.sh/">Automated Review tool</a></span></span></span></li>
</ul>
</li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="background-color: white;">Learning Sources : </span></span><ul>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;"><span style="color: #222222; line-height: normal;">See the project applications that have <a href="https://www.drupal.org/project/issues/search?issue_tags=PAReview%3A%20security">Security issues</a></span></span></span></li>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;">See the Reviews done by previous git administers <a href="https://groups.drupal.org/node/413903">mpdonadio</a>, <a href="https://groups.drupal.org/node/434943">er.pushpinderrana</a>, <a href="https://groups.drupal.org/node/421748">heddn</a> or <a href="https://groups.drupal.org/node/439043">myself</a>.</span></span></li>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;">Read the <a href="https://api.drupal.org/api/drupal/7">drupal apis</a> thoroughly.</span></span></li>
</ul>
</li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="background-color: white;">if you found any problem while contributing,just comment on the below post/ if you need immediate answer </span></span><span style="background-color: white; color: #222222; font-family: Verdana, sans-serif; line-height: 17.9999942779541px;">you can try and find one of the <a href="https://groups.drupal.org/node/142454">git administer</a> on </span><a href="https://www.drupal.org/irc" style="background-color: white; border: 0px; box-sizing: border-box; color: #0678be; font-family: Verdana, sans-serif; font-stretch: inherit; line-height: 17.9999942779541px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">IRC</a><span style="background-color: white; color: #222222; font-family: Verdana, sans-serif; line-height: 17.9999942779541px;"> - #drupal-codereview IRC channel on Freenode.</span></li>
</ol>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;"><br /></span></span>
<span style="font-family: Verdana, sans-serif;"><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;">Benifits of becoming git administer :</span></span><br />
<br />
<ol>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="line-height: 17.9999942779541px;">You will see a new challenging case in every new project application.</span></span></li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="line-height: 17.9999942779541px;">Your drupal apis knowledge will become sharp.</span></span></li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="line-height: 17.9999942779541px;">Many more....</span></span></li>
</ol>
<br />
<span style="font-family: Verdana, sans-serif;"><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;">I would encourage you to learn more about that process and join the </span><a href="http://groups.drupal.org/code-review" rel="nofollow" style="background-color: white; border: 0px; box-sizing: border-box; color: #0678be; font-stretch: inherit; line-height: 17.9999942779541px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">group of reviewers</a><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;">.</span></span></div>
<div>
<span style="color: #222222; font-family: Verdana, sans-serif;"><span style="font-size: 12.8000001907349px;"><br />
</span></span></div>
<span style="color: #222222; font-family: Verdana, sans-serif;">Next article: A guide to review project applications</span>Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-39449950747335451342015-02-23T20:21:00.000+05:302015-02-23T20:21:24.294+05:30Hack Proof your drupal site<br />
<span style="font-family: Verdana, sans-serif;">Security of the Drupal website is a important stuff for the site owners, site developers.</span><span style="font-family: Verdana, sans-serif;">This blog post has my presentation at the <a href="http://2015.drupalmumbai.org/drupalcamp-mumbai/sessions/hack-proof-your-drupal-site" target="_blank">Drupal Camp Mumbai</a> that intended for Drupalers who want to avoid security loop holes while writing code or architecting solutions. We delved into common security issues that ails custom code and has both vulnerable and secure code snippets.This is mostly about my encounters and experience after doing <a href="https://groups.drupal.org/node/439043" target="_blank">50+ project application reviews</a> and also a good guideline for new contributors.</span><br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="355" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/44374487" style="border-width: 1px; border: 1px solid #CCC; margin-bottom: 5px; max-width: 100%;" width="625"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="https://www.slideshare.net/NaveenValecha1/dcm-2015" target="_blank" title="Hack Proof Your Drupal Site">Hack Proof Your Drupal Site</a> </strong> from <strong><a href="https://www.slideshare.net/NaveenValecha1" target="_blank">Naveen Valecha</a></strong> <br />
<br />
<br />
<span style="color: #222222; font-family: Verdana, sans-serif;">Next article: A guide to review Project Applications.</span></div>
<br />Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com1tag:blogger.com,1999:blog-6023412841710265224.post-80350057052494887642015-01-28T16:46:00.000+05:302015-03-07T10:34:44.437+05:30Tips to become a webmaster on drupal.org<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">As recently I became the <a href="https://www.drupal.org/node/2410105" target="_blank">webmaster</a> on the drupal.org <span style="background-color: white;"><span style="color: #333333;"><span style="line-height: 24.2857151031494px;">and few people started asking me about how to become a webmaster and where to start. So I write a blog post so that others can benefit.</span></span></span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="background-color: white; color: #333333; line-height: 24.2857151031494px;">In simple words: "Start Contributing". Webmaster privileges aren't granted lightly for obvious reasons. A solid history of consistent contributions on drupal.org is a must to get consideration for an elevated role.</span></span><br />
<b style="color: #333333; line-height: 24.2857151031494px;"><span style="font-family: Verdana, sans-serif;"><br /></span></b>
<span style="font-family: Verdana, sans-serif;"><b style="color: #333333; line-height: 24.2857151031494px;">How to start contributing</b><span style="background-color: white; color: #333333; line-height: 24.2857151031494px;"> <b>& where you can contribute</b> :</span></span><br />
<br />
<br />
<ol>
<li><span style="color: #333333; font-family: Verdana, sans-serif;"><span style="background-color: white; line-height: 24.2857151031494px;"><span style="color: #222222; line-height: normal;">Help out in the content queue, especially reviewing <a href="https://www.drupal.org/project/issues/content?component=Services+listing" target="_blank">Service Listing requests</a> .<a href="https://www.drupal.org/node/1710338" target="_blank">Marketing guidelines for reviewing the service listing requests</a>.</span></span></span></li>
<li><span style="font-family: Verdana, sans-serif;"><a href="https://www.drupal.org/project/issues/content?component=Training+listing" style="background-color: white;" target="_blank">Training Listing requests</a><span style="color: #222222;"><span style="background-color: white;">, <a href="https://www.drupal.org/node/1735864" target="_blank">Marketing guidelines to review training listing requests</a>.</span></span></span></li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="background-color: white;">Help out in the webmasters queue, <a href="https://www.drupal.org/project/issues/webmasters?component=Textual+improvements" target="_blank">Textual improvements</a> requests.</span></span></li>
<li><span style="color: #222222; font-family: Verdana, sans-serif;"><span style="background-color: white;">Depending on your skills, you can also contribute to <a href="https://www.drupal.org/project/issues/drupalorg?categories=All" target="_blank">drupal customizations</a> as well.</span></span></li>
<li><span style="font-family: Verdana, sans-serif;"><span style="color: #222222;"><span style="background-color: white;">if you found any problem while contributing to above sections,just comment on the below post/ if you need immediate answer </span></span><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;">you can try and find one of the webmasters on </span><a href="https://www.drupal.org/irc" style="background-color: white; border: 0px; box-sizing: border-box; color: #0678be; font-stretch: inherit; line-height: 17.9999942779541px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">IRC</a><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;"> - #drupalorg IRC channel on Freenode.</span></span></li>
</ol>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;">If you need guidance, join the </span><a href="irc://irc.freenode.net/drupalorg" rel="nofollow" style="background-color: white; border: 0px; box-sizing: border-box; color: #0678be; font-stretch: inherit; line-height: 17.9999942779541px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">#drupalorg</a><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;"> IRC channel and find <a href="https://www.drupal.org/u/dddave" target="_blank">dddave</a>, <a href="https://www.drupal.org/u/lizzjoy" target="_blank">lizzjoy</a>, <a href="https://www.drupal.org/u/tvn" target="_blank">tvn</a> or <a href="https://www.drupal.org/u/naveenvalecha" target="_blank">myself</a>. </span></span><span style="background-color: white; color: #222222; font-family: Verdana, sans-serif; line-height: 17.9999942779541px;">A general overview about the various ways to contribute to Drupal.org can be found </span><a href="https://www.drupal.org/contribute/drupalorg" style="background-color: white; font-family: Verdana, sans-serif; line-height: 17.9999942779541px;" target="_blank">in the documentation</a><span style="background-color: white; color: #222222; font-family: Verdana, sans-serif; line-height: 17.9999942779541px;">.</span></div>
<div>
<span style="background-color: white; color: #222222; line-height: 17.9999942779541px;"><span style="font-family: Verdana, sans-serif;"><br /></span></span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><span style="color: #222222;">If you have good coding skills, you are more than welcome to help reviewing project applications.</span><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;"> I encourage you to learn more about that process and join the </span><a href="http://groups.drupal.org/code-review" rel="nofollow" style="background-color: white; border: 0px; box-sizing: border-box; color: #0678be; font-stretch: inherit; line-height: 17.9999942779541px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">group of reviewers</a><span style="background-color: white; color: #222222; line-height: 17.9999942779541px;">.</span></span></div>
<div>
<span style="color: #222222; font-family: Verdana, sans-serif;"><span style="font-size: 12.8000001907349px;"><br /></span></span></div>
<span style="color: #222222; font-family: Verdana, sans-serif;">Next article: We will look at <a href="http://blog.valechatech.com/2015/03/tips-to-be-git-administer-on-drupalorg.html">how to be a git administrator on drupal.org</a></span><br />
<br />Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-39063390156012962662015-01-23T08:00:00.002+05:302015-01-28T23:43:54.249+05:30Trust a major strategy in Security<br />
<span style="font-family: Arial;"><span style="font-size: 15px; line-height: inherit; white-space: pre-wrap;">Was looking out some good English Speaking training course website for my </span><span style="font-size: 15px; white-space: pre-wrap;">cousin</span></span><span style="font-family: Arial; font-size: 15px; line-height: inherit; white-space: pre-wrap;"> to become a fluent English speaker.</span><br />
<span style="font-family: Arial; font-size: 15px; line-height: inherit; white-space: pre-wrap;"><br /></span>
<br />
<div style="text-align: center;">
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">On opening the homepage I found the section "Free trial".</span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsqVDDTxW3EhfXJvuB1DHlJeW8nyxlJr2oAcB4aQWeDKmN3xLf0XAzN1vb8OgoPC4IqMBf7PS46o1qYynAa232QPPX0y__12_lH8leK6a5pWUqzGeK_h7q024osldGg5QYE5ECndIMeDc/s1600/dailystep-freetrial.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsqVDDTxW3EhfXJvuB1DHlJeW8nyxlJr2oAcB4aQWeDKmN3xLf0XAzN1vb8OgoPC4IqMBf7PS46o1qYynAa232QPPX0y__12_lH8leK6a5pWUqzGeK_h7q024osldGg5QYE5ECndIMeDc/s1600/dailystep-freetrial.png" height="145" width="400" /></a></div>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">I did the same thing as all guys do.Click on the Free trial link,created my account.I personally feeling happy to get the 5 free audio English lessons.</span></span><br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">I clicked on one of my lessons link and come to the page, found the download link of the audio file.</span></span><br />
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4_d_Z_GKMZB-nG0zrJC3kfyKBMt86zvivlUxQdiMjHlE9sdO2E2uOBgd_B3h6ZerQHnsJPaKR7pFusrxHAO8ipGobbY0I_kahyphenhyphen1KBiQtjP4VSJ3cefSKl9CnhybQwxr3bUOoJzy2DDso/s1600/dailystep-downloadlink.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4_d_Z_GKMZB-nG0zrJC3kfyKBMt86zvivlUxQdiMjHlE9sdO2E2uOBgd_B3h6ZerQHnsJPaKR7pFusrxHAO8ipGobbY0I_kahyphenhyphen1KBiQtjP4VSJ3cefSKl9CnhybQwxr3bUOoJzy2DDso/s1600/dailystep-downloadlink.png" height="142" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Copied and pasted the url in the browser and the downloaded the file.</div>
<div class="separator" style="clear: both; text-align: left;">
<b>https://www.dailystep.com/en/download/file/fid/<i><span style="color: red;">13531</span></i></b></div>
<div class="separator" style="clear: both; text-align: left;">
Just change the <b>fid</b> in the url and tried to download some random file with file id.</div>
<div class="separator" style="clear: both; text-align: left;">
I thought what the Shit! </div>
<div class="separator" style="clear: both; text-align: left;">
I then look around which drupal module has provided this route.After checking I got to know that this is the <a href="http://cgit.drupalcode.org/download_file/tree/download_file.module" target="_blank">download file</a> module which provides this route.After checking I assume that it might be permission stuff problem.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I found the similar permission problem on the drupal.org as well <a href="https://www.drupal.org/node/2394993">https://www.drupal.org/node/2394993</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Trust is the Major Strategy in Security of any web application.We should be sure which user role we should assign which permissions.</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;"><i>Note: Published the post after suggesting the fix to the site owner Jane</i></span></span>Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-63277148532697629072014-11-10T16:34:00.002+05:302015-01-23T08:03:18.024+05:30Awesome weekend by porting a drupal 7 module to drupal 8<br />
I have recently joined <a href="http://www.qed42.com/" target="_blank">QE42</a> pune, As the drupal 8 module port code sprint will happen in<br />
QED42 on 8 November,2014 <a href="https://groups.drupal.org/node/448748">https://groups.drupal.org/node/448748</a> and It was postponed later and I was unaware of that.<br />
So I decided to port a module, so I picked a random project from the <a href="https://groups.drupal.org/node/439043" target="_blank">code reviews</a> done by me from project applications.<br />
So I picked <a href="https://www.drupal.org/project/anonymous_suggestion_box" target="_blank">Anonymous suggestion box</a> and ported the module code to drupal 8 and created its meta in the module issue queue <a href="https://www.drupal.org/node/2371803">https://www.drupal.org/node/2371803</a><br />
<br />
After that I have the time left for code writing so I decided to pick another one <a href="https://www.drupal.org/project/jquery_carousel" target="_blank">jquery carousel</a> and ported half of its code to drupal 8 <a href="https://www.drupal.org/node/2371855">https://www.drupal.org/node/2371855</a><br />
If anyone wants to join hands while porting this module then tweet me over twitter lets finish this before this week end and will take another one for next week end.<br />
<br />
Waiting for the <a href="https://groups.drupal.org/node/448748" target="_blank">postponed sprint</a> to meet #pune drupalers over there.<br />
<br />Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-1732327269012099732014-02-13T16:52:00.003+05:302014-02-13T16:52:56.040+05:30Facebook integeration with your website using jqueryTo integerate your website with facebook follow these steps :<br />
<ol>
<li>First Register your application on facebook by going to this url https://developers.facebook.com</li>
<li>After registering you got an application id like this <b>XXXXXXXXXXXXXXXX</b> and configure the domain in app settings.</li>
<li>Then run the html file after appending your domain like this : http://domain.com/fblogin.html</li>
<li>Then copy and paste the source code into the fblogin.html file.</li>
<li>Also replace the <b>appId</b> with your application id.</li>
<li>Enjoy.</li>
</ol>
Here is the link of source code : <a href="https://github.com/naveenvalecha/jquery-facebooklogin/tree/master" rel="nofollow">https://github.com/naveenvalecha/jquery-facebooklogin/tree/master</a><br />
<ol></ol>
Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-52030226600895261682013-10-29T13:28:00.002+05:302015-01-23T08:02:58.579+05:30Drupal site Performance tipsHere are some of the Performance tips for the Drupal site.<br />
<br />
<ol>
<li><b>APC : </b><a href="http://php.net/manual/en/book.apc.php" target="_blank">APC</a> (Alternative PHP Cache) is a PHP OP code cache. It is a very quick win when working with PHP and can offer a great performance boost when using Drupal. It is very much a “set it and forget it” type of application which can just be installed, enabled and left to do it’s thing.</li>
<li><b>Memcache : </b>Drupal's support for memcache is really good and easy to implement.There is a memcache drupal module(<a href="https://drupal.org/project/memcache">https://drupal.org/project/memcache</a>) to integerate the memcache on the site.</li>
<li><b>Varnish : </b>When you have a lot of anonymous users reverse proxy cache can save you a lot of server load. Varnish is one of the more popular solutions within the Drupal world. Varnish sits in front of your web server application, for example Apache, Nginx or lighttpd, and can run on the same server or a remote server.Use the varnish module to integrate the varnish on your site <a href="https://drupal.org/project/varnish">https://drupal.org/project/varnish</a></li>
<li><b>Boost : </b>Boost provides static page caching for Drupal enabling a very significant performance and scalability boost for sites that receive mostly anonymous traffic. For shared hosting this is your best option in terms of improving performance. On dedicated servers, you may want to consider Varnish instead. When the page is then requested it is loaded quickly, because it is coming straight from the disk and no PHP or MySQL processing is needed.See the Boost module here <a href="https://drupal.org/project/boost">https://drupal.org/project/boost</a></li>
<li><b>CDN</b> : A CDN is used to distribute static assets such as images, documents, CSS and JavaScript across many locations.The goal of a CDN is to serve content to end-users with high availability and high performance.There is a CDN drupal module(<a href="https://drupal.org/project/cdn">https://drupal.org/project/cdn</a>) to use the Content delivery Network.</li>
<li><b>Disable Database logging module</b> : This module logs the action performed on the site to the database.Use syslog module which is also in drupal core.Using syslog you can also write the more technical log entires to the server's standard log on the file system and save the database queries.</li>
<li><b>Enable Page & Block Cache </b>: Enable Drupal caching (Administer > Configuration > Performance). When enabled, Drupal will render the page and associated blocks once, and then save that result in the database. This can drastically reduce the number of database calls run on a page since the results are pre-rendered. Drupal’s caching engine is most effective for anonymous visitors – if your site is mostly “read only” and doesn’t have visitors logging in, caching can make a dramatic improvement in site load speed.</li>
<li><b>Increase Cache Lifetime : </b>An option for some sites may be to increase the cache lifetime. This determines how long Drupal will hold onto a cached result before it will re-generate the page. If you have frequently changing content, you may want to set the cache lifetime to only 5 minutes, but if your content doesn’t change often, an acceptable value may be several hours.The cache lifetime depends on your site usage.</li>
<li><b>Optimize JavaScript and CSS Files :</b> Enable the option of optimize javascript and CSS files in the performance settings. When enabled, Drupal will consolidate all CSS and JS files included on each page into a minimum files, and compress the code by removing whitespace. This will reduce the overall file size and improve page load speeds.if you need more aggeration of css and js files then use Advanced CSS/JS Aggregation module <a href="https://drupal.org/project/advagg">https://drupal.org/project/advagg</a></li>
<li><b>Disable Un-used Modules from the site .</b></li>
</ol>
<br />
<br />
if you have done all the performance tips written above and you are still getting the performance problems then either get the suggestions from the High performance drupal group <a href="https://groups.drupal.org/high-performance">https://groups.drupal.org/high-performance</a><br />
<br />
There are also some of the related performance related articles.See there links below<br />
<br />
<ol>
<li><a href="http://www.creativebloq.com/web-design/drupal-performance-tips-9122837">http://www.creativebloq.com/web-design/drupal-performance-tips-9122837</a></li>
</ol>
Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-39502251706748981332013-10-29T12:47:00.001+05:302015-01-23T08:02:58.565+05:30Drupal Service ProvidersThere are many service providers in the world that provide drupal related services.As per the drupal marketplace some of the providers are <b>Featured</b>(those which have an exceptional community contributions and show continued support of the <a href="http://drupal.org/" target="_blank">Drupal</a> project) and others are not Featured.See the Top 10 Featured service providers here <a href="https://drupal.org/drupal-services">https://drupal.org/drupal-services</a>.you can filter them according to the Services,location and sectors. <br />
<br />
When hiring a Drupal site developer it's important to understand what you need and where you can find the service provider with that set of skills.you can find the detail here <a href="https://drupal.org/node/51169">https://drupal.org/node/51169</a><br />
<br />
if you are getting some problem while hiring a Drupal Developer then feel free to contact me using my contact form.<br />
<br />Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-52225765190596421022013-09-08T16:43:00.000+05:302013-09-21T16:19:13.265+05:30New Relic Setup on Ubuntu 12.04<span style="font-family: Georgia, 'Times New Roman', serif;">In this article I will show you how to setup New Relic on Ubuntu 12.04 on linode.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;">First Login on <a href="http://newrelic.com/" rel="nofollow" target="_blank">Newrelic website</a> if you have an account unless Register with a email address.Then follow these steps : </span><br />
<ol><li><span style="font-family: Georgia, Times New Roman, serif;">Click on the <b>Applications</b> tab in the left sidebar on your dashboard.</span></li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Choose your language.</span></li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Click on Reveal license key button.</span></li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Select your Environment to Debian-based (Debian, Ubuntu, etc)</span></li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Then login to your server with root account</span></li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Get the key : <br />
<span class="code">wget -O - http://download.newrelic.com/548C16BF.gpg | sudo apt-key add -</span></span></li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Add newrelic repository:<br />
<span class="code">sudo sh -c 'echo "deb http://apt.newrelic.com/debian/ newrelic non-free" > /etc/apt/sources.list.d/newrelic.list'</span></span></li>
<li>Install the package and configure it: <br />
<span class="code">sudo apt-get update<br />
sudo apt-get install newrelic-php5<br />
sudo newrelic-install install</span></li>
<li>Stop and start your services .i.e. Restart your web servers: httpd, apache2, nginx, php-fpm, etc. </li>
<li><span style="font-family: Georgia, Times New Roman, serif;">Then Go to your dashboard on New Relic and click on <b>Connect to my application</b> button and it will show the data on your dashboard in approximately 5 minutes.</span></li>
</ol><div><span style="font-family: Georgia, Times New Roman, serif;">Note : if you got any error while installation either Email support@newrelic.com or follow the instructions here <a href="https://newrelic.com/docs/php/new-relic-for-php#installation">https://newrelic.com/docs/php/new-relic-for-php#installation</a></span><br />
<br />
In a default installation there should be no need to start the daemon manually using /etc/init.d/newrelic-daemon start. This is only needed in unique circumstances. The daemon should be started as needed by the agent when your web-server is restarted.<br />
<br />
After a restart, do the following:<br />
<span class="code">ps -aux | grep newrelic-daemon</span><br />
If things are running you should see to processes named newrelic-daemon.<br />
<br />
If these are not running then please locate your log files and send them to us. By default these files would be located at<br />
<span class="code"><br />
/var/log/newrelic/php_agent.log<br />
/var/log/newrelic/newrelic-daemon.log</span></div>Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0tag:blogger.com,1999:blog-6023412841710265224.post-32204168201019142242013-07-11T11:05:00.002+05:302015-01-23T08:02:58.557+05:30Create a node programmatically in drupal 7 with Reference fields<div dir="ltr" style="text-align: left;" trbidi="on">How to create the node programmatically in drupal 7 with Reference field modules either <a href="https://drupal.org/project/references" target="_blank">References</a> or <a href="https://drupal.org/project/entityreference%E2%80%8E" target="_blank">Entity Reference</a>(that is in <a href="https://drupal.org/project/drupal" target="_blank">drupal</a> 8 core now).<br />
<br />
Also find the below example of creating a simple node with page type with Title,Description and a Reference(References or Entity Reference) fields.<br />
<div class="code">$node = new stdClass();<br />
$node->uid = 1;<br />
$node->title = 'Title of the Field';<br />
$node->status = 1;<br />
$node->comment = 1; //Hidden the Comment on the node<br />
$node->promote = 1;<br />
$node->sticky = 0;<br />
$node->type = 'article';<br />
$node->created = '';<br />
$node->changed = '';<br />
$node->timestamp = '';<br />
$node->body['und'][0]['value'] = 'Full Story';<br />
$node->body['und'][0]['summary'] = 'Summary';<br />
$node->body['und'][0]['format'] = 'full_html';<br />
$node->revision = 0;<br />
$node->field_entity_reference['und'][0]['target_id'] = 50;<br />
//Here field_entity_reference is the name of the Entity Reference Field and 50 is the nid of the reference node.<br />
$nid = node_save($node);</div>Here field_entity_reference is the name of the Entity Reference Field and 50 is the nid of the reference node.<br />
<div>you will get the $nid after saving the node</div></div>Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com3tag:blogger.com,1999:blog-6023412841710265224.post-25893028492662998762013-07-02T10:36:00.004+05:302013-09-08T17:51:01.093+05:30Php and Mysql CMSI do lot of R&D on finding the list of <b>Php and mysql open source CMS </b>on google.Then atlast I found here <a href="http://www.scriptol.com/cms/list.php" rel="nofollow" target="_blank">http://www.scriptol.com/cms/list.php</a> .I mentioned some of the popular CMS below<br />
<br />
<br class="Apple-interchange-newline" />
<table><tbody>
<tr bgcolor="#cccccc" style="background-attachment: initial; background-clip: initial; background-color: #f0f0ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;"><th bgcolor="#ccccdd" class="bordered" width="13%">Name</th><th width="13%">Category</th><th width="35%">Supported databases</th><th width="39%">Comments</th></tr>
<tr><td width="13%"></td><td width="13%"><br /></td><td width="35%"><br /></td><td width="39%"><br /></td></tr>
<tr><td width="13%"><a href="http://drupal.org/" rel="" target="_top">Drupal</a></td><td width="13%">Portal</td><td width="35%">MySQL or PostgreSQL</td><td width="39%">Sponsored by the University of Oregon.</td></tr>
<tr><td width="13%"><a href="http://www.joomla.org/" target="_top">Joomla!</a></td><td width="13%">Portal</td><td width="35%">MySQL</td><td width="39%">Popular CMS, fork of Mambo.</td></tr>
<tr style="background-attachment: initial; background-clip: initial; background-color: #f0f0ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;"><td width="13%"><a href="http://www.phpbb.com/" target="_top">phpBB</a></td><td width="13%">Forum</td><td width="35%"></td><td width="39%">Forum CMS with a lot of themes and mods.</td></tr>
<tr style="background-attachment: initial; background-clip: initial; background-color: #f0f0ff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;"><td width="13%"><a href="http://wordpress.org/" target="_top">Wordpress</a></td><td width="13%">Blog</td><td width="35%">MySQL</td><td width="39%">Very popular and extensible blog CMS.</td></tr>
</tbody></table>
For more information <b><a href="http://www.scriptol.com/cms/list.php" rel="nofollow" target="_blank">Read Here</a></b>Naveen Valechahttp://www.blogger.com/profile/07373976284582412667noreply@blogger.com0