Skip to main content

Organize you fusion subtheme folder !

I use Fusion 6.1.x {with the skinr module} as my main base theme (It's based on a simplified 960px or fluid 12/16-column grid.).So as a theme developer , i often use graphics and images, whether in blocks or in the theme layout . It's very common to create a theme on a staging server or at localhost ( mamp or lamp enviroment ) and then go live . My approach on this , is to have all my images saved on a "special-images" folder inside the sites/all/themes/fusion/myfusiontheme and then using the  drupal built in  functions base_path(); and theme_to_path();  i load all my graphics and images inside this folder ( not images fron cck fields etc ) . The only trick here is to add a / add the end of the code . So for example if i want to use the image : header.jpg at my theme i use . '; ?>

fusion