Submitted by D2ev on Fri, 01/23/2015 - 12:36
I have taken the reference from views module which is now present in Drupal8 core.
Lets created custom module in which create 'simple node archive' views style plugin when installed. As Drupal8 now ships with symfony components the .info files are now .info.yml and coding syntax is changed but more similar to Drupal7.
name : simple node arvhive
description : Provide simple node archive style option for Views.
core : 8.x
package : Content display
No changes for .module file.
Submitted by D2ev on Tue, 01/15/2013 - 00:00
SSH into your server and cd (change directory) to the folder where your have .htaccess file and execute the following command.
user@user-desktop:~$ htpasswd -c .htpasswd username
Re-type new password:
Adding password for user username
if you open the .htpasswd file you can see something like this -
Add/modify .htaccess file:
AuthUserFile Path to your .htpasswd file ex: /var/www/mydrupal/.htpasswd
AuthName "Restricted Access"
Require user username
Submitted by D2ev on Thu, 02/02/2012 - 23:25
We can print block in drupal in different ways bases on block type .
Submitted by D2ev on Fri, 10/28/2011 - 01:23
Below are the list of Sql queries used to use in Drupal coding -: