Tuesday, February 7, 2017

Drupal 8 Multisite Creation




Goto /d8codebase/sites/sites.php file.

Add below array
$sites = array(

  'site1.com' => 'site1', // Domain name => Folder name.

  'site2.com' => 'site2',
);

Then create site1, site2 folders inside /d8codebase/sites/ folder

Like in D7, Inside site1 and site2 folders create separate settings.php and add the database and other configurations specific the site.

Add site1.com and site2.com in vhosts file.

Friday, May 29, 2015

Solution for Slow queries issue in Drupal 6

If you are running drupal 6 application with multi lingual setup especially using i18n module, Then there might be having mysql  database issues like slow queries means some queries might take more than 30 minutes to execute and in turn shuts down the mysql server.

If anyone experiencing the same issue, then apply below patch to fix the issue.

https://www.drupal.org/files/issues/337089-26.patch

Refer.
https://www.drupal.org/node/337089#comment-4482720



Tuesday, April 14, 2015

Best Bulletin Board (Discussion Forum Software)



I am glad to share the information that, I have used many forum softwares so far and found Mybb is the best among all with very decent features.

Some of the most useful features are


  • Private Messaging : Send and Receive private messages
  • Calendars and Events : Manage multiple calendars and conduct events
  • Email notifications : When new thread opened, send automatic email notification to all users who subscribed to the forum 
  • Reputation : Give ratings and comments to the user posts
  • User Promotions: Promote users based on post count, reputation score
  • Warning System : Warn and punish users when they act inappropriately
  • Mark as best answer : Like stack overflow, Choose the answer as correct from user replies, this feature doesn't exists in core, but we need to install and configure mysupport plugin. 
  • Mass email and newsletters: Send mass emails to the registered users
  • Task scheduling system: Keep your forum always in good shape by running Scheduled tasks behind the scenes 


Have a look at all features
http://www.mybb.com/features/

Friday, April 10, 2015

Reasons to love Drupal8

Drupal is world's leading open source content management system. Drupal8 is the latest release on it's  journey. Already beta version got released with modern object oriented programming approach.
Below are the list of significant features added in the Drupal8 core.
Mobile in its DNA : Deploy content once and watch it in any device the way you want.
New Configuration Management: Manage configurations across different environments with ease
Better user experience: Serve your visitors with better experience by using Jquery autocomplete and modal dialogs.
Effortless Authoring: With WYSIWYG editor and in place editing, content authors can manage content very easily.
Views, out of the box: Many new features in views
Better markup with HTML5: The page markup in drupal8 is now html5-based.
Multilingual Capabilities: Translate any string in the system with built in interface.
Built in web services:  Build mobile apps with drupal8 as your data source.
Fun and Fast Theming: Build sites quickly with flexible and secure twig template engine. 
Field Power: Drupal8 provides more field types in core like email, phone etc..
Easier migration process from earlier version
So this will be the major release in drupal history with big change in it's architecture. Many useful Symfony (PHP based open source MVC framework) components are included in the drupal8 core and also included some third party PHP components and finally created a world class content management system.

Tuesday, December 17, 2013

Drush Installation from Pear Channel

Below is the easy way of installing drush in linux systems/servers.

#Add drush channel to pear list
pear channel-discover pear.drush.org

#Check whether is it added or not
pear remote-list -c drush

#Then run install command as below
pear install drush/drush
pear install drush/package_name (or version_name)

Now enjoy running Drush commands straight away without any further configuration :)






Monday, May 9, 2011

My skype icon didn't visible

In ubuntu sometimes, the skype icon hide from panel, when you select the option remove from panel, then the solution is:

right click on an empty area in your notification area (top-right bar by the clock) and select "Add to Panel" now scroll down and find "Notification area" then OK.

you should be able to see the green >>running<< skype instance along with all non running duplicates. Right click and close the duplicates.
You can now close the main skype window with the "X" and bring it to the foreground again with the green notifier.

Wednesday, April 6, 2011

Enable clean urls in Ubuntu


  1. Ensure that mod_rewrite is enabled for Apache 2:
     % sudo a2enmod rewrite
  2. Edit Apache 2 configuration to allow Drupal's .htaccess file to be used. In file /etc/apache2/sites-enabled/000-default, inside the tag Directory /var/www/, replace the line
    AllowOverride none
    with
    AllowOverride All
  3. Restart Apache 2:
    % sudo /etc/init.d/apache2 restart

Monday, April 4, 2011

Drush installation and configuration steps


Drush configuration steps

1. Download Drush module from http://drupal.org/project/drush and place drush folder into your home directory. E.g: '/home/drush/'

2. In command line, execute following this statement.

PATH="/home/venkat/drush:$PATH" for temporary

3. Add this line PATH=/home/drush:"${PATH}"  in  /home/venkat/.bashrc file

4. Execute following command in command line

$ . .bashrc (including .dots)

Some Drush commands
1. drush cache-clear
2. drush sql-conf
3. drush sql-cli
4. drush dl cck zen
5. drush enable cck , drush pm-enable quiz
6. drush disable cck, drush pm-disable quiz

Here you can find more drush commands http://drush.ws/

Monday, January 10, 2011

Database Fundamentals - Free Ebook

http://www.ibm.com/developerworks/wikis/display/db2oncampus/FREE+ebook+-+Database+fundamentals