Skip to content
Snippets Groups Projects
Commit 685f5d3c authored by Ken Rickard's avatar Ken Rickard
Browse files

-- #375828 by grawat. Adds documentation warning about custom_url_rewrite_outbound().

-- Creates rc6.
parent 8c6b967e
No related branches found
Tags 6.x-2.0-rc6
Loading
......@@ -6,6 +6,8 @@
-- #356614 by blueyed and Pasquale. Cleans up E_NOTICE errors.
-- #368594 bty skizzo. Adds domain batch editing forms for new menu settings.
-- #365654 by _natron. Adds unique class identifiers to Domain Nav output.
-- #375828 by grawat. Adds documentation warning about custom_url_rewrite_outbound().
-- Creates rc6.
16-FEB-2009
......
......@@ -23,7 +23,19 @@ INSTALLATION INSTRUCTIONS
'sites/all/modules'
3. Add the following four lines of code to your settings.php file:
3. Check for existing custom_url_rewrite_outbound().
custom_url_rewrite_outbound() is a special function that you
can add to settings.php to alter how Drupal writes links to content.
If your site already uses this function -- it is not in core -- then
you will receive a PHP fatal error. This is because Domain Access
uses a version of this function as well.
If you encounter this conflict, you need to merge the logic of the
two functions into a single function.
4. Add the following four lines of code to your settings.php file:
/**
* Add the domain module setup routine.
......@@ -37,12 +49,12 @@ include './sites/all/modules/domain/settings.inc';
$db_url. Normally, you should add these lines to the end of the
settings.php file.
4. Go to Admin > Build > Modules. Therre you will see the Domain
5. Go to Admin > Build > Modules. Therre you will see the Domain
module group.
Only enable the Domain Acccess module.
5. Configure permissions for the module, normally you will give your
6. Configure permissions for the module, normally you will give your
site administrators the following permissions:
-- 'administer domains'
......@@ -56,14 +68,14 @@ include './sites/all/modules/domain/settings.inc';
For more information see README.txt.
6. Read the main README.txt file for the Domain Access module.
7. Read the main README.txt file for the Domain Access module.
7. Go to Admin > Build > Domain and configure the module.
8. Go to Admin > Build > Domain and configure the module.
8. Note that as of 6.x.2.0, the primary domain is created for you on
9. Note that as of 6.x.2.0, the primary domain is created for you on
installation.
9. Now you are ready to explore the options available to you.
10. Now you are ready to explore the options available to you.
The Domain Access suite contains a number of optional helper
modules. You do not need to use any of these modules, but
......
......@@ -765,18 +765,14 @@ Note that this does not affect node access permissions set by other modules.
----
4.5 Node Link Patterns
When using this module, there are times when hook_url_alter() will need
to rewrite a node link.
Note that these settings are not available if the hook_url_alter() patch
is not applied.
When using this module, there are times when Domain Access will need to
rewrite a node link using custom_url_rewrite_outbound().
Since Drupal is an extensible system, we cannot account for all possible
links to specific nodes. Node Link Patterns are designed to allow you to
extend the module as you add new contributed modules.
By default, the following core link paths will be rewritten as needed if you
have installed the hook_url_alter() patch.
By default, the following core link paths will be rewritten as needed.
-- node/%n
-- comment/reply/%n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment