PDA

View Full Version : Tweaking... for the novice user.


tjordan
5-25-04, 09:52 PM
Ok. I've figured out a LOT thanks to all the help from you guys (and girls) here. I'm very new to PHP, but the basics are coming to me. I've got four design questions that I'd like to pose to you at large:

1.) Is there simple way (cause at this point, a hard way is beyond me) to make a category drop down that's just like the manufacturer's drop-down list on the column-left.php file?

2.) This post is primarily directed at Steve, who I saw posted in reply to another message earlier on this board. I'm seeing some sites who have replaced the default style of their main content frame with a list that looks more like a table. The products are all listed vertically in order down the page, with prices next to them. The default method that OSC generates is that table that shows "what's new for may". I like the look just fine, but it seems a waste to load all those graphics. I like the way his site (www.cheshiregarden.com) looks. Specifically, check out this link:
http://www.cheshiregarden.com/index.php?cPath=23&osCsid=31d8456223e45fed8ed75b52ff56e693

The product table is very neat, very organized, and very easy to read.

3.) I want to generate some of my own pages for the site, such as News, and Updates. How can I make my own pages that generate to look like the site, and keep them updated within OSC? That might be worded badly. If necessary, I can re-explain that one.

4.) How do I change the width of the colmn_left section of the site. My category names are longer than some others, and I'd like that section to be a little wider. If course if you can tell me this, I can probably apply the same idea to the rest of the site as well.


Any help is appreciated: I've just put the site up for the first time, and it's nowhere near live, but if you'd like to check it out for reference, it's at:

http://www.cctwholesale.com/osCommerce/catalog/index.php

Thanks,

Tommy

stevel
5-26-04, 09:07 AM
What you're looking at on my site is just the way the category pages display the product list. I didn't do much tweaking to that other than remove the links for sorting and add my "In Stock" column. I do have installed the contribution which provides custom category pages, so that's why you can see fixed text and images above the product list. The default is just the category image (which I did away with) and the product list.

If you want to see how to do something "just like" what is elsewhere in osC, go look at the source code that does that thing. Dropdown lists are easy to create.

If you'll look at the "About Us" page on my store, you'll see custom content and the rest of the page is the standard store. Make a copy of an existing page, say shipping.php, and modify it as desired.

The width of the columns is specified by a define in application_top.php, I think. Silly place for it.