Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Basics for design


toyicebear

Recommended Posts

I hate php, i work only with html and css, is there a way to do it with that instead? somehow? or maybe do it in html and translate it to php? but yet i'm am completely clueless about doing that so i will have to use someone elses templates grrr php seems so limited grrr. ( i mean "design" limited") I want to use div positioning to create my site but I think (as far as I know) php only works with tables right?

and NO i'm not blonde lol

Link to comment
Share on other sites

  • Replies 1.5k
  • Created
  • Last Reply
I hate php, i work only with html and css, is there a way to do it with that instead? somehow? or maybe do it in html and translate it to php? but yet i'm am completely clueless about doing that so i will have to use someone elses templates grrr php seems so limited grrr. ( i mean "design" limited") I want to use div positioning to create my site but I think (as far as I know) php only works with tables right?

and NO i'm not blonde lol

 

 

 

No..you can modify the layout using any html code you wish... php does not put any restrictions on the use of <div> at all. But oscommerce is as default made with a table layout and aspecially the the box file class is in need of modifying if you wish tyo do more of a <div> layout.

 

 

Or if you are strictly html and css orientatet you can look into STS (Simple Template System) which lets you work more or less only with HTML and CSS design wise.

Link to comment
Share on other sites

No..you can modify the layout using any html code you wish... php does not put any restrictions on the use of <div> at all. But oscommerce is as default made with a table layout and aspecially the the box file class is in need of modifying if you wish tyo do more of a <div> layout.

 

 

Or if you are strictly html and css orientatet you can look into STS (Simple Template System) which lets you work more or less only with HTML and CSS design wise.

 

 

WHat is Simple Template System exactly and how to I go about using or getting this?

Thanks

Link to comment
Share on other sites

WHat is Simple Template System exactly and how to I go about using or getting this?

Thanks

 

Click me....

Link to comment
Share on other sites

How do I change "Let's see what we have here" to the actual category name?

 

I know it's in index.php, and I know which occurrence of the many <?php echo HEADING_TITLE; ?> it is, but I can't figure out what the variable name for the category name is.

Link to comment
Share on other sites

How do I change "Let's see what we have here" to the actual category name?

 

I know it's in index.php, and I know which occurrence of the many <?php echo HEADING_TITLE; ?> it is, but I can't figure out what the variable name for the category name is.

 

 

Nevermind... found it over in the installation forum....

http://www.oscommerce.com/forums/index.php?sho...l=test&st=0

 

Of the several suggestions there that I tried, OceanRanch's Dec 20 2003 is the first one that worked.

Link to comment
Share on other sites

hello everybody!

 

how is it possible to remove tables from a box element, for example the shopping cart? I've removed the <table> etc. code from includes/boxes/shopping_cart.php but it is still displayed in my website. when i do a simple change in a comment in the same file, it is shown on the website source code.

 

why are there still tables and how do i finally remove them?

 

the sames for other boxes like categories, i don't get it.

 

what also would help if there is a reference with all the placeholders to use for shopping cart items, category menu items and so on.

 

i don't want to use a template system.

 

 

thank you very much

Link to comment
Share on other sites

hello everybody!

 

how is it possible to remove tables from a box element, for example the shopping cart? I've removed the <table> etc. code from includes/boxes/shopping_cart.php but it is still displayed in my website. when i do a simple change in a comment in the same file, it is shown on the website source code.

 

why are there still tables and how do i finally remove them?

 

the sames for other boxes like categories, i don't get it.

 

what also would help if there is a reference with all the placeholders to use for shopping cart items, category menu items and so on.

 

i don't want to use a template system.

 

 

thank you very much

 

 

Most files also utilizes codes for tables which can be found in this file...

 

includes/classes/boxes.php

Link to comment
Share on other sites

big load of code for a shopping cart...

these tables bring me into hell lol

 

is there anyone out there who has a tableless shopping cart for me?

 

or maybe someone to tell me how to get this thing done. iam no php-programmer but understanding how to build a xhtml strict page.. this code is much too hard for me :D

 

thanks for any help

Link to comment
Share on other sites

big load of code for a shopping cart...

these tables bring me into hell lol

 

is there anyone out there who has a tableless shopping cart for me?

 

or maybe someone to tell me how to get this thing done. iam no php-programmer but understanding how to build a xhtml strict page.. this code is much too hard for me :D

 

thanks for any help

 

Maybe this one....

Link to comment
Share on other sites

 

 

thank you, yeah i've tested that one this afternoon but didn't succeed. for example there is no shopping_cart.php under /includes/boxes and the system itself is totally confusing for me. the comments are in italian language so I don't have a chance understanding it.

 

any other ideas someone?

 

thanks again for help

Link to comment
Share on other sites

Is it possible to let search engine can see the product info content rather than always see all the boxes in culume_left? where i can begin my working? Any tip would be great appriciate.

 

Best regards,

Link to comment
Share on other sites

Is it possible to let search engine can see the product info content rather than always see all the boxes in culume_left? where i can begin my working? Any tip would be great appriciate.

 

Best regards,

 

 

That can be achived by creative table placment, just do a google search....

 

It has also been discussed in this forum before, so a search just might bring it up....

