Kooboo Forum
»
Kooboo CMS
»
Extension
»
Problem debugging module
|
Rank: Newbie Groups: Registered
Joined: 8/31/2011(UTC) Posts: 6
|
Hi, I'm writing a Kooboo Module. To debug the module I've created a custom site (named site1) in the CMS an then I've copied Cms_Data into module directory. When I run the module project to access module backend I navigate to http://localhost:6592/dev~site1/admin, to access frontend http://localhost:6592/dev~site1. In backend all module menu items link to http://localhost:6592/Admin?....... dev~site1 is missing so I have to manually correct in http://localhost:6592/dev~site1/Admin?....... every time. In tutorials.txt is written ' Map "127.0.0.1" and "localhost" to the custom site.' But I've not found how to do this. I've tried Project->Properties->Web->Use Local IIS Web Server creating a Virtual directory but this didn't work.
Can you explain how to do this?
After that how can I access to module frontend? Do I have to install module in CMS, setup a page which include the module an then copy Cms_Data to module directory again?
Thank you in advance.
|
|
|
|
|
|
|
Rank: Newbie Groups: Registered
Joined: 8/31/2011(UTC) Posts: 6
|
I've found the solution. The problem occurs only when I create the module project in a sub folder of Kooboo.CMS If I create module project in Kooboo.CMS all works fine.
So this is wrong Kooboo.CMS\Modules\Kooboo.CMS.Module1 and this is right Kooboo.CMS\Kooboo.CMS.Module1
Strange thing, I think this is a bug.
Kooboo Team do you confirm this?
Best regards
|
|
|
|
|
|
|
Rank: Administration Groups: Administrators, Registered
Joined: 9/3/2009(UTC) Posts: 1,552 Location: Xiamen China
|
I an not sure if it is a bug. will confirm it later. Regards, Jifeng Huang
Kooboo Team
Microsoft ASP.NET MVP
|
|
|
|
|
|
Kooboo Forum
»
Kooboo CMS
»
Extension
»
Problem debugging module
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.