By Farouk111 on
hi all,
is there a way to preview a drupal theme on my windows? i want to do this because i dont want to upload theme files each time i make a change in the theme, i want to finish the whole theme offline then upload it, any idea?
Comments
WAMP
I would first install WAMP onto your Windows machine.
http://www.wampserver.com/en/
Then install Drupal onto that machine. Now you should have a functioning Drupal on your own machine. You can develop a theme right there on your own computer then upload it to the themes directory for the "real" site.
To develop offline you'll
To develop offline you'll have to install some servers installed first, XAMPP (http://www.apachefriends.org/en/xampp.html) contains everything needed to get started. If your using Windows there's a executable installer version or a zip file version you just extract, also versions for Linux, Mac X, and Solaris.
After XAMPP is configured extract the drupal files into the htdocs folder where XAMPP is setup. Now you can finish drupal install from within a web browser.
You should really read:
* new user stuff - http://drupal.org/handbook/customization/tutorials
* themes stuff - http://drupal.org/node/11774
Web-Developer Server Suite
This is another option available. It has drupal in its pack by default - which u can use for ur offline theme dev ....
http://www.devside.net/
-- Sree --
IRC Nick: sreeveturi
PDT + WST
The configuration I'm going to try is PDT (PHP Development Tools) Eclipse with the WST (Web Standard Tools) Preview Server feature. PDT had a major release recently: http://www.eclipse.org/pdt/ and the Preview Server is part of http://www.eclipse.org/webtools/wst/main.php
It's not a full setup, as there's no mySQL, but it should be great for debugging chunks of PHP code and XHTML markup.