Missing *.ascx files in WebStore.UI project

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/13/2009 5:41:38 PM
Gravatar
Total Posts 4

Missing *.ascx files in WebStore.UI project

I am looking to use the WebStore feature of mojoPortal for our eCommerce functionality. So, I checked out the code from https://forgesvn1.novell.com/svn/mojoportal/trunk
 

I was able to build the "mojoportal-complete-without-silverlight" project successfully. HOWEVER, when I ran in debug mode to step through the code, and specified URL to be http://localhost:60946/WebStoreHome.aspx (VS2008 dev server), I hit a parser error - "The file '/Controls/StyleSheet.ascx' does not exist.". And then when I looked into WebStoreHome.aspx in design-view, there were a whole lot more missing 'Control' files like "~/Controls/WelcomeMessage.ascx" or "~/Control/SiteMenu.ascx" etc. And I did not find any of these files in the 'WebStore/Controls/' folder of the WebStore.UI project.

So, a few questions regarding this:

    (a) What are these files (*.ascx) and where can I find the complete list?

    (b) How come these are missing from svn? Shouldn't these files be part of the solution? Or am I missing something?

    (c) How did the solution build successfully with these missing files/artifacts?

Would appreciate any clarification and suggestions/tips on working with the WebStore component. TIA.

2/13/2009 5:50:29 PM
Gravatar
Total Posts 18439

Re: Missing *.ascx files in WebStore.UI project

Hi,

The problem is you are trying to run the WebStore project as the startup project and it can't run like that. You need to run the main web project mojoPortal.Web. There is a post build event that copies the needed files from webstore up to the main web. You can set break points etc in the code behind files of webstore, but you have to run it by running the main web app mojoPortal.Web. Create a page, add an instance of WebStore to the page like any other content feature. Create products, create offers, configure ecommerce settings.

In VS, right click the main mojoPortal.Web project and set it as the startup project, then hit play.

Hope it helps,

Joe

2/13/2009 7:43:14 PM
Gravatar
Total Posts 4

Re: Missing *.ascx files in WebStore.UI project

Joe,

thanks for the quick response. I was able to set up the WebStore and play around with some of its features.

Thanks again.

~suraj

You must sign in to post in the forums. This thread is closed to new posts.