using template.php in Drupal 6

indacrypt - July 1, 2009 - 02:45
Project:Dynamic display block
Version:6.x-1.0-rc6
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Hello,

This is in ref. to creating an advanced slide show using the ddblock module. How do we use template.php in Drupal 6.12? I am using a theme called id-lunar that does not come with a template.php..doi I just create a file called template.php and include the preprocess functions there? When i tried including it in the file ddblock-cycle-block-content.tpl , it crashes the theme...

Thanks
Dee

#1

ppblaauw - July 1, 2009 - 02:55
Priority:critical» normal
Status:active» postponed (maintainer needs more info)

If a theme does not have a template.php file you need to create one in the root directory of the theme you use and copy and paste the code from the template.php.txt file supplied.

Hope this helps you further, please let me know.

#3

ppblaauw - August 15, 2009 - 03:20
Status:postponed (maintainer needs more info)» fixed

Set status to fixed. Assume answer solved the issue.
6 weeks without activity

#4

System Message - August 29, 2009 - 03:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

grrrlshapedthing - November 3, 2009 - 22:53

what if you don't have a template.php.txt file either :-(

#6

iren - November 4, 2009 - 00:23
Status:closed» postponed (maintainer needs more info)

#5

You can download the template.php.txt file in the download page. It is included in the Export_files_V1.6.zip file.

Hope this helps you further, please let me know.

 
 

Drupal is a registered trademark of Dries Buytaert.