Search found 17 matches

by joey
Mon Oct 26, 2009 2:02 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

so there's no way to say "IsNotInGroup" or something? Of course it wouldn't be that easy. Thanks for your help William, I'm afraid I just can't get it to work any way I try.
by joey
Mon Oct 19, 2009 9:42 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

thanks for the help, it didn't work, it gives me an error error CS0029: Cannot implicitly convert type 'CommerceBuilder.Users.GroupCollection' to 'CommerceBuilder.Users.Group' i'm trying to show a div that contains a message if the user is not in any groups. if the users are assigned to a group they...
by joey
Fri Oct 16, 2009 12:43 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

i should rephrase this...

if the user is not in any group they will see a message "You do not have subscriptions"
by joey
Fri Oct 16, 2009 11:57 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

well i feel better knowing that i did it correctly. sometimes things work even though they aren't done right. I really need to figure out how to display a message (in a div) if the user is not part of any groups. if there are no subscriptions than they will see a message "You do not have subscriptio...
by joey
Fri Oct 16, 2009 11:40 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

i figured it out... here is what it should look like (i think). here is the ascx.cs code liIntroWinServer2008.Visible = Token.Instance.User.IsInGroup(9); liWinServer2008.Visible = Token.Instance.User.IsInGroup(18); liWinServer2008r2.Visible = Token.Instance.User.IsInGroup(30); liWinServer2008ActDir....
by joey
Fri Oct 16, 2009 11:07 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

here is my code <ul class="left-nav"> <li><asp:Hyperlink ID="IntroWinServer2008" class="rounded" runat="server" NavigateUrl="#" Text="Intro to Windows Server 2008" /></li> <li><asp:Hyperlink ID="WinServer2008" class="rounded" runat="server" NavigateUrl="#" Text="Windows Server 2008" /></li> <li><asp...
by joey
Fri Oct 16, 2009 11:04 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

i have already found an issue with the way i am doing this. I had a list who's list items contained asp link, if the user was not in the group the link would show but an empy <li></li> still appears on the page. I know this is because I'm putting the links inside a <li></li>. I guess I should have (...
by joey
Thu Oct 15, 2009 1:03 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

Re: only show link if you are in a certain group

thanks for that, how can i show a div if the user is not in any group?
by joey
Wed Oct 14, 2009 1:59 pm
Forum: 7.0 Store UI: Layout, Design, Look and Feel
Topic: only show link if you are in a certain group
Replies: 1
Views: 2128

only show link if you are in a certain group

I think i might have posted this in the wrong forum last time... I would like to know how to show a link on the "My Acount" page to only show if you are in a certain group. I was doing this with the htm pages... I would like to know how to show a link on the "My Acount" page to only show if you are ...
by joey
Wed Oct 14, 2009 1:48 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: only show link if you are in a certain group
Replies: 12
Views: 8931

only show link if you are in a certain group

I would like to know how to show a link on the "My Acount" page to only show if you are in a certain group. I was doing this with the htm pages... #if($customer.IsInGroup(18)) <li><a class="rounded" href="#">Windows Server 2008</a></li> #end but obviously it will not work in my MyAccount.ascx page. ...
by joey
Wed Oct 14, 2009 12:21 pm
Forum: 7.0 Store UI: Layout, Design, Look and Feel
Topic: Show subcriptions on My Account page.
Replies: 2
Views: 2634

Re: Show subcriptions on My Account page.

what do I have to add the myaccount.ascx? do i need to add anything to the mayaccount.ascx.cs file as well?
by joey
Fri Oct 09, 2009 2:24 pm
Forum: 7.0 Store UI: Layout, Design, Look and Feel
Topic: Show subcriptions on My Account page.
Replies: 2
Views: 2634

Show subcriptions on My Account page.

I am customizing the My Account page and would like to display (in a list) of all the subscriptions a logged in user has purchased and aren't expired. I assume I need to merge the myaccount.asx.cs and mysubscriptions.asx.cs and also take some line of code out of the mysubscriptions.ascx and add it t...
by joey
Mon Jul 20, 2009 9:36 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: 2 order confirmation emails being sent
Replies: 4
Views: 2966

Re: 2 order confirmation emails being sent

i've checked the template settings it's only triggered once (Order Placed only appears once). Then when i edited the email template, the box Order Placed is checked and HTML email is checked. How can I check to see if an email is being sent manually?
by joey
Mon Jul 20, 2009 8:40 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: 2 order confirmation emails being sent
Replies: 4
Views: 2966

2 order confirmation emails being sent

When someone orders something from trainsignal.com they receive 2 order confirmation emails. Any ideas why this is happening and more important, how do I fix it?
by joey
Thu Jul 16, 2009 10:57 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: stay on page when logging in
Replies: 5
Views: 5434

Re: stay on page when logging in

Works like a charm.

I kindly thank you sir
by joey
Wed Jul 15, 2009 12:14 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: stay on page when logging in
Replies: 5
Views: 5434

Re: stay on page when logging in

Thank you for the help, I could be wrong but it seems that this solution will only work if you are on a product page, am I correct? I was hoping that I could get something working on any page on the entire site, such as the product categories or some of the custom content pages.
by joey
Tue Jul 14, 2009 4:21 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: stay on page when logging in
Replies: 5
Views: 5434

stay on page when logging in

On trainsignal.com when a user is on a products page and logs in, they get redirected back to the home page. Is there any way that a user can remain in the page they logged in on?