[themes] theme dependencies

Warren Vail warren at vailtech.net
Thu Sep 1 22:38:43 UTC 2011


David,

 

Doesn't the opposite exist where modules request specific theming modules?
Is there a standard set of theming modules yet, or must you just test to see
if the function exists?

 

Warren Vail

 

From: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] On Behalf
Of David Landry
Sent: Thursday, September 01, 2011 2:17 PM
To: A list for theme developers
Subject: Re: [themes] theme dependencies

 

It's bad practice for themes to have module dependencies like that. There is
no centralized standard for tracking modules that a theme depends on. You'll
have to go through the entire theme looking for references to modules.

 

If you want to be kind to the next person who has to maintain the site, you
could break out any template code that has module dependency as a custom
module or Feature, so that the module dependencies can be declared.

 

David Landry

On Thu, Sep 1, 2011 at 3:09 PM, Bert Van Kets <mailing at vankets.com> wrote:

Hi all,

is there any easy way to know what modules a theme is depending on?
I have a theme from a Drupal 6 site with a multitude of installed
modules. When I use the theme on a plain vanilla Drupal install a blank
page is installed.
I really do not want to go through all the tpl files to see what modules
are referenced. How is a problem like this tackled?

Thanks.

Bert
_______________________________________________
themes mailing list
themes at drupal.org
http://lists.drupal.org/mailman/listinfo/themes

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20110901/afaba163/attachment.html 


More information about the themes mailing list