Closed (fixed)
Project:
Home (Real Estate)
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2008 at 19:07 UTC
Updated:
18 Aug 2008 at 00:20 UTC
I am pretty new to drupal theming and i am wondering what the best way to theming the content generated by the home module. I am ok with css but there are no specific classes or divs used . Should i be using views. Any pointers would be great. thanks,
Comments
Comment #1
Michael M commentedHere is a copy&paste from the readme file of the module:
THEMING
====================================
You can override the theme functions by overriding the theme_ function in a template.php file placed in your theme directory. See http://drupal.org/node/11811 for more details.
There are currently these function that can be themed:
- theme_home_output: Styles and orders the home fields (q=node/x).
- theme_home_print: The print layout of the printer friendly version of the page (q=node/x/print).
- theme_home_gallery_edit_image: The layout of the images in the gallery editing page (q=node/x/edit_gallery).
As an example, to theme the "theme_home_output" function, you would need a file named "template.php" in the directory of your theme. Then add the function phptemplate_home_output.