Jump to content

leemp5

Members
  • Content count

    72
  • Joined

  • Last visited

  1. leemp5

    [Contribution] STS v4

    Bill that is absolutley fantastic thanks so much! Somone told me the first paart about commenting out the catalog/product_info.php code in the general support forum, however it did not work when i enabled sts in the admin, it must have been because i am using a content template, commenting out the code in the sts_inc/product_info.php done the trick. Thanks again i really appreciate it!
  2. leemp5

    [Contribution] STS v4

    Hi bill, i dont mean on the reviews page, i mean on the actual product info page. When a review is written for a product, on the product info page it displays "Current reviews: 1", however when no reviews are written, nothing displays at all. Please compare the two...at the bottom of each page: http://www.game101.co.uk/product_info.php?products_id=30 http://www.game101.co.uk/product_info.php?products_id=28 Somone has got the current reviews:0 to work without STS, however it doesnot work with it, is there a way around this? Thanks for your help.
  3. leemp5

    [Contribution] STS v4

    Hi Bill, Im trying to get the $reviews tag to display "Current Reviews: 0" when no reviews have been written, rather than nothing being displayed at all. I have been given the code to acheive this (http://forums.oscommerce.com/index.php?showtopic=326544) however it does not work with STS. Is there a way to acheive this with STS? Many thanks.
  4. leemp5

    Current Reviews: 0

    Sorry rong board
  5. leemp5

    [Contribution] STS v4

    Hi, sorry iv solved it, i was missing the $startform and $endform tags. Thanks.
  6. leemp5

    [Contribution] STS v4

    Hi Bill, Please could you help me with a small problem i have? Iv used the $addtocartbutton tag to insert the add to cart button in my $content template, however it does not work when clicked, when i take a look at the code i notice the tag is only calling up the image, there is no link. I know with the $reviewsbutton tag there is also the $reviewsurl tag, is there something similar for the $addtocart button? There is no mention of it in the STS documentation. Many thanks
  7. leemp5

    [Contribution] STS v4

    Hi, When creating a $content template, and using the $reviews tag (the text with the number of reviews for the item. Empty if no reviews are available), is it possible to make it display "Current Reviews: 0" if no reveiws are available, rather than it just not displaying anything at all? Many thanks.
  8. leemp5

    [Contribution] STS v4

    Hi sorry for the repost, i copied the wrong thing. Iv sorted the problem. Using the $content template, when viewing the page source i noticed the $templatedir tag does not work, it simply stays as $templatedir rather than calling up the location to the image. All iv done is wrote the location to the image to get it to work. Many thanks.
  9. leemp5

    [Contribution] STS v4

    Hi, thanks for the reply. My content template is located in sts_templates/test/content/product_info.php.html, iv tried using $templatedir/images/image.jpg with the image located in both sts_templates/test/images/image.jpg and sts_templates/test/content/images/image.jpg but the image dosent show up with either. Is there somethibng else i can do? Thanks for your help.
  10. leemp5

    [Contribution] STS v4

    Hi, thanks for the reply. My content template is located in sts_templates/test/content/product_info.php.html, iv tried using $templatedir/images/image.jpg with the image located in both sts_templates/test/images/image.jpg and sts_templates/test/content/images/image.jpg but the image dosent show up with either. Is there somethibng else i can do? Thanks for your help.
  11. leemp5

    [Contribution] STS v4

    Hi, I have created a $content template (sts_templates/test/content/product_info.php.html). However every time i try and add an image to the html code it never displays on the webpage. Is there a way to get these images to show up? Also i am trying to increase the size of the image displayed on the product info page only. More details are at http://forums.oscommerce.com/index.php?sho...p;#entry1357388 This works when "Use template for product info page" in the admin is set to false, however it does not work when trying to use my template. Is there a way to get this to work? Many thanks.
  12. leemp5

    [Contribution] STS v4

    Hi, I have created a $content template (sts_templates/test/content/product_info.php.html). However every time i try and add an image to the html code it never displays on the webpage. Is there a way to get these images to show up? Many thanks.
  13. leemp5

    [Contribution] STS v4

    Hi everyone. I have created a template for the category pages of my website, which display the products in a list using the $content tag. You can see it here at: http://www.game101.co.uk/index.php?cPath=22 Iv been reading how to create $content templates for the product info pages, but can it be done for the content of the category pages? As i want to change the fonts and sizes, move Displaying 1 to 3 (of 3 products) from the bottom of the page to the top of the page for example. And more importantly add a spacer image between each product to seperate them, and add additional information such as release date, an image displaying the age classification and format, rather than solely displaying the product name. All help appreciated! Many thanls.
  14. leemp5

    [Contribution] STS v4

    Hi again. The script for my menu is located inside a <div> tag in the page body so it can be positioned correctly. If i remove it from the body and place it in the head i cannot position it, it will always appear in the top left corner of the browser. Is there a way around this? Many thanks.
  15. leemp5

    [Contribution] STS v4

    Hi, thanks again, The code for my menu is as follows: <div id="menu"> <img style="position:absolute; top:0px; left:0px;" src="$templatedir/images/menu/menu_top.jpg" /> <script type="text/javascript" src="http://www.game101.co.uk/includes/sts_templates/test/data.js"></script> <img style="position:absolute; bottom:0px; left:0px;" src="$templatedir/images/menu/menu_bottom.jpg" /> </div><!--menu end--> As you can see the link to the external .js file is not in the head it is in the actual content of the page. Does this mean it is not possible to get it to work? Also the javascript code that links to the categories is as follows: ["DS","", "", "", "", "", "", "0", "", "", ], ["|View All","http://www.game101.co.uk/ds/all.html", "", "", "", "", "", "12", "", "", ], ["|Action","http://www.game101.co.uk/ds/action.html", "", "", "", "", "", "12", "", "", ], ["|Activity","http://www.game101.co.uk/ds/activity.html", "", "", "", "", "", "12", "", "", ], ["|Adventure","http://www.game101.co.uk/ds/adventure.html", "", "", "", "", "", "12", "", "", ], ["|Classic","http://www.game101.co.uk/ds/classic.html", "", "", "", "", "", "12", "", "", ], ["|Fighting","http://www.game101.co.uk/ds/fighting.html", "", "", "", "", "", "12", "", "", ], ["|Hardware","http://www.game101.co.uk/ds/hardware.html", "", "", "", "", "", "12", "", "", ], ["|Platform","http://www.game101.co.uk/ds/platform.html", "", "", "", "", "", "12", "", "", ], ["|Point and Click","http://www.game101.co.uk/ds/pointclick.html", "", "", "", "", "", "12", "", "", ], ["|Puzzle","http://www.game101.co.uk/ds/puzzle.html", "", "", "", "", "", "12", "", "", ], ["|Racing","http://www.game101.co.uk/ds/racing.html", "", "", "", "", "", "12", "", "", ], ["|Role Playing","http://www.game101.co.uk/ds/roleplaying.html", "", "", "", "", "", "12", "", "", ], ["|Sport","http://www.game101.co.uk/ds/sport.html", "", "", "", "", "", "12", "", "", ], ["|Strategy","http://www.game101.co.uk/ds/strategy.html", "", "", "", "", "", "12", "", "", ], Please could you tell me how to intergrate the link into that. Thanks so much your help is really appreciated! Top Man!
×