HomeHome Product Discus... Product Discus...SmithCartSmithCartView Cart Page Format Issue View Cart Page Format Issue
Previous
 
Next
New Post
4/18/2010 10:15 PM
 

Hi all,

It appears that when the View Cart button is clicked the Page displayed uses the Page Admin Skin Template which has only

one contentpane.

The Cart items are then displayed in the full width of the content pane and is too spread out and not aligned neatly.

I saw in a prior thread that some people were changing the Page Admin user control width.

I hoping there is a better solution ?

Ideally it could use the same Skin as the SmithCart.BuyNow module page.

What I did to prevent the main SmithCart module from taking up the whole page is to use a skin with 2 columns in the content pane and then

put a invisible HTML module in the right column to "left justify" the Smith Cart output.

But, this doesn't work for the View Cart since it is using the Page-Admin user control

http://socaldugorg.web707.discountasp... has a test tab: SmithCart

UPDATE: So I know I could update both Page / Page-Admin .ascx skin files like this to control the width to say 70%

<

div id="ContentPane" style="width:70%" runat="server"></div>

or maybe modify the module.css like this ??? - #ContentPane { width: 70%; }

Thanks for your help.

Regards, Paul

 
New Post
4/19/2010 9:25 AM
 

Paul,

Can you restore the original cart.ascx so I can see what it looks like with your skin before your changes?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
4/19/2010 10:18 AM
 

Hi Scott,

I didn't modify the SmithCart ascx file on this website , I did it locally on my laptop and setting the width in the User Control does provide a "hard coded" fix.

1. SmithCart Main Module

But on my Demo Website which is under construction, the skin for the SmithCart page has 2 columns - left column is larger than right column.

The main SmithCart BuyNow module is in the left pane. I just removed the HTML module in the right pane so the SmartCart takes up the entire content pane. I don't want this so spread out ....

http://socaldugorg.web707.discountasp...

UPDATE: I temporarily added a second tab: SmithCart2 to show the Cart on a page with a right pane filled with an HTML module.

This allows me to control the width of the Cart in the left pane.

http://socaldugorg.web707.discountasp...

2. ViewCart Page

If you add the one item to the Cart and click View Cart you will see that the Cart items are spread out to the full width of the Content Pane.

Again, I don't want this.

So, I'm looking for the best way to control the width of the SmithCart modules in my skin ! I would prefer not hardcoding a width in my Skin User Controls for Page and Page-Admin ascx files.

Thanks for your help, Paul

 
New Post
4/19/2010 6:46 PM
 

Paul,

Using your favorite editor, open up the cart.ascx file located in desktopmodules/smith.buynow folder and on the third line change the table width property from 100% to say 500px or whatever works best with your skin width. I have highlighted the line you should change below:

<table width="100%" runat="server" id="tbMain">

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
4/19/2010 8:26 PM
 

Hi Scott,

Tried changing the width from 100 to 66 but NO change ?

Also, what user control is used for the main buynow page ? is it cart.aspx ?

I put some test HTML Text in the cart.ascx and it only shows on the Checkout ( View Cart ).

Thanks, Paul

 
New Post
4/20/2010 5:07 PM
 

Hi Paul,

I have adjusted the width on the cart for you and attached a copy of the cart.ascx file. Please copy it to your\desktopmodules\smith.buynow folder. If you need to do further adjusting to fit your skin you can play around with the tables and div tags a bit more.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
 Login to download attachment
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartView Cart Page Format Issue View Cart Page Format Issue