Our Thoughts

Invezza focuses on your business growth by delivering your message to the world and make your idea speak with our creativity.

Inspire, learn and share

Step by Step process to create custom theme in Drupal 8

Jun 20th, 2018 Design, Drupal

The main difference between theming of Drupal 7 & Drupal 8 is theme engine. In Drupal 7 supports PHPTemplate and Drupal 8 leverages Twig engine Step 1:  Create .info file An Important part of Drupal theme or module is .info file. Through this file drupal will understand whether it is theme or module. In Drupal...

Read more

Big Changes in Drupal 8

Jun 19th, 2018 Drupal, introduction

Arrival of Drupal 8 is most exciting thing that happened last year. I’m sure if you, like us, are Drupal fans then you must have been a part of Drupal 8 journey with overwhelming experience of all the big changes. Some history first on Drupal 4.7 / 5 / 6: Version 4.7 started with core...

Read more

AOSSL – Using SSL with Varnish

Jun 04th, 2018 Caching, Drupal

AOSSL(HTTPS) - Everywhere The core values on which the internet has been built are trust and consumer confidence. With the rising trend on Web 2.0 and social networking sites people spend much more time online being logged-in and share much more information than credit card numbers. Henceforth, while building any web application that’s dealing with...

Read more

How to exclude or ignore some files from git commit

Feb 06th, 2018 GIT, PHP

How to exclude or ignore some files from git commit Some time we required to remove some files from git modified files because those files are not required to push on every time. Below command for very useful to ignore files from a track or modified files. or You want to automatically exclude some files...

Read more

How to remove password protected posts from pagination or adjacent posts

Jan 09th, 2018 PHP, Wordpress

You can approach this in different ways. The easiest solution would probably use the WordPress default filters There are multiple filters to remove password protected posts from adjacent posts for pagination. Sometimes we need to hide all password protected links from pagination because some website creates the secure content data using private posts. If anyone...

Read more

How to check post has password protection or not

Jan 07th, 2018 PHP, Wordpress

Yes, Some time we need to check post has password protected or not. While loop displays all posts from depending on post_type. If you assigned "posts" to post_type  it will display all posts from posts type But sometimes we need to show a different message to password protected posts in a loop, for this we...

Read more

How to exclude password protected posts from WordPress loop

Jan 06th, 2018 PHP, Wordpress

Exclude password protected posts from WordPress posts list or loop is using the filter function that is "post_where" post_where filter for use exclude password protected posts from loop This filter applies to the posts where clause and allows you to restrict which posts will show up in various areas of the site. Combined with restrict_manage_posts...

Read more

Set field values using entity metadata wrapper in Drupal7

Jan 06th, 2018 Drupal, PHP

entity metadata wrapper This entity metadata wrapper class is provided by the Entity API module. By using entity metadata wrapper class we can set new fields data dynamically to node and also we can get node fields data by using entity metadata wrapper class Retrieve values from a node using entity metadata programmatically. To retrieve...

Read more

drupal7 Get field values using Entity metadata wrapper

Jan 06th, 2018 Drupal, PHP

entity metadata wrapper This entity metadata wrapper class is provided by the Entity API module. By using entity metadata wrapper class we can set new fields data dynamically to node and also we can get node fields data by using entity metadata wrapper class Retrieve values from a node using entity metadata programmatically. To retrieve...

Read more

How to push single OR two OR multiple files to git in a single commit

Oct 25th, 2017 GIT

Push Single file to git You have modified some files in git but you don't want to push all files to git, you want to push the only one file to git. Normally we commit to git, all files are going to git but in your scenario push only single file git. For this, you...

Read more