...

Drupal

How to Add a Custom Date Format in Drupal 8

In drupal 8 there is easiest way to add the date format is simply go link for your website "https://www.yourdomain.com/admin/config/regional/date-…

...

Command line

SSH and Transfer Files/Folders using Putty Private Key (.ppk or .pem)

Download Putty - Click Here To Transfer files and Folder between to computer or remote server using putty .pem or .ppk file is easy. scp is common…

...

Drupal

Drupal 8: check user is logged in or not in *.html.twig

In the new era the drupal8 twig is introduce, so old basic php drupal hook is not useful in theme templates. Now twig is power under the template and…

...

Drupal

How to render i18n translated block in drupal 7 Templates

Hey guys,  Sometimes we created the themes template in drupal 7 and we need to render custom blocks and views block to display proper diversion, but…

...

Drupal

How to render block in Drupal 8 theme template

Similar to Drupal 7, Drupal 8 also gives the customization using theme template, If you want to place a block using programmatically you have…

...

HTML

Facebook post customisation posted using web app using Facebook Open Graph

Facebook is Providing autoposting functionality using website application and provides to display you website content on your facebook page. But the…

...

Drupal

send Variable to Js File From PHP in drupal Custom Module

If we need to use the php variable in our js file we can use Core Drupal.settings Functionality :  example: Let we assume we want to use at the…

...

Other

Facebook, Twitter and LinkedIn post share checker

Social media apps like Facebook, twitter linked allow your website and apps to share on there pages to reach with more peoples. Question is how to…

...

Drupal

Render a drupal node d7

If you want to render a node in drupal 7 it is pretty easy, you just a node id or nid of node for doing this: simply <?php $nid = 13; //use…