Customizing display pages

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
User avatar
KullySupply
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 28
Joined: Wed Feb 20, 2008 10:50 am
Contact:

Post by KullySupply » Tue Feb 26, 2008 8:54 am

What if the ConLib doesn't display things exactly as you would like? I want to remove the "by (manufacturer)" link on the Category Grid Page. It seems like the only way to do that, however, is to edit the actual CategoryGridPage.ascx & CategoryGridPage.ascx.cs files in the ConLib folder (after copying them to the Custom folder). This is where I really hit the wall because, although I've done some programming in PHP & Actionscript, ASP.Net is completely foreign to me.

I hope I'm not making this more complicated than it has to be!

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Tue Feb 26, 2008 9:06 am

Some ConLib controls have parameters, check the ConLib reference in the Admin Help menu first.

But yes, in many cases you will need to modify the user control to achieve customized functionality.

I do it all the time. Just document your changes carefully and future updates own't bite you very hard.

Go learn C-Sharp and ASP.Net 2.0 programming. It's worth it - the flexibility you gain when you can effectively modify the code is remarkable.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Post by Brewhaus » Tue Feb 26, 2008 8:08 pm

Well, I have discovered something for certain- my changes are not taking effect. I broke down and tried the exact change suggested by computernerdy, and it did not make the suggested changes. I even tried restarting IIS... nothing. As I had created my own theme by copying a stock theme, I tried changing the style.css file in the original theme (just in case), and the style-backup file that must have been from an AC upgrade.

So, where do I go from here? I assume that I am not hitting the correct file, or the changes should have an effect.

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Wed Feb 27, 2008 12:26 am

http://www.hot-sauce-depot.com/App_Themes/HSD/style.css

That is the link to the css file your site is using.

Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Post by Brewhaus » Wed Feb 27, 2008 7:11 am

That is the file that I was making changes to with no success. So, I tried the theme that this 'custom' theme was copied from because I had no idea what else to try.

I just tried again, making the change that you show above (just to be certain that I make a change that I know should give a specific result). The lines are still gray and dotted. :(

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Wed Feb 27, 2008 8:32 am

What file is this?

http://www.hot-sauce-depot.com/App_Them ... 080124.css

According to the source code you have that file referenced as a css file also. Which means it process's your newly changed one and then just overwrites it with your backup file. You need to get rid of the backup file..you should save your originals by changing the extension as in change style.css to style.original or something like that.

Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Post by Brewhaus » Wed Feb 27, 2008 9:08 am

I honestly do not know what that file is. I had never touched the style.css file until two days ago when I started trying to make changes, so I just assumed that it must have been a backup made in an upgrade of AC to RC2 or something. Heck, that is not even how I name my backup files, so I know that I did not do it.

Is it possible that someone at AC did this, as I was helping them in getting the DHL stuff working, and in turn they gave me a hand on a couple of things. Maybe they meant to do something and then delete the file after testing, but forgot to. Anyway, I will change the extension on the file and see if everything works. At least we may have found the root of all my pain. :lol:

Thanks so much for the help.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Wed Feb 27, 2008 6:32 pm

Brewhaus wrote:At least we may have found the root of all my pain.
I see you've met my ex-wife.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Post by Brewhaus » Wed Feb 27, 2008 6:56 pm

:lol:
I am sure that she's a pussycat compared to mine!

And more on topic- changing the file extension for the backup style.css file cleared up the problems. Now when I make changes to style.css, it actually affects the layout of the site!

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Wed Feb 27, 2008 7:55 pm

Woot!!

User avatar
calvis
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 710
Joined: Tue Jan 27, 2004 3:57 pm
Location: Redmond, WA

Post by calvis » Wed Feb 27, 2008 11:43 pm

pwnd :)


Moral of the story: Don't judge someone else's pussycat. :lol:

Post Reply