Link to comment
Share on other sites

hey toyicebear it's very nice you're answering all the questions :)

 

but isn't there anyone else who can help a little more in this huge forum? can't be! it's such a big software package and there is no possibility to get this fu***** tables out.

 

and in Version 3 alpha are still tables, can't believe it. Are the programmers living behind the moon? Tables are out (ok for article listing maybe, but NOT FOR MENUS) ;)

Link to comment
Share on other sites

hey toyicebear it's very nice you're answering all the questions :)

 

but isn't there anyone else who can help a little more in this huge forum? can't be! it's such a big software package and there is no possibility to get this fu***** tables out.

 

and in Version 3 alpha are still tables, can't believe it. Are the programmers living behind the moon? Tables are out (ok for article listing maybe, but NOT FOR MENUS) ;)

 

V3 is template driven and also have a tabless template....

 

And your question about tableless osc has been asked countless times, its not just a quick and easy fix...

 

I have made tableless osc versions for clients, but it requires many changes and ofcourse also affects any new mods you add.

 

There are also both STS and BTS template powered shops with tabless designs out there too.

 

Several others have also made more or less tabless osc shops, here are some examples....

 

 

And you will find many css based menu alternatives in the contributions/add-ons section

 

 

Also if you are unable to do any such mods yourself....

 

You can open a new tread spesifically in the interest of making a tableless version of osc ms22 where you can post your progress so far and ask other for input...

 

Or alternatively hire someone to do it for you, and if you are in a sharing mode then document and donate the required changes back to the community.

Link to comment
Share on other sites

I am having issues of my store looking different on other browsers and other monitor sizes. Please help - I am trying to configure my store. Currently it is set for the full screen, but I would like it set for 800 width and centered on the web page. So, when you look at it in a web browser the web page is in the middle of the screen. Could someone please help me and provide me that information, so I can get my website up and running? Thank you. :)

I have installed:

Oscommerce version 2.2rc2a, STS version 4.5.8, Header Tags SEO version 3.1.5, SEO Assistant version 2.1

 

Thanks

Joey

Link to comment
Share on other sites

I am having issues of my store looking different on other browsers and other monitor sizes. Please help - I am trying to configure my store. Currently it is set for the full screen, but I would like it set for 800 width and centered on the web page. So, when you look at it in a web browser the web page is in the middle of the screen. Could someone please help me and provide me that information, so I can get my website up and running? Thank you. :)

 

 

Look for basic design pack or center shop in the contributions/add-ons section

Link to comment
Share on other sites

  • 3 weeks later...

Mr Nick,

 

been trawling through this thread and you seem to be a bit of a genius really! So here it goes:

 

1: I have installed the BDP

2: I have installed the drop shadow contrib

 

I have uploaded some blank .gifs for the top of the infoboxes. I have seen a few other sites, where they have done the same and code osc to display the text on the images, basically "writing the images for you". I would like to know how to do this as this would mean I can just change the text if I want to "move" the boxes around.

 

One problem I have now though after installing the drop shadows, is that the images are not centred with the boxes. they appear to have moved about 3px to the right. Any idea how to fix that issue? And for some reason the search box is now twice the width of the rest of the boxes. Any insight greatly appreciated!!

Link to comment
Share on other sites

Mr Nick,

 

been trawling through this thread and you seem to be a bit of a genius really! So here it goes:

 

1: I have installed the BDP

2: I have installed the drop shadow contrib

 

I have uploaded some blank .gifs for the top of the infoboxes. I have seen a few other sites, where they have done the same and code osc to display the text on the images, basically "writing the images for you". I would like to know how to do this as this would mean I can just change the text if I want to "move" the boxes around.

 

One problem I have now though after installing the drop shadows, is that the images are not centred with the boxes. they appear to have moved about 3px to the right. Any idea how to fix that issue? And for some reason the search box is now twice the width of the rest of the boxes. Any insight greatly appreciated!!

 

1. BDP includes the transparent corners as a default..

 

2. depending on how you installed the drop shadow it might have influenced how your boxes are shown.

 

 

I suggest you go over the install again and check it manually line by line.

 

If that still does not fix your problems, just use BDP and not the drop shadow one

Link to comment
Share on other sites

1. BDP includes the transparent corners as a default..

 

2. depending on how you installed the drop shadow it might have influenced how your boxes are shown.

 

 

I suggest you go over the install again and check it manually line by line.

 

If that still does not fix your problems, just use BDP and not the drop shadow one

 

Thanks, will give that ago. Have you got any idea as to how to display the text on top of an image within osc? Eg: I upload a blue image and want osc to display "categories" on the image, instead of my creating the image with the text so that I can just rename the boxes and move the information around.

 

Thanks!

Link to comment
Share on other sites

Thanks, will give that ago. Have you got any idea as to how to display the text on top of an image within osc? Eg: I upload a blue image and want osc to display "categories" on the image, instead of my creating the image with the text so that I can just rename the boxes and move the information around.

 

Thanks!

 

You can add images as background images for box headers in stylesheet.css

Link to comment
Share on other sites

Is this done in the "TD.infoBoxHeading {" section of the stylesheet?

 

Thanks.

 

 

yes

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...