Closed (fixed)
Project:
Subdomain
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2009 at 21:23 UTC
Updated:
10 Mar 2010 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidPatch attached for review.
Comment #2
dave reidThis is a notice that I'm going to be committing a new version of the URL alter module that changes the hooks to hook_url_inbound_alter() and hook_url_outbound_alter(). This is for consistency with the hooks that were accepted into Drupal 7 (#320331: Turn custom_url_rewrite_inbound and custom_url_rewrite_outbound into hooks)!
Please update subdomain_url_alter_inbound() to subdomain_url_inbound_alter() and subdomain_url_alter_outbound() to subdomain_url_outbound_alter() in the patch. Plus this will make your module one-step closer to being Drupal 7 compatible (then you can even drop all the custom_url_rewrite juggling)!
Comment #3
Flying Drupalist commentedIf I apply this patch does this mean I won't have to alter settings.php any more.
Comment #4
savioret commentedI have applied the patch and subdomain module works.
The problem now is that enabling Sub-path URL Aliasing (for exxample editing a node using author mode in subdomain module) the path appears as:
http://mydomain.com/~username/content/content-title/edit
Am I doing anything wrong?
thanks !
Comment #5
dave reid@Flying Drupalist If you had the URL alter module installed, yes it would run it for you and you wouldn't need to make any additions to settings.php.
Comment #6
savioret commentedAny advice for the problem of #4 ?
Should I open it in a separate issue ?
Comment #7
dave reid@birwel: Yes, please open a separate issue.
Comment #8
setvik commentedCommitted. Thanks for the patch!
Comment #9
setvik commentedComment #11
Th30philus commentedI noticed the 6.x-1.7 release is dated after the date of the commit of this patch.
Is this patch in the 6.x-1.7 release? or is it only in 6.x-1.x-dev?
Comment #12
jim kirkpatrick commented@LegacyAtty - I confirm these settings.php methods are not required in 6.x.1.7... FYI this module's readme.txt file in the module says: