1

I'm a beginning developer and I am working in this one Drupal 6 website that has multiple websites in the root. To add to the complexity, I am working with the module Mobile_tools to direct users to a mobile theme.

My issue lies with the sharing of images. When users are directed to the mobile theme, I want to find a way to specify where the website grabs it's images from. It seems that by default, it grabs them from the /sites/all/files rather than the /sites/all/themes/theme/files location.

What would be the best way to go about changing this location? I was thinking of implementing a hook override, but have no idea where to or how to begin.

0

drupal_get_path and path_to_theme are the two functions that will be usefull for u.

  • Thanks! I have resorted to these functions and was able to get the appropriate results. – Hectron Dec 8 '11 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.