| | I am writing a Drupal theme and I would like to test it out before using it on my website. Is there a way to test it? |
| Nov 22, 2009 |
Nice to know that you finally got it working.I do not know of anyother site that would help other than Drupal.org itself. They have links to many other related sites. Just go there and snoop around, and I think you could find something useful.For my Drupal driven site, I downloaded a simple theme and with help of seec77, I modified it to what I required....
read more.
The first one is, set up a local server on your PC (may be using XAMPP or EasyPHP), and then setup Drupal there. (Just FTP download your site, and put it in the www folder of the Apache). Then, I think it is straight forward. Put the theme you created in the themes folder, start your (local) Drupal, and select it and see how it turns out.
I have heard people use different themes for different roles, but I am not sure how this can be achived and it is too much intrusive. This method, requires a lot of code change, I suppose. So, the best way is to have a local copy of your Drupal website running on your workstation, fiddle around with it, and when you are satisfied, upload it.
I don’t suppose there is any other way of validating my code? I don’t have a server set up on my computer and it’s really too much trouble. I’m afraid to try it on my site because if it doesn’t work, it hard to get it back to my original theme.
Well, you can easily create a new Drupal installation inside a new folder of your site's web server. If you really want you can actually get multiple instances of Drupal to run from the same codebase, but that's overkill for an action such as testing out your theme.
Running it on your main site isn't as bad either if you don't have any visitors, because it's actually very easy to change back to the old theme (just disable your new theme and set the default to the old theme). But anyways, I think the best long-term approach would be to just easily set up a complete webserver using XAMPP. QUOTE But anyways, I think the best long-term approach would be to just easily set up a complete webserver using XAMPP. Should I download the lite version or the full version? The Lite version doesn't seem to have a installer. XAMPP stands for Apache, MySQL, PHP and PERL. (Do not ask me what 'X' stands for, 'cause I do not know Anyway, do not bother with the lite version. Down load the full version. I downloaded the self extractor, and extracted it to C:\xampp folder. After all the files have been extracted, run the C:\xampp\setup-xampp.bat batch script. (That is, just browse to the folder you have installed xampp and run the file setup-xampp.bat). By doing this all paths in the configuration will be updated. That is it, it is as simple as that. Start the different servers using the GUI "xampp-control.exe" that is present in the same folder. A prudent move would be to make a short cut of this and place it on your desktop. Just click on the Apache and MySQL Start buttons if they are not running already. Now, go ahead and install a Drupal site on the \xampp\htdocs folder. If you had earlier used the Fantastico installer to install Drupal, you would find doing this a bit more difficult, but reading through the Drupal installation instructions is easy. Anyway, first install the XAMPP and then try to install Drupal. If you have any problems, let us know and one of us would walk you through.
I have successfully installed XAMPP I have ran into some problem installing drupal.
I have followed the instruction listed in several sites, since the handbook always confuses me. I must have incorrectly configured the “settings.php” file because I can’t seem to connect. First I tried to connect without any password, just the username ‘root’. But it doesn’t seem to work. Then I opened up the database ‘mysql’ with phpMyAdmin and added the password for user “root”. I also added the my password in cofig file under phpMyAdmin. So now, I cannot access both phpMyAdmin and drupal. What did I do wrong? Thanks
Ok doudou.
Let us do this one by one.
That should work. If it doesnot, just tell us on which particular step you are failing.
But how do I solve the problem I currently have. Should I uninstall and then reinstall everything?
Yes doudou, I think that would be prudent. I gave the full set of installation instructions because I could not actually pin point on what the problem was from what you have given. Just try to do things from the scratch, and then hopefully it works.
If it does not, try to give the exact step where you failed to get the result as you expected. That would put us both on the same page and then we can work on the problem and try and get a solution for that. Latest Entries
Nice to know that you finally got it working.
I do not know of anyother site that would help other than Drupal.org itself. They have links to many other related sites. Just go there and snoop around, and I think you could find something useful. For my Drupal driven site, I downloaded a simple theme and with help of seec77, I modified it to what I required.
I finally got it working. Apparently the passwords did reset after I rebooted my computer. You instruction were pretty good. Thanks a bunch. Now that I have my local server running, I can start writing and testing my own Drupal themes. Do you have any suggestions on related websites and resources?
That's weird. I personally don't have any experience with XAMPP, so I don't know what's up with that. Have you tried logging in from phpMyAdmin? If you can login from there, use the username and password and put them in Drupal (in the $db_url variable) and it should work. The questions is, have you been able to log in into phpMyAdmin with the password you supposedly know?
I uninstalled and reinstalled XAMPP as you suggested. Unfortunately it did not solve my password problem. I still have the password setup f or MySQL, and although I know what it is, I cannot access it. Anyother suggestions?
Similar Topics
Keywords : test, drupal, themes
Having trouble updating. (2) Wondering if anyone has tried to update to drupal 5? I have gone through their instructions on Or creating new module for Drupal (9) I have been running a site for couple of months that is powered by Drupal. And I like the way (9) I’ve recently discovered a login problem with Drupal. I registered a domain name with (3) Well, I just installed Drupal 5 days ago succesfully. Have also used quite a few modules of Drupal. (11) I haven’t made any progress on Drupal since I installed Xampp. I guess one of the challenges is Install under root directory (5) Most people probably already know this, but it took a little while for me to figure it out. Drupal Themes (5) Yesterday I had my account setup and the first thing I did was to install Drupal Content Tips, guides, and pointers please (10) I installed Drupal for my website, and am having a walk in the park for almost all the modules. The (Can log in when using direct astahost.com subdomain URL) (4) Oh boy! Setting up a website even using a CMS does not seem to be straight forward task. I have A nice little CMS (13) After ditching Mambo because it ate too much of my space, I switched to Drupal and MAN is it nice. Looking for test, drupal, themes
|
![]() How To Test Drupal Themes? |
Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com