tanya74 Posted September 22, 2006 Posted September 22, 2006 Hi, I am new to Oscommerce and there's alot to learn!! I am having a slight problem with adding images to the infobox headers. I installed a contribution to add a login infobox and have added an image to that but can't figure out how to do the other ones. Wasn't sure if I added another contribution which is affecting it. where have I gone wrong?? not sure if I'm using the right terms here so here's the link so you can see what I've added to the login infobox www.kidzfashionzone.co.uk/osc Feel free to comment on the look of the site too but be gentle it's nowhere near finished yet Can someone help me please in simple easy terms
jpweber Posted September 22, 2006 Posted September 22, 2006 Tanya -- here's how you can do your infobox headers: (1) Make the pictures. (2) Upload the pictures to your osc/images directory. (2) Adjust the width in osc/includes/application_top.php. You'll see a line that looks like this in that file: // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) Change to whatever width you want (probably the width of the pictures you make). ** extra ** Also, while you're in application_top, why don't you get rid of the extra unnecessary breadcrumb. Search for: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link("FILENAME_DEFAULT")); Comment out the first one and change to: // $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link("FILENAME_DEFAULT")); ** extra ** (3) Go to osc/includes/languages/english.php In that file, search for your infobox headers. For instance: // categories box text in includes/boxes/categories.php define('BOX_HEADING_CATEGORIES', 'Categories'); change to: // categories box text in includes/boxes/categories.php define('BOX_HEADING_CATEGORIES', '<img src="images/whateverpictureyoumake.gif" alt="">'); ** extra ** While you're in there, search for: define('HEADER_TITLE_CATALOG', 'Catalog'); change to: define('HEADER_TITLE_CATALOG', 'Home'); ** extra ** That should do it. Hope this helped. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
tanya74 Posted September 22, 2006 Author Posted September 22, 2006 you are a genius, thankyou so much for helping me. I have been staring at this for 2 days trying to work it out. I've only done the categories one atm but now it has an extra bit to the right of it (not in my original image). Also can't get the breadcrumbs thing to work keep getting a syntax error.
jpweber Posted September 22, 2006 Posted September 22, 2006 lol Tanya. I see what you've done. PM me on yahoo messenger, if you have it, ivy_league_alum, or just e-mail me ... not in here, but at my regular e-mail (in my profile), and I'll fix it for you. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
jpweber Posted September 22, 2006 Posted September 22, 2006 Try this, first, Tanya, for your infobox headings. Open up your osc/stylesheet.css. Find these lines (And I'll bold for ya the things that are important): TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #C7FFFE; color: #ffffff; } Change to: TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #FFFFFF; color: #ffffff; } Voila. Okay, now on to the breadcrumbs, although I think you'll need to message me for that. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
jpweber Posted September 22, 2006 Posted September 22, 2006 Here's how my breadcrumbs are in application_top, Tanya; just copy mine: // $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link("/")); Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
jpweber Posted September 22, 2006 Posted September 22, 2006 Don't forget -- when you're making a picture heading for something like your shopping cart, which should be linked to, open up your osc/includes/languages/english.php. then where you see this line: define('BOX_HEADING_SHOPPING_CART', '<img src="images/thepictureyoumadeforthis.gif">'); Change to: define('BOX_HEADING_SHOPPING_CART', '<a href="shopping_cart.php"><img src="images/thepictureyoumadeforthis.gif" alt="View Shopping Cart" border="0"></a>'); This way, when the customer mouseovers the shopping cart category header box, they can link themselves to the shopping cart. Do this for product reviews, too, okay? Sound good? Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
tanya74 Posted September 22, 2006 Author Posted September 22, 2006 right, I have done what you said apart from the last bit as it's getting late now and I'm really sleepy, will do that in the morning. I have been working on this site since Monday and my head is so full of code it all mingles into one :lol: Can you just check my site again and make sure the breadcrumbs thingy is ok now. thankyou for all your help :thumbsup:
jpweber Posted September 22, 2006 Posted September 22, 2006 Breadcrumbs are perfect, Tanya! Good job! Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
jpweber Posted September 22, 2006 Posted September 22, 2006 Uhm ... you would really really benefit by forking up the 20-50 bucks (us dollars) for an SSL, Tanya. E-mail me if you need help in buying/installing SSL. SSL will encrypt data enterered into your website by the customer -- and this includes everything from their name, to their credit card number. Want your customers to have confidence shopping at the Kids Fashion Zone? Better get SSL! It wouldn't hurt to protect and secure your ADMIN, as well! lol ... Get the SSL, Tanya; if you need help, let me know. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
tanya74 Posted September 22, 2006 Author Posted September 22, 2006 flippin' eck there's so much to learn, I have seen posts about SSL but haven't got that far yet. What do you mean secure my ADMIN I thought it was aaarrrrgggghhhh. can you get into my admin section then oh no!!!!
docomo Posted November 24, 2006 Posted November 24, 2006 Uhm ... you would really really benefit by forking up the 20-50 bucks (us dollars) for an SSL, Tanya. E-mail me if you need help in buying/installing SSL. SSL will encrypt data enterered into your website by the customer -- and this includes everything from their name, to their credit card number. Want your customers to have confidence shopping at the Kids Fashion Zone? Better get SSL! It wouldn't hurt to protect and secure your ADMIN, as well! lol ... Get the SSL, Tanya; if you need help, let me know. Hey buddy you have to clarify your statement is valid only about encrypting the customer data while traveling between the customer's browser and the seller's website . The default osCommerce (osC) option for paying with credit card stores the credit data non-encrypted in the osC database on the hosting server. This data includes credit card number and expiration date (this is NOT the case with PayPal payment - you, the seller, never store or see the customer credit card info when using PayPal). Storing non-encrypted credit card data is a major violation of Payment Card Industry (PCI) Data Security Standard - Self-Assessment Questionnaire (mandatory for even the smallest merchant/service provider processing credit card data), see item 3.5 there, page 6. If your website is ahcked (happens with hundreds every day!), all your data can be copied easily. osC database password is stored in clear text (not that if encrypted that will stop the hackers from dumping the database, but will at least slow them down a bit).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.