Is there any nice component for Joomla 1.0.x allowing to serve custom domains? What I am trying to archieve is to sell subscription to my service and to offer custom branding including custom urls like yourcompany.myservice.com and even example.myservice.com. Any pointers? I am selling subscriptions themselves already for a long time, so the question is specifically on the domain part - how to manage apache vhosts/dns settings/whatever dynamically.
Since Joomla has moved on with version 1.5 it would be hard to find what you want for 1.0. I'd recommend switching to 1.5.
You can easily get multi-domain ability yourself. First you have to make sure all sub domains resolve to the same set of IPs. (*.yoursite.com)
For 1.0 you could probably get away with just plugins, but you might need to edit the core.
If you use a plugin, say a system plugin, in the plugin you can check for the HOST header.
eg:
$host = $_SERVER['HTTP_HOST'];
From this, you base your specific settings/parameters etc. You can also do the check from within components, modules etc.
An example would be loading different template. If the host is a sub domain, then load a custom template for that sub domain.
This is actually a lot easier to do with 1.5 as you can control what loads from plugins.
You don't need to change the apache config. There are several Plugins that can choose the Joomla configuration (including the template) and database based on the Domain name e.g. Joomla Multisites (btw. I would really recommend switching to 1.5)
Related
I have a wordpress site online and I'd like to integrate Magento into my existing site.
Okay so I want to
Download the Magento files
Setup my Apache configuration, for this I already have my site configuration, so I was thinking about putting magento in this url mysite.com/my-store/ ... but for this on apache should I use "location" directive?
What else do I need to consider?
The best way to go about is install Magento in new folder and create new database as Magento requires a lot of resources and you don't want get it mixed.
It all depends what exactly is that you planning to achieve. Either to use your domain name as a main ecommerce and setup the Wordpress as a directory
domain-name.com/blog
if it's a blog or something, or you can setup an alias that points to the folder and have something like this:
store.domain-name.com
Another way to do it if you would like to have everything integrated is to use FishPig Extension and then simply update all the WordPress plugins and point it to your existing database.
these are two seperate programs so best would be to get a plugin for wordpress and integrate magento inside there are a few plugins like this out there http://www.mwi-plugin.com/
I'm attempting to setup a Multisite Wordpress Network, but one of the requirements is that each site needs to have their own custom slug in the URL. For example:
http://www.site1.com/blog/
http://www.site2.com/reviews/
http://www.site3.com/commentary/
Currently, so far as I can tell, there is no way of tailoring a per site slug. Domain Mapping is simple using the plugin Wordpress MU Domain Mapping (It's compatible with Wordpress 3+ Networks.) But what I really need is the added ability of those custom slugs. Has anyone seen anything of that sort?
I'll revert to a large collection of individual Wordpress Instances if I have to, but this network setup would be the perfect solution if I could get the slugs to work.
The slugs have nothing to do with your multisite setup. Look into modifying each site's permalink structure instead.
UPDATE
Maybe try to write your own rewrite rules?
The resulting research is that you can't do what I was after with the default build of Wordpress using the Multisite features and the Wordpress MU Domain Mapping.
The arrangement can work sub-directory separation of sites, but the only way to allow the sub-directory to exist for domain mapped addresses is to build an entirely new plugin that does the domain mapping with support for that, or to modify the Wordpress MU Domain Mapping plugin so that it has the support for it, effectively creating a new plugin out of it.
My client has a Drupal 6 site.
They are now adding another domain to the same site, but the different domain is going to be used by another branch of their company. Therefore, they need some additional content, specific to the other branch's geographic area, in the menu, as well as a slightly different theme on the front page.
So, to make it clearer: domain1.com and domain2.com both point to the very same installation of Drupal on one server, but not 100% of the content is shared between them.
I don't usually work with Drupal, so I'm not sure how to tackle this. How would you approach the issue? Is there a way to add or remove a single menu item depending on the domain that is being used? Is there a way to use a different view in the same scenario?
Both contrib modules and programmatic solutions will be appreciated.
The Domain Access module allows you to have more than one domain with the same database. You can set different themes in the interface per site. This is a good option especially if you have sites where some of the content is shared, while other content only appears on one of the sites. Once it's installed, you'll see an option on the node edit screen to select which sites the content should appear in. Very easy for content editors.
Domain Access is good at managing two different domains with affiliate content (as that's what is designed to do), it does require more configuration that most modules and you need to have control over your site's DNS.
Another good option might be to use Organic Groups. I use this on a site much like the one you're describing. Like Domain Access, you can share the same piece of content with multiple groups. It's just that the Domain Access module is probably a little more streamlined as it's designed to do what you're describing, while OG may require slightly more tweaking.
This use case would suit using a Drupal multisite configuration (http://drupal.org/node/43816) using shared tables. In essence, one site would live in /sites/site1, the other in /sites/site2, with each settings.php file pointing the tables to a shared database table.
I am using a .wordpress.com blog that would like to get some custom page templates, I understand how how to write page templates, but, I don't understand how to get the template onto whatever.wordpress.com without FTP access!
EDIT: I don't want themes, I need to basically make a price form, where users select options, and based on options the price of a product increases, and this price is emailed to the user. I sort of guessed I could use page templates for this, but, I'm open to suggestions.
You are pretty much out of luck for the wordpress.com free feature. For full custom template options, you will need to host your own word press site. Or alternatively, choose a good theme and customize the css / etc, as part of its 'premium' feature:
http://en.wordpress.com/products/
EDIT: side notes
Hosting plans are cheap anyway for wordpress blogs these days, LOL most major host allows it to be pre-installed as you purchase your web-space. At less then US$10 per month, it ain't that bad. Probably cheaper then 'premium' with alot more freedom. (=X unless you already got a really popular bog)
Additionally, wordpress admin interface itself, comes with a built in theme / file editor (if you host it on your own). That allows you to edit the theme / PHP / css files. Though it may lack syntax highlighting, that can be easily remedied with plug-ins.
Install themeforest theme in wordpress.com (similar question)
You can't install custom templates on a wordpress.com blog, only choose whatever is there.
You need your own hosting to be able to install custom themes.
I have a plain-vanilla install of Wordpress on localhost, virtual host in Apache set to:
127.0.0.1 myradiostationhere.com
127.0.0.1 www.myradioanytown.co.uk
and the virtual host works.
However, I don't want to use it as a blog, but as a CMS like here:
http://www.brmb.co.uk/
and
http://www.brmb.co.uk/schedule/
(basically, any pages on that site are database-driven Wordpress pages, not blogs).
I'm not asking how to create pages etc. - I understand that - but rather if anyone knows of the best way to do this.
I'm trying to emulate their look, but with similar CSS stylesheets, as per:
Fair dealing in a work for the purposes of private study or research (s. 29)
under Copyright, Design and Patents Act 1988 (that's the legal bit out the way).
Would I need to edit the PHP files in order to get this to work in the way I intend to?
Anyone here had experience of custom Wordpress CMS design/installs, and how would you recommend I go about this?
(note: This isn't for a live radio station site, it's a development/testing site on localhost!)
You basically want to create WordPress theme.
You will need a bit of PHP editing, but mostly of the copy-and-paste variety (to get you started).
Another option is to download a similar free theme or even buy one.