Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I use my own custom site design?


Paulie

Recommended Posts

Posted

Hello,

 

I am new to osCommerce and PHP, so please bare with me. I would like to know how I can use my own custom site design with osCommerce? Do I just edit one template with the design and all of my dynamic pages will automatically generate with my design?

 

Also, what is the best editor to use when working with PHP? I currently have Frontpage 2003 which I understand is not really designed for this.

 

Thanks,

Paul

Posted

search contributions for STS to use your own design

great contrib, I use it for all my customers

Need Hosting? Just ask!

Posted

You will probably want to take a look at one of the template systems available, for example http://www.oscommerce.com/community/contributions,1524

 

There are a number of PHP code enditors available to download. PHP Coder is a pretty good one. You can download it from http://www.phpide.de And it is free.

 

I will echo what you have heard about Frontpage with osc. The two don't mix very well. Largely because of the many proprietary changes that Frontpage makes to files and folders.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted

Hey guys,

 

Thanks for the suggestions! Now that know how to use the STS tool a little bit, I have another question. How do I get the page located at /catalog/index.php to load as the default main page when I go straight to the URL? Right now the URL points to index.html which is located in the main root.

 

Thanks,

Paul

Posted

you have to change the .htaccess file in the root directory to something like this:

 

RewriteEngine On

Options +FollowSymlinks

 

RewriteCond %{HTTP_HOST} your_domain.com$

RewriteCond %{REQUEST_URI} !catalog/

RewriteRule ^(.*)$ catalog/$1

 

 

:)

Posted

I'm running on a Windows server so I don't have a .htaccess file. Is there another way?

 

Thanks,

Paul

Posted

You can move everything (folders and files) that are in catalog up one level. Then change all entries in both configure.php files to reflect the new paths.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted

I have a oscommerce website www.duckout.com which is live but which has not been modified much from the basic installation.

 

I paid for an IT guy to install the site originally and it does work and we do sell stuff! Great but now I would like to fix some of the annoying and frustrating thing about the site.

 

I am new to webdesign, PHP and OSCommerce and feel rather frustrated... where do I start! I would like to find an experienced PHP student and duckout of this problem too! If this is possible where do I find such a person?

 

The code seems extreemly complicated and there is always something more.

 

I dare not edit anything as the site would go down and if I back it up it takes ages.. and then I have to restore it back.

 

Is it posible to have a copy on a local machine and "play"??

 

Mark, duckout :huh:

Posted

Or you could use a simply Javascript forwarding code on your index.html page. That's the easiest thing, and what I use for most of mine.

<head><script language="JavaScript"><!--
setTimeout("top.location.href = 'http://www.yourdomain.com/catalog",0000);
//--></script>
</head>

 

the yourdomain part you obviously change. the 0000 is the amount of time in milliseconds that the page will wait before it redirects. 0000 is instant, 1000 is 1 second, 2000 is two seconds, etc.

www.moviesnobs.net - Reel Reviews, Real Viewers
Posted
Or you could use a simply Javascript forwarding code on your index.html page. That's the easiest thing, and what I use for most of mine.
<head><script language="JavaScript"><!--
setTimeout("top.location.href = 'http://www.yourdomain.com/catalog",0000);
//--></script>
</head>

 

the yourdomain part you obviously change.  the 0000 is the amount of time in milliseconds that the page will wait before it redirects. 0000 is instant, 1000 is 1 second, 2000 is two seconds, etc.

I could be wrong, but I have understood that many of the major search engines won't index a site that uses javascript redirects. I know that the pay per click search engine listings (Overture and AdWords) reject such submissions.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted

I use them for most any site I design that's either a PHP include, or an OsCommerce site, and I've never had any problem using a javascript forwarder.

 

Though I also include the META tags within the index.html page, which is what most of the spiders look for.

 

Atleast I know Lycos does, cause I work for them. Though most engines are the same build on the backend.

www.moviesnobs.net - Reel Reviews, Real Viewers
Posted
Atleast I know Lycos does, cause I work for them. Though most engines are the same build on the backend.

 

Shouldn't you be at the company picknick today then?

 

;) :lol: :lol: :lol: :lol: :lol:

Need Hosting? Just ask!

Archived

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

×
×
  • Create New...