Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding another item to the login/register bar (DNN 7)Adding another item to the login/register bar (DNN 7)
Previous
 
Next
New Post
4/1/2013 7:08 PM
 
All,

I'd love to add a "cart" link to the area where users login and register in DNN7. Is that possible? Has anyone done something like this? If so, how?

Thanks,
Mark
 
New Post
4/1/2013 7:20 PM
 
Mark,
You should be able to modify your skin for this.  Both the login and user control are skin objects.  You just need to add something to show a link to a cart in the same place and style it.  You could also wrap it in a Is.Authenticated block so it only shows to registered/logged in members.

Finally. some of the store provide a skin object for this as well which might give you more info about qty and value in the cart at any given time for that member.

Roughly speaking (based on the Gravity Skin):

         <div id="login">
   % If Not Request.IsAuthenticated Then%><A href="https://mysite.com/mycart.aspx><img src="<% =SkinPath%>images/cart.gif /></a><% End If %>
            <dnn:USER ID="dnnUser" runat="server" LegacyMode="false" /> 
            <dnn:LOGIN ID="dnnLogin" CssClass="LoginLink" runat="server" LegacyMode="false" />
       </div><!--/login-->




Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
4/2/2013 7:08 AM
 
Steven,

That's perfect., thanks!

Regards,
Mark
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding another item to the login/register bar (DNN 7)Adding another item to the login/register bar (DNN 7)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out