Drupal Theme Question

Joined: 02/27/2007
User offline. Last seen 2 days 7 hours ago.

OK, you guys insist that we move the themes to the sites folder. Since my site is already set up, can I just move it there, and it'll automatically notice it's there? (I'm using 4.7.)

G&G Podcast Host
Rob Feature's picture
Joined: 06/01/2006
User offline. Last seen 10 weeks 1 day ago.
Yup......maybe....i donno

Whew!
I wrote a response that was "yes, you can do that" until I reread your question, and saw you were on 4.7. If you were in 5, the answer would be yes (and move your contrib modules to /sites/all/modules while you're at it), but on 4.7 I'm not entirely sure.

I believe you still can, but it might be a drupal 5.0 thing....MF?

-Rob Feature
Geeks and God Co-Host
www.bobchristenson.com

-Rob Feature
Geeks and God Co-Host
www.mustardseedmedia.com

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
User offline. Last seen 21 weeks 6 days ago.
In 4.7 The Recommendation is....

In drupal 4.7 the recommendation, according to the manual, is to put your modules at /sites/default/modules and your themes at /sites/default/themes. The all folder doesn't work before drupal 5.

And, if you have modules or themes you should just be able to move them and have them keep working. Unless, with your themes you your direct paths to the location of an image or something else. If that is the case change those out for functions that detect the path and put the right one it (there are drupal specific ones for that).

Matt Farina
Geeks and God Co-Host
www.mattfarina.com

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 04/17/2007
User offline. Last seen 3 years 16 weeks ago.
My theme isn't showing up

I am just starting to work on a site with Drupal 5. I put my theme in the /sites/all/themes and my admin themes config isn't seeing it. Any idea why?

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
User offline. Last seen 21 weeks 6 days ago.
is it at?

So, your theme is in the folder /sites/all/themes/mythemename, right?

Next, is it a phptemplate theme?

Matt Farina
Geeks and God Co-Host
www.mattfarina.com

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 04/17/2007
User offline. Last seen 3 years 16 weeks ago.
I have...

I have css and the page.tpl.php file in there, plus a few images, but nothing else.

www.iamanoffering.com/blog

G&G Podcast Host
Rob Feature's picture
Joined: 06/01/2006
User offline. Last seen 10 weeks 1 day ago.
What MF is getting at...

What MF is getting at is this: Inside the /sites/all/themes folder you DID create another folder which is your theme name, right? And the files are inside THAT folder?

Because if you put the page.tpl.php and css files just inside the /sites/all/themes folder nothing will show up.

-Rob Feature
Geeks and God Co-Host
www.bobchristenson.com

-Rob Feature
Geeks and God Co-Host
www.mustardseedmedia.com

Joined: 04/17/2007
User offline. Last seen 3 years 16 weeks ago.
Yes, there is a folder

I'm looking at my path and it looks like this:

sites/all/themes/vine/vine.css+page.tpl.php+images

www.iamanoffering.com/blog