The project I am working on wants to split up the site into regions via subdomains, for example:
usa.domain
za.domain
ke.domain
Each subdomain would have it's own content (news, about, etc), and then the main domain site would show content (news) from all the sub domains.
What would be the best way to achieve this using Drupal? Would I be able to use Drupal 8 for this?
I managed to figure it out.
I ended up installing the Domain Module which works exactly as I expected a solution like this to work.
Once you have it installed, and set up a few domain records in the configuration adding content to specific domains is as simple as clicking a checkbox.
A cool note is that the menu structure plays along nicely with this module too, although that might just be clever Drupal.
I used Drupal 8 and even though this module doesn't have an official release yet, it works perfectly.
Related
I have developed a site using drupal. Now I moved from test server to live server. Now if I make changes to the test site its reflecting to live site too. I am surprised. Please could anyone tell that how should I fix above problem.
Ok, assuming you mean changes at the content level (like content types, menus, taxonomies, users, ..), then it probably means you're sharing the database between the two sites. You'll need to point the one of them to a copy of that database so you split the sites. This can be done by adjusting the sites/default/settings.php file typically.
I have Joomla and Drupal sites, but I don't want others to find out what platform (CMS) I'm running.
I want to prevent detection from tools like Wappalyzer or similar tools. (as seen in this screenshot: http://i43.tinypic.com/2evc6qo.png)
I've heard that has to do with meta tags but I'm not sure.
There is no way to hide the fact you're using Joomla. If you inspect the source code of a websites built using Wordpress for example, you will see wp-includes within the URL's of CSS and JS file includes.
When using Joomla, you can type /administrator at the end of the URL, however if the admin URL is hidden, against, inspecting the source can give it away.
This might be of little help:
How to disable right-click context-menu in javascript
For Drupal, see the community wiki page "Hide, obscure, or remove clues that a site runs on Drupal":
The short answer is :
You can't. Do not try.
You can get pretty far with trying to hide the fact that your site runs on Drupal. But at some point you’ll probably don’t run Drupal anymore ;-)
Have a look …
at our sister site, Drupal SE: How can I obscure the fact my site uses Drupal?
at drupalscout.com: Hiding the fact your site runs Drupal OR Fingerprinting a Drupal Site
There is way to hide Joomla from bots.
You need to use this jomdefender plugin. It removes word joomla from all pages, change admin page and add few antibot tricks.
Its not perfect, but it still adds much more security to your joomla such as file integrity check, which could be quite usefull when some file gets hacked.
Is it possible to control 2 different Drupal website from 1 admin panel? 2 different domain, but on same host-server.
one of my client came up with the idea and I wasn't sure if it can be done.
Appreciate advices! Thanks a lot!
If you're just trying to have two domains point to the same Drupal installation (e.g. http://example.com/ and http://example2.com point to the same Example Drupal website), this is supported out of the box as long as you don't use a multisite setup.
That is, normally, you'd just stick your settings.php file in sites/default/. If you did that, any domain that's pointed to the Drupal directory will use the same Drupal site. You don't need to do anything else.
If you've stuck your site in sites/example.com, you could create a symbolic link with the name of the other domain; i.e. you'd have sites/example.com and a symbolic link to it called sites/example2.com.
If you're trying to run two disparate sites through the same admin panel, you can't do it per se: that is, you can't manage most aspects of Drupal through its default administration system because it's not designed to do that.
However, if you're trying to simulate something like Plesk or Cpanel—that is, you just want to easily manage Drupal deployments using one control panel—there is a project under heavy development called Aegir. I've used it on a few different occasions and it works pretty great, but it's a somewhat involved setup process.
With http://drupal.org/project/domain you can simulate two websites. Is not actually two different Drupal installation.
You can take a look http://drupal.org/node/346385 for more information about the different multi-site options.
No, not that I am aware. As well as the content, all the administration aspects of the site are stored in the site's database, so the admin area and the front end of the site are joined at the hip! 1 database per site, so 1 admin area per site.
There is Aegir http://www.aegirproject.org which is a multi-site manager dashboard system. It's more for creating and managing the site than for managing content, but it might be what you're looking for.
I have two Drupal sites. Let's call them Site A and Site B.
Site A is a site where users can post ITEMS. So I have a content type called ITEM. Site B is a client's site. I want to be able to display the ITEMS from Site A on Site B. I don't want to have to import the content. Both sites are on the same server. I want the items that show on Site B to be the exact items from Site A. In fact, it would be amazing if:
The items show in the content list
The user can edit content from Site A via Site B.
So my questions are:
Is there a module that can do this?
If not, is this a feasible way to go about it and should I start development myself?
Is importing and exporting the only route to go? (and then disabling the editing of those content types)
Thanks in advance.
Sounds like you should use domain module. I have only used it with subdomains, but it should be able to handle different tld as well.
You can use feedapi and feedapi mapper to sync nodes on site A and site B.
Is it possible to use Drupal to feed a few dynamic portions of a mostly static website? We have a plain old website and are looking to create a sibling site just for web-app stuff (private CMS, databasing, some forms for specific things, etc.). Some of the content we create on the sibling site (which would be Drupal), we'd like to render in areas on the primary site (non-Drupal). An example might be a news feed generator that displays on the primary site, but is actually fed from content created in the secondary site's interface. Another potential workflow might be a Drupal installation that's located in a subdirectory of a mostly static website. A general login link could redirect users to the drupal area, but could we get any of the content they create outside of that, modularly, so we can keep our nice rigid site design? I guess I'm looking to harness Drupal as more of a framework than a CMS.
Is any of this possible? Is this even a logical concept, or am I stupid for asking?
Thanks for any suggestions.
It is possible you could implement a custom callbacks which are accessed via Jquery on your old site.
However....
Why would you do this, Drupal is a CMS for websites, if you have a static website, no matter how big it won't be too dificult to put it into drupal and look the same, even have the same URLs. You then get Drupal goodness wherever and whenever you want very easily.
You can always access your Drupal database in your external site to display whatever Drupal content you want.
You could build RSS feeds with Views and put a simple feed parser into your static site. But again, if you want more than simple RSS syndication, you are better off planning a migration path than partial Drupal integration.