• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

TKatch
#1 Posted : Wednesday, October 23, 2013 1:02:20 PM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
How can I change the Admin landing page to the Orders tab instead of Dashboard? The Dashboard maybe useful to some, but 99 out of 100 times we are dealing with orders.

Fewer clicks = save money.
Aaron
#2 Posted : Wednesday, October 23, 2013 7:39:16 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
I'm not sure that's a good idea. The dashboard can be customized to show pertinent information using the three Content Columns and also serves as a place for license notifications and BV Commerce news.

How do you normally get to the admin? If you click the "Go To Admin" link in the top-right corner of your site (on the front end) then you could just modify that link to go to the orders page. If you want to go low-tech you could always bookmark the orders page or set it as your browser's homepage.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#3 Posted : Wednesday, October 23, 2013 11:16:09 PM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
I don't want to get rid of the Dashboard, just don't want to land there. Yes, just navigating from the "Go To Admin" link is what I'm trying to do. I would have thought changing the couple of line items in the AdminPanel.ascx file to BVAdmin/Orders/Default.aspx from BVAdmin/Default.aspx would have done the trick, but not so. Sorry, Aaron, I'm bad at this.
Aaron
#4 Posted : Thursday, October 24, 2013 7:33:02 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
No worries, Tom! Actually you were very close. The code change does happen in the AdminPanel control, but the URL is set in the code-behind file (i.e. AdminPanel.ascx.vb). If you open that file and go to line 24 you'll see where the URL is set.

FYI - when making changes to code we always like to comment them in a very obvious and consistent way across a site so it's easy to identify customizations down the road. We like to retain the original code (or code block) in a commented-out section and then add the changed code rather than simply changing the code. This makes it easier in the future when you look back at this code to see what was changed and better understand why it was changed. Here's an example of how we would make this change:

Code:
' <tkatch> Change admin link to go to Orders page instead of Dashboard
'Me.lnkGoToAdmin.NavigateUrl = Page.ResolveUrl("~/") & "BVAdmin/Default.aspx"
Me.lnkGoToAdmin.NavigateUrl = Page.ResolveUrl("~/") & "BVAdmin/Orders/Default.aspx"
' </tkatch>
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#5 Posted : Thursday, October 24, 2013 9:42:08 AM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
I must be putting this in the wrong file since the link destination doesn't change for me. I'm in BVModules>Controls>AdminPanel.ascx.vb. Is this right? Just replace:

Me.lnkGoToAdmin.NavigateUrl = Page.ResolveUrl("~/") & "BVAdmin/Default.aspx"

with the code above?

Edited by user Thursday, October 24, 2013 9:44:10 AM(UTC)  | Reason: Not specified

Aaron
#6 Posted : Thursday, October 24, 2013 10:45:16 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Correct
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
TKatch
#7 Posted : Thursday, October 24, 2013 11:17:58 AM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
Must be pulling info from somewhere else since it's still linking to /bvadmin/default.aspx.
TKatch attached the following image(s):
GoToAdmin.gif (134kb) downloaded 6 time(s).

You cannot view/download attachments. Try to login or register.
Aaron
#8 Posted : Thursday, October 24, 2013 1:59:04 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Are you sure that you're editing the right set of files on the server?
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
 1 user thanked Aaron for this useful post.
TKatch
#9 Posted : Thursday, October 24, 2013 2:30:02 PM(UTC)
TKatch

Rank: Member

Joined: 1/23/2013(UTC)
Posts: 267
Location: Joliet, IL

Thanks: 64 times
All this time I was trying to modify the WWW-2013 files when I should have been modifying the WWW files. No wonder...

Okay, thanks Aaron.
Aaron
#10 Posted : Thursday, October 24, 2013 2:53:55 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: TKatch Go to Quoted Post
All this time I was trying to modify the WWW-2013 files when I should have been modifying the WWW files. No wonder...

Yeah, I thought you might be editing the staging site rather than the live one.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012