655 users online

Login Page V10

1 2 3 Next
Posted: 4 months ago Quote
Hi

I need the login/Registery page as my homepage. In V10 I'm aware there is an option to click on the login.cshtml and use it as the start page. On rebuilding the application and launching the local host server. It doesn't open like so. Does anyone have an idea???

All help greatly appreciated.

Kind Regards

Richard.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 4 months ago Quote
wertyuio1 wrote:
Hi

I need the login/Registery page as my homepage. In V10 I'm aware there is an option to click on the login.cshtml and use it as the start page. On rebuilding the application and launching the local host server. It doesn't open like so. Does anyone have an idea???

All help greatly appreciated.

Kind Regards

Richard.


You cannot use the "Set as start page" option in Visual Studio when working on an MVC project. However, you can set the start page by editing the project properties.

1. Right click on the Nop.Web project.
2. On the left menu select "Web"
3. Set the "Start Action" to a "Start URL" of "/login".

This should provide the desired functionality.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please use the VOTE functionality to recognize helpful or inappropriate posts.

Skyler Severns
http://csharpwebdeveloper.com/
Posted: 4 months ago Quote
Hi,

Thanks so much works a charm...

Learning something new every minute of the day!!!

Thanks again truly grateful Birt :)
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 4 months ago Quote
wertyuio1 wrote:
Hi,

Thanks so much works a charm...

Learning something new every minute of the day!!!

Thanks again truly grateful Birt :)


Glad I could help :).
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please use the VOTE functionality to recognize helpful or inappropriate posts.

Skyler Severns
http://csharpwebdeveloper.com/
Posted: 4 months ago Quote
As we are here I was wondering if you could help further. I'm an a novice to C# MVC and ecommerce in general this is application I have ever deployed.

I have come across your blog/website and find it very useful I was wondering if you could give me a hand with some coding I have been given by a fellow Nop User. I can implement the first part but not the second. Would be okay to PM you for further advise.. ? :)

I have been pulling out what is left of my hair for the last few day's with what is probely an easy change.

Thank you again..
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 4 months ago Quote
So by V10 .. you meant version 2.10 ?

All this time I was thinking nopCom team had released a new Web Forms version !! :s
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
nopCommerce v2.xx themes >> http://www.ncthemes.com

Want better front end features for nopCommerce 2.xx ? Vote up this >> http://nopcommerce.codeplex.com/workitem/10622
Posted: 4 months ago Quote
I meant Visual Studio 2010 sorry missed out the S.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 3 months ago Quote
Hi

With the Login Page as the start page when this goes active in the web with display how do I deactiviate the search option so that the customers have to login or sign on before they have access to the categories and products.

Thanks for all help

Kind regards

Richard.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: 3 months ago Quote
You can wrap everything Search related in an if statement.

@if(Request.isAuthenticated)
{
    // call Ciwan helpful
} else
{
    // He is useless.
}

:)
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
nopCommerce v2.xx themes >> http://www.ncthemes.com

Want better front end features for nopCommerce 2.xx ? Vote up this >> http://nopcommerce.codeplex.com/workitem/10622
Posted: 3 months ago Quote
Hi Ciwan

I understand where your coming (kind of) with wrapping it in if statement I went to the SearchBox.cshtml and tried to enclose the area below

<div class="searchbox">
    @using (Html.BeginRouteForm("ProductSearch", FormMethod.Get, new { onsubmit = "return check_small_search_form()" }))

System.web.HttpRequestBase - missing a using directive or an assembly reference.

Now I am useless/novice on a steep learning curve and any help would be great. We just the customer to have to login before navigating the website or registering. Leaving the header navigation as normal.

Kind Regards

Richard
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 3 Next