Contact
Contribute
Forum
Support
Download
Documentation
Home
»
Beyond the basics
»
Snippets
»
Theme Snippets
Customising the forum
Drupal 4.7.x
·
Drupal 5.x
This section of pages has handy snippets for customizing your forums.
Adding a default forum image
Customising the forum containers ( Collapsible Containers )
Customising the main forum list layout.
Keep your custom page-forum.tpl.php layout file when viewing a thread
‹ How to remove "blogs » user's blog" from breadcrumbs
up
Adding a default forum image ›
»
Login
or
register
to post comments
Beyond the basics
Tutorials
HowTos
Snippets
Theme Snippets
A guide to adding your own snippets
Customising full page layouts and sections
Customising node layouts
Customising the user list layout
Customising the user profile layout
Customising blog layouts
Customising how links ($links) are displayed in your pages
Customising table views generated by the views.module
Customising the breadcrumbs
Customising the forum
Adding a default forum image
Customising the forum containers ( Collapsible Containers )
Customising the main forum list layout.
Keep your custom page-forum.tpl.php layout file when viewing a thread
Customising the login form
Customising the pager (next, previous navigation)
Customising the primary and secondary links
Customising the search forms
Customising the site logo and name based on path
Customising the user registration form
Add a status message indicating if a node has not yet been published
Add an "Edit" Tab to Every Block
Add newlines to theme_item_l
ist
Adding an embedded player for audio in 5.0
Adding stylesheets for alternate media
Block Visibility And Parent Term CSS Class Function
Change submit buttons to images for a given form
Changing theme based on http headers
Create an alias instead of user username
Create more readable (and portable) block id attributes based on the block title
Customising Contribution
s
Customize a block title
Customizing menus
Different Header Images for Different Nodes
Display links to uploaded files of the current node wherever you want
Expanding/Contracting Blocks Persistently
Garland Simple modification Tutorial
Generalized list function
Get nodes as an array for greater flexibility
have a primary and secondary front page - useful for flash or splash graphic front pages
How to add "submitt
ed date" to only 'child pages' of a 'book'
How to display mission on every page?
How to make the 'sidebar
s' visible even when there's no visible block!
Image rotator snippet for phpTemplate
Move the help/description text
Nicely Formatted Calendar Dates:
obfuscate (hide) all emails from spammers
overridding the the default sidebar layout
Override the display of attachment /Add icons
Overriding drupal.css; two approaches
Overriding the core and module stylesheets
Pager at top and bottom of comments
Placing ads in your theme
Remove unwanted tabs from pages
Transparent PNG in IE5 & IE6
Two columns of teasers
Use a different style sheet for each page
Zebra stripes on taxonomy list
Customising how your page headers are displayed for search engines
Make images square
Override the max-width of textareas in content submission forms
Engine Independant Snippets
Split a text field into multiple columns, like a newspaper/magazine article.
Split theme('page'
) $content into multiple sections
Trim a text field to a certain word length
Module snippets: Triggers
Module snippets: Actions
Module snippets: Views
PHP snippets
SQL snippets
Contributed modules
Contributed themes
Videos and slides
Quick links
Module documentatio
n
Customizati
on and theming
Search drupal.org
Support forums
View other handbooks
Suggest documentatio
n improvements
Handbook license
The Drupal handbook pages are © copyright 2000-2008 by the
individual contributors
and can be used in accordance with the
Creative Commons License, Attribution-
ShareAlike 2.0
User login
Username:
*
Password:
*
Create new account
Request new password