Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

Drupal - include file

0 votes
added Aug 10 in Drupal by LC Marshal Lieutenant (13,870 points)

Create a include .php into \yoursitename\sites\all\themes\yourtheme\templates\include\

Open the master .php file where the above include file to be included. 

Add the following line to include the file

<div class="col-md-3"> <?php include(drupal_get_path('theme', 'sello') . '/templates/include/'); ?></div>


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.