Build.
This commit is contained in:
parent
0692d8ff00
commit
47e2ffcfda
247 changed files with 409 additions and 383 deletions
|
@ -84,7 +84,7 @@
|
|||
<main class="col-md-9">
|
||||
<h1>Dividing Drupal's process and preprocess functions into separate files</h1>
|
||||
|
||||
<p class="posted">24th May 2012</p>
|
||||
<p class="posted text-light">24th May 2012</p>
|
||||
|
||||
<p>If you use a lot of process and preprocess functions within your Drupal theme, then your template.php can get very long and it can become difficult to find a certain piece of code. Following the example of the <a href="http://drupal.org/project/omega" title="The Omega theme on Drupal.org">Omega theme</a>, I've started separating my process and preprocess functions into their own files. For example, mytheme_preprocess_node can be placed within a preprocess/node.inc file, and mytheme_process_page can be placed within process/page.inc.</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue