View Full Version : adding custom graphics
shannoncox
March 17th, 2003, 11:54 PM
Anyone know of a thread that will walk me through how to integrate the cart into an existing website?
thanks
Jamie
March 18th, 2003, 04:32 PM
Hi,
I can't think of any thread in particular. The documentation has been updated quite a bit for v1.1.0, and may help explain customization a little better. If you haven't upgraded, you can see the docs here:
http://admindemo.squirrelcart.com/squirrelcart/docs
There are different ways you could integrate an existing site. You could:
1. Rename demo.php to index.php, and use it as your home page. You could then go in and add any custom HTML you like to it to make it match the look you already have.
2. If you don't want to use the cart page as your home page, you could link to the cart page, and make it fit the overall design theme of your existing site.
I noticed the subject of this post was adding custom graphics. You can change many of the images via the menu item that reads something like "MY_CUSTOM_THEME Images...". The images are considered part of the theme, so if you want to make new ones, you need to make a custom theme, set it as your default in your store settings, and work from there. That way, you can always switch back to the default "squirrelcart" theme if you break something.
If you need to know how to change any specific aspects of the cart, please ask, and we will see if we can point you in the right direction.
Thanks,
Jamie
shannoncox
March 18th, 2003, 04:37 PM
this is great Jamie. What I need is to be able to integrate it into a particular site. Can you point me to some instructions on how to keep the overall look and feel of the cart to match the site that I want to integrate it to?
For example, I need to just have the products and categories show up with the site nav to stay the same for the site as well as the header to look like the current site I am working on.
thx
Jamie
March 18th, 2003, 04:43 PM
Hi,
I would make sure you are familiar with the different pieces of PHP code in your cart page (defaults to demo.php for new install). You can move those pieces of code wherever you like. If you have an existing page and want to include that code in it, it has to have a .php file extension. You can rename any HTML file to .php.
You can change the look of the navigation boxes using the "window.php" template. You can also remove certain ones, or move them around. This post might help with that:
http://www.ldev.com/forums/showthread.php?s=&threadid=494
To add a header, you would just put the code for it at the top of the cart page as you would with any other HTML file.
Thanks,
Jamie
shannoncox
March 18th, 2003, 06:20 PM
do i need to change any other settings. once i renamed from demo to index, nothing is showing up. I also went into the config.php file and changed it to index.php.
What do I do?
shannoncox
March 18th, 2003, 06:22 PM
I also am noticing, that after I logout, the theme goes back to default. What am I doing wrong?
Jamie
March 18th, 2003, 07:04 PM
The theme is actually set on a per store and per user basis. You probably need to set the Default Theme field in your store settings to the theme you want to use all the time.
Thanks!
Jamie
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.