I haven recently set up a multisite setup with Live, staging and tag as the domina/subdomains used by the code
in the sites directory I have the modules set up like so:
sites/all/modules/<modules shared by ALL sites>
sites/default/modules/<modules ONLY used by default>
sites/tag.example.com/modules/<modules ONLY used by tag>
sites/staging.example.com/modules/<modules ONLY used by staging>
in the default, staging and tag modules directory are independent copies of modules that I am developing.
However when I add new urls to hook_menu() in any module in staging it is not picked up at all, only when the function is populated to sites/all
further to this, the modules disappear from the admin/modules page
on top of this there is this next issue.
If I place My_Module into the default and staging folder there are times that it either says that a function name cannot be found (when it is blatantly using the module) OR even worse is when it says I cannot re-declare a given function name
So can anyone point out if I am doing something wrong?
Am I putting the modules in the correct places because when I have EXACT duplicates of a module in separate site folders (staging and default but not all) I am able to edit the content and see that the content has been edited but not add new urls/functions that get picked up.
And YES I am flushing all caches when uploading new hook_menu() items and function changes etc
Any Help is appreciated.
Thanks, Jim.