Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Problem debugging module
andrea.t
#1 Posted : Friday, September 02, 2011 2:58:30 PM(UTC)
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.
andrea.t
#2 Posted : Friday, September 02, 2011 5:35:32 PM(UTC)
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
jifeng
#3 Posted : Wednesday, September 07, 2011 2:13:27 AM(UTC)
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
Users browsing this topic
Guest
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.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.049 seconds.