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

Drupal - include file

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

Create a include .php into \yoursitename\sites\all\themes\yourtheme\templates\include\prop-sidebar.inc.php

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/prop-sidebar.inc.php'); ?></div>

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...