Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi company root path
10-04-2014, 05:23 AM,
#1
Multi company root path
Hi,

I created 2 companies under 2 different databases. Then when I select each company from company select drop down menu url path won't changed according to database name. But I can log in correctly. But url path always shows default company db name irrespective of the selection.

Please let me know how to correct this.

Thanks,

nirosh


Attached Files
.php   config.php (Size: 3.93 KB / Downloads: 4)
Reply
10-04-2014, 07:38 AM,
#2
RE: Multi company root path
The default DB will always show on the login screen ... as the default!
When you login with a different company you are using the same code and URL of course - just a different DB
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
10-06-2014, 02:59 PM,
#3
RE: Multi company root path
(10-04-2014, 07:38 AM)phil Wrote: The default DB will always show on the login screen ... as the default!
When you login with a different company you are using the same code and URL of course - just a different DB

Hello Phil,

Thank you so much for your reply. I have two campanies. (1) kth detailing (db=kthdc) (2)kth Service (db=kthservice). And kthdc is selected as Default company ($DefaultCompany = 'kthlerpc_kthdc'Wink. Pls check attached config.php. But my issue is that when I select kthdc or kthservice URL shows http://www.ktherp.com/kthdc/index.php. As you said though we use same coding, URL of the related DB should display. In my case when I select detailing company it should display http://www.kthlerp.com/kthdc/ and for the kth service company http://www.kthlerp.com/kthservice/.

This is my understanding. Orelse I may got it all wrong. Please advice me on this issue.

Best Regards,

Nirosh
Reply
10-07-2014, 01:17 PM,
#4
RE: Multi company root path
Hi,

I have two campanies. (1) kth detailing (db=kthdc) (2)kth Service (db=kthservice). And kthdc is selected as Default company ($DefaultCompany = 'kthlerpc_kthdc. Pls check attached config.php. But my issue is that when I select kthdc or kthservice URL shows http://www.ktherp.com/kthdc/index.php. As you said though we use same coding, URL of the related DB should display. In my case when I select detailing company it should display http://www.kthlerp.com/kthdc/ and for the kth service company http://www.kthlerp.com/kthservice/.

This is my understanding. Orelse I may got it all wrong. Please advice me on this issue.

Best Regards,

Nirosh
Reply
10-10-2014, 12:44 PM,
#5
RE: Multi company root path
No it should display exactly the same URL - but display the data specific to the selected company.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)