-
- 591 Posts
@ganeshXL
Both. You should add all new hosts to HOSTS file (both with www and w/o). And then add all this hosts to VirtualHost section in ServerAlias directive. Actually I don’t remember right syntax, so use the documentation for this directive.
I use russian all-in-one complex D.n.w.r. (WAMP) and it’s much simplier to do it, because it’s pretty configurable. I think there are some all-in-one complexes on English language exist.
-
- 1,039 Posts
@Andrey: Beside the problem with the regex, did the tutorial work for you?
-
- 1,039 Posts
1. Good question. If you put in the complete link (by hand) it should work. A [~45~] link will not work I think, because it will generate a link to the same domain (because of the base href). I would be perhaps possible to intercept the onDocFormSave and look for internal links, look where they belong to and rewrite them to the correct domain. Will look into this, but next week.
2. No automatic stuff yet. But perhaps there is something on the horizon... A friend of mine is dealing with this topic, he wanted to create a set of plugins for a better language handling. I will ask him how far he got yet.
This look pretty neats.
Is it possible to restrict the available templates to a specific domain i.e. www.domain1.com can only access and see domain1.com template?
Thanks Aaron
From what I understand today with MODx there are no permissions you can get on Templates.
I have a similar issue at the moment where a site has 10 templates depending on type of page to be published. The problem we have today is that yes we can create roles for news editors and lock them down to the news folder tree there still seems to be no way to lock down on templates allowed to use, so a news editor could infact create a page using a blog template for example.
If I’m missing the obvious let me know