Community Documentation

Obtain a list of themes

Last updated April 26, 2011. Created by Jody Lynn on February 24, 2006.
Edited by MGParisi, Heine, Uwe Hermann, nedjo. Log in to edit this page.

This snippet displays a list of themes and associated fields.

SELECT * FROM `system` WHERE type = 'theme';

Note: For most usages, a visit to admin/build/themes is the best way to see the list of themes.

Page status

About this page

Drupal version
Drupal 4.6.x, Drupal 4.7.x

Archive

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.