Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 13 votes

Basics for design


1457 replies to this topic

#1381 czarny30

  • Community Member
  • 3 posts
  • Real Name:Norbert

Posted 18 August 2009, 11:39

And how to add the background on the entire party background from the jpg image ?

#1382 Job

  • Community Member
  • 30 posts
  • Real Name:Joop Ongenae

Posted 18 August 2009, 12:21

View Postsilverboy65, on Aug 16 2009, 03:44 PM, said:

i know where is the code
i want know how to remove that space
working with boxes.php and css file but don't work

Change

  <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

to

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">

You' ll find this code twice on every page (like index.php and product_info.php etc) just above

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

and

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>


#1383 silverboy65

  • Community Member
  • 17 posts
  • Real Name:silverboy

Posted 19 August 2009, 01:18

View PostJob, on Aug 18 2009, 04:51 PM, said:

Change

  <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

to

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">

You' ll find this code twice on every page (like index.php and product_info.php etc) just above

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

and

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

thanks
that space now is smaller but still is there

#1384 design_idea

  • Community Member
  • 2 posts
  • Real Name:Design Idea

Posted 09 September 2009, 10:48

View Posttoyicebear, on Aug 16 2009, 10:53 AM, said:

includes/classes/boxes.php



remove this function and every thing will be doing well
new infoBox($info_box_contents)

#1385 lovesdonut

  • Community Member
  • 53 posts
  • Real Name:Sabrina

Posted 29 September 2009, 20:14

Thanks Nick so much for your help! It works. After I uploaded a new picture of pixel_trans.gif to the image folder, all the empty gaps are gone. Thanks a lot :-) You are wonderful!

#1386 graeme john

  • Community Member
  • 44 posts
  • Real Name:graeme belle

Posted 11 October 2009, 02:22

One thing I use constantly to over come html formatting that goes awry when adding contributions is dreamweaver. I have a modified design that has developed over the years with around 150 or so contributions. When doing modifications I view my source and paste into dreamweaver and 9 times out of ten there are errors. It sometimes takes a little trial and error to get things clean, too many nested tables, but it works for me. Although osc code may render in a browser it doesn't mean the code is OK and bots can follow it.

#1387 jgessentials

  • Community Member
  • 33 posts
  • Real Name:Julien Griffault

Posted 12 October 2009, 01:19

Hi

I have been reading this great post and have gotten some great info thank you!
I would like to know how I can remove the 'New Products' displayed from the catalog homepage. I am not talking about the box on the right or left but the main 'frame' at the bottom of the page that displays the recently added products. I would like that page to only have text.

I apologize if this has been already addressed in this post.
Thank you
Julien

#1388 toyicebear

  • Community Member
  • 5,474 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 12 October 2009, 03:05

View Postjgessentials, on 12 October 2009, 01:19, said:

Hi

I have been reading this great post and have gotten some great info thank you!
I would like to know how I can remove the 'New Products' displayed from the catalog homepage. I am not talking about the box on the right or left but the main 'frame' at the bottom of the page that displays the recently added products. I would like that page to only have text.

I apologize if this has been already addressed in this post.
Thank you
Julien


Just remove the last of the include products_new reference lines close to the bottom of the index.php file
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#1389 trophy

  • Community Member
  • 201 posts
  • Real Name:G Andrews

Posted 08 February 2010, 05:04

Has this thread died?
I have tried to post a new topic bu nothing happens.

#1390 trophy

  • Community Member
  • 201 posts
  • Real Name:G Andrews

Posted 08 February 2010, 05:06

Well that worked.
I would like to know how I can alter the height of the "information box" on the front page.
I do not want to change any of the others.
appreciate any help

#1391 toyicebear

  • Community Member
  • 5,474 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 08 February 2010, 15:52

View Posttrophy, on 08 February 2010, 05:06, said:

Well that worked.
I would like to know how I can alter the height of the "information box" on the front page.
I do not want to change any of the others.
appreciate any help

You can do that by editing this file:

includes/boxes/information.php
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#1392 kuush

  • Community Member
  • 5 posts
  • Real Name:Shaun

Posted 08 February 2010, 23:56

View Posttoyicebear, on 08 February 2010, 15:52, said:

You can do that by editing this file:

includes/boxes/information.php

Hi there, thanks for your advice regarding altering the index.php to remove all the new products added on the front page.

i was wondering if you knew how to add products that I want on the front page.

Any help would be greatly appreciated.

Thanks.

#1393 toyicebear

  • Community Member
  • 5,474 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 09 February 2010, 04:47

View Postkuush, on 08 February 2010, 23:56, said:

Hi there, thanks for your advice regarding altering the index.php to remove all the new products added on the front page.

i was wondering if you knew how to add products that I want on the front page.

Any help would be greatly appreciated.

Thanks.


Install the Featured products add-on , it replaces the new products with a system where you in admin can choose which products to show.
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#1394 thebodhiman

  • Community Member
  • 18 posts
  • Real Name:Stephen Busch

Posted 09 February 2010, 22:39

View Posttoyicebear, on 04 March 2005, 18:05, said:

The look of osCommerce is fairly easy to change...it usually only requires the change of no more than 5 files..


1. includes/header.php
2. includes/footer.php
3. includes/left_column.php
4. includes/right_column.php
5. Stylesheet.css

Have fun... B)

Hi toyicebear

I downloaded your basic design pack, you suggest that all is needed is to drag it across shop?? do you mean drag the folder to somewhere in oscommerce page? what I am creating is an oscommerce site that resembles my website, so perhaps your vanilla install tutorial will help me most?
any advice appreciated, thanks for your help and posts
regards
Stephen

#1395 toyicebear

  • Community Member
  • 5,474 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 10 February 2010, 03:51

View Postthebodhiman, on 09 February 2010, 22:39, said:

Hi toyicebear

I downloaded your basic design pack, you suggest that all is needed is to drag it across shop?? do you mean drag the folder to somewhere in oscommerce page? what I am creating is an oscommerce site that resembles my website, so perhaps your vanilla install tutorial will help me most?
any advice appreciated, thanks for your help and posts
regards
Stephen


You use a ftp program or your web hosting control panels file manager to add up the specified files and folders overwriting the "same" ones from the original shop.


Or you can follow the instructions given in the step by step design tutorial and do the cahnges manually.
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#1396 ukracer

  • Community Member
  • 272 posts
  • Real Name:Andy Taylor

Posted 13 February 2010, 17:34

Has any one got a tip on how to edit the basic pages when I have already installed a new layout contrib.

This is my site http://www.mistatees-rc.co.uk

I have checked for the basic layout of 5 files as highlighted earlier in the thread, but those files do not exist any more.

Thanks in advance

#1397 multimixer

  • Community Sponsor
  • 3,437 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 13 February 2010, 17:37

View Postukracer, on 13 February 2010, 17:34, said:

Has any one got a tip on how to edit the basic pages when I have already installed a new layout contrib.

This is my site http://www.mistatees-rc.co.uk

I have checked for the basic layout of 5 files as highlighted earlier in the thread, but those files do not exist any more.

Thanks in advance

If you installed a template, then the only one who can really tell you whats going on is the template seller. Impossible to know how each one create his websites, what files he use and what he change on the core osCommerce. Did you ask?

#1398 ukracer

  • Community Member
  • 272 posts
  • Real Name:Andy Taylor

Posted 14 February 2010, 00:28

View Postmultimixer, on 13 February 2010, 17:37, said:

If you installed a template, then the only one who can really tell you whats going on is the template seller. Impossible to know how each one create his websites, what files he use and what he change on the core osCommerce. Did you ask?

Thanks for the reply.

I did not buy the template its free and no info on who did make it.

My problem is its not obvious (unlike normal HTML) where the content is stored. If you searched a normal site with say 10 pages for the word book , where book was a heading under which books were listed you would locate the code that needed altering. With PHP its not like this is it!

I searched the whole site for the word book and it seems not to exist.

#1399 ukracer

  • Community Member
  • 272 posts
  • Real Name:Andy Taylor

Posted 14 February 2010, 01:07

View Postmultimixer, on 13 February 2010, 17:37, said:

If you installed a template, then the only one who can really tell you whats going on is the template seller. Impossible to know how each one create his websites, what files he use and what he change on the core osCommerce. Did you ask?

The stupid part is I actually already altered the text in the center of the site but can not for the life of me work out how to do it now.....? Weird.

#1400 ukracer

  • Community Member
  • 272 posts
  • Real Name:Andy Taylor

Posted 14 February 2010, 01:11

View Postgraeme john, on 11 October 2009, 02:22, said:

One thing I use constantly to over come html formatting that goes awry when adding contributions is dreamweaver. I have a modified design that has developed over the years with around 150 or so contributions. When doing modifications I view my source and paste into dreamweaver and 9 times out of ten there are errors. It sometimes takes a little trial and error to get things clean, too many nested tables, but it works for me. Although osc code may render in a browser it doesn't mean the code is OK and bots can follow it.


How do you find out what files to alter as they are produced in real time are they not??