Jump to content

lezperez

Members
  • Content count

    22
  • Joined

  • Last visited

Everything posted by lezperez

  1. lezperez

    [Contribution] STS v4

    Anyone got any idea about my problems (3 posts up)? I'm not 100% sure they are STS related, so I hope this is the right place.
  2. lezperez

    [Contribution] STS v4

    Right I've pretty much got my site up and running but I have a small problem. Im just using one template file (for the moment) and with a $headercontent tag in the head section, a $breadcrumbs tag and a $content tag. Shop Problem 1: The page title in the header info generated by $headercontent is always the same, the shop name. I thought it would be the name of the product? Problem 2: This maybe related to the first problem, but the the breadcrumb navigation doesn't show the name of the products at all. It shows the categories names and then the seperator and then a blank. Problem 3: The new products table and the also purchased table are generated without a header eg on a default install you get the table that says "New products for..." on the index page. As im using the $content tag, I thought this would be pulled in automatically? Sorry for the long post! Any help would be greatly appreciated. My setup: 2.2rc2a OptionTypes 2.1.3_1 STS 4.6
  3. lezperez

    STS Fatal Error

    Hi this is my shop: Pink Heaven Gift Ideas Name: Guest Password: pwd2109 So I'm using STS and OptionTypes. I've managed to do pretty much everything on my own after reading ALOT on these forums but I've hit a problem. I keep getting an error when trying to upload an image on the product pages. For example, goto Holidays->Easter->Easter Egg and Photo and select a file and add to cart. This is the error I get: Fatal error: Call to a member function image() on a non-object in catalog/includes/functions/html_output.php on line 78 So this is the code on line 78 in the html_output.php file: // START STS v4.4: global $sts; $sts->image($src); // Take image from template folder if exists. // END STS v4.4 So I guess its something to do with STS? I have had the error appear at other times but not consistently. Any help appreciated!
  4. lezperez

    STS Fatal Error

    All sorted! Check my thread linked in the post above.
  5. lezperez

    [Contribution] STS v4

    Fantastic! Thank you very much that did the trick! Hopefully I can finally finish my shop!
  6. lezperez

    STS Fatal Error

    Sorry I should have been more clear! I have edited it to make it more clear and posted to the STS forum here My Post Thanks
  7. lezperez

    [Contribution] STS v4

    Hi this is my shop: Pink Heaven Gift Ideas Name: Guest Password: pwd2109 So I'm using STS4.6 and OptionTypesV2.1.3_1. I've managed to do pretty much everything on my own after reading ALOT on these forums but I've hit a problem. I've created an option for some products so that the buyer can upload a photo to be used on the chocolate bar wrapper. I keep getting an error when trying to upload the photo. For example, goto Categories->Holidays->Easter->Easter Egg and Photo and select a file and add to cart. This is the error I get: Fatal error: Call to a member function image() on a non-object in catalog/includes/functions/html_output.php on line 78 So this is the code on line 78 in the html_output.php file: // START STS v4.4: global $sts; $sts->image($src); // Take image from template folder if exists. // END STS v4.4 So I guess its something to do with STS? I have had the error appear at other times but not consistently. Any help appreciated! EDIT: I am not using a product_info.php.html template
  8. lezperez

    STS Fatal Error

    Anyone?
  9. lezperez

    [Contribution] Option Types v2

    Just rename the installation instructions from a txt file to rtf and open with word.
  10. lezperez

    Help with my first template

    Tada! I forgot about the :first-child selector! I just put the border on the top instead of the bottom and removed it using a:first-child! Problem solved thread can be closed.
  11. Right this is my first attempt at setting up a shop so I'm learning as I go. My wife currently runs 3 websites which I designed for her and she wishes to have a shop that matches the look of her site here: www.pink-heaven-party-ideas.com. So I currently have a fresh osCommerce install running under xampp on my computer and have successfully added STS. I have had a look at the sample themes and dived straight into my own which is great so far but now I've hit my first snag. If you look at my wife's site at the navigation menu in the left column this is how I wish the Categories infobox to look. The menu is made up of a ul with class names for the header and the last li to specify the background of the header and the lack of dotted border on the last li. Now using the $categories$ tag in my template it is formatted into a table. I can style the a tags instead to get the dotted borders and I've put a div around the whole infobox in my infobox.php.html file to get the pink outline but heres my problem: There are two extra rows in the outputted table that I wish to get rid of (the first and last) containing pixel_trans.gif I wish to not have the dotted border on the last item in the list I looked in includes/boxes/categories.php but the actual table itself doesn't seem to be constructed from here, only the middle tr containing all the links. It did have a br tag inbetween each link which I removed. I also need a class name attached to the last a tag so I can remove the border. Anyhelp would be greatly appreciated.
  12. lezperez

    Help with my first template

    Thanks Chris. I managed to find the generated code for the info boxes in classes/boxes.php and commented out the lines that create the extra table rows that I didn't want. Now I just need to find out how to add a "class=last" attribute to the last link in the category box so I can target it and remove the bottom border in the CSS. All the links are generated in boxes/categories.php and output in order. However my knowledge of PHP is very limited so I'm at a loss!
  13. lezperez

    Help with my first template

    Anyone? I just want to know where the code for the table in the categories box is generated so I can modify it.
×