Multisite: use different domain for "secondary" already existing site
hi,
after tons of tread no solution found for my issue: please help me if you can.
I have a D6 site fully working on apace web server, with cpanel.
This site works with site1.com domain.
I successfully created multisite installation to use site2.com and it works great.
site2.com is a "parked domain" (no account needed on server): it uses site1.com drupal core but it has different contents, database, users, and i simply set dns nameserver of it to point to site1.com and everything is ok
Here directory schema:
--sites <--(site1.com)
---/default
---/all
---/site2.com
Now i own site2.net domain and i want to point it on site2.com site not using the tipical "standard or steath forwarding" registrant services.
Summarizing: i want to redirect site2.net to site2.com . how ?
Pardon my bad english :$
Copying drupal 6.24 live website to desktop computer
Hello everyone:
I am completely new to Drupal, so please bear with me.
I created a Drupal 6.24 test site (using XAMPP 1.8) on my computer (windows 7 ultra) and copied a live Drupal 6.24 (including the database) to this test site. The structure is a multi site format.
Sites folder in drupal 6.24 (htdocs/drupal-6.24) contains the following folders: all, greetingcards, default
The windows host file contains the following: 127.0.0.1 greetingcards
The file httpd-vhosts.conf contains the following:
##ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "C:/xampp/htdocs/drupal-6.24"
ServerName greetingcards
##ServerAlias www.dummy-host2.localhost
##ErrorLog "logs/dummy-host2.localhost-error.log"
##CustomLog "logs/dummy-host2.localhost-access.log" combined
The problem occurs when I enter the path to my greetingcards site: http://greetingcards
Instead of being able to view the copy of the live site, I end up viewing the admin page. The page containing the header: "Welcome to your new Drupal website!".
I've done this numerous times. Always the same result.
I would greatly appreciate someone telling me what I am doing wrong.
Isaac
Block visibility not working on user pages
I have two blocks created by my module via hook_block. I also have additional user profile fields set as category "employee". In the hook, I set the visibility to:
user/*
user/*/edit/employee...but it doesn't seem to make any difference. These two blocks show on ALL user pages, including "user/*/edit" (edit the basic account information). As a test, I left Block 1 as the above settings and changed Block 2 to:
user/*/edit
user/*/edit/employeeBoth blocks still show on ALL user pages. From working with access permissions, I know the logic surrounding user pages seems to be a bit unusual, so I'm wondering if that could be causing this issue as well. Has anyone else encountered a situation like this?
Drop Down Block Items / Design
I am in need of help with a particular design / module issue for a website that I am working on for a client.
If you visit: http://www.downtownaustin.com/ you will see that when you click on something like "Live Here" a hidden div drops down, and in that div there is content.
From my research, I am thinking I can use Panels to do this? However, I am not quite sure. Any help would be GREATLY appreciated.
Launching new site, issues with domain?/IP?
First, a quick background.
New design so I had a new server (virtual) created, dumped the live database and imported to the new server. Completed an entirely new theme.
Then today, we 'virtually unplugged' the live server and plugged in the new server. So the original IP of x.x.x.119 is still resolving to our domain www.yyy.com. This way, we didn't need to put in a dns change and wait for the effect. We just switched servers for the same domain.
However, once the new server came up, the new theme wasn't fully applied. I logged in and though the new theme was selected as the default in the theme lists admin screen, when I visited the domain module listings and chose the 'theme' button for the main domain, it wasn't selected as the default. The old theme was. So, I changed that and it seemed to get 95% of all the new theme applied. But, there are two specific pages that utilize a template from the original theme and now those two pages are not pulling those two templates from the original theme. I have a function in my template.php file that specifies to use a different theme based on the url/node shown. It worked fine during all the dev work, but activating it as the new server, again an exact clone of what I was doing during dev, it doesn't seem to recognize that function.
Read moreUser registration custom functionality
Although I am not totally new to Drupal, I have never customized Drupal code before.
can you suggest me how to achieve this. any guidance is much appreciated.
What I want is at the time of registration accept two different emails. One- personal email ( gmail, yaho etc)
another email is corporate email id, I would like this email id to use only first time to send registration confirmation email.
I believe second email id field can be created using profile fields.
I can code in php if needed, but if solution involves using existing module it would be much better.
Thanks
aba