Display View in Drupal Using PHP

Introduction

This article explains how to display a view in Drupal using PHP. View module is very important to us in Drupal for managing content. First of all you need a view module for making a view of content then you will download a view module and install in your Drupal directory and you will make a view of content and then you can manage your view. I will describe this procedure step-by-step.

First go to the structure settings, such as:

view1.jpg

Then choose "View", such as:

view2.jpg

Then you can choose our view and click "Edit". You can see that I have already made a "kaltura recent added video".

view3.jpg

And next click on the "menu" setting and select type normal menu entry and next choose main menu in menu option and click "apply". Such as:

view4.jpg

And next setting.

view5.jpg

And finaly you will see your view link.

view6.jpg

 

Up Next
    Ebook Download
    View all
    Learn
    View all