0
votes

I have a requirement of fetch drupal themes stored in sites/all/themes folder. I want to show thier image if exist and all there information.. PLease tell me a way I can do it. All I just want to know is there any function exist in drupal which fetch theme from a directory or any function relavent to it. If not then from where should I get started.. Any suggestion will be highly appreciated.

Thanks

Faizan

1

1 Answers

0
votes

You can use the list_themes() function, together with drupal_get_path('theme', $theme_name)

the screenshot image is called screenshot.jpg i think