Jump to content

bythevineyard

Members
  • Content count

    88
  • Joined

  • Last visited

Profile Information

  1. bythevineyard

    [Contribution] Login Page a la Amazon

    Thanks. Am I correct in assuming I should make the changes to the individual files myself and not just copy over what was in the download??? Dave
  2. bythevineyard

    [Contribution] Login Page a la Amazon

    Great contribution. It's nice and clean. Can you (or anyone) tell me if there are any problems installing it with STS Templates contribution???? I see a lot of people are having problems getting it installed. What do you think the biggest mistake is that they are making? Best, Dave
  3. bythevineyard

    [contribution] Simple Template System (sts)

    Does the $urlcat tag work? Anybody know? I am having a heck of a time sharing security with two domains. I have no problem with the secure pages using another urlpath, but then the links if I use relative stay with that url path and will not work. If I use absolute urls to reference secure pages then the next page won't load without a warning because it has http links in it.... It's a big circle and making my head hurt! Will using $urlcat help this? Thanks Brian for this wonderful contribution. It looks to be a big hit with everyone. Best, Dave
  4. bythevineyard

    [contribution] Simple Template System (sts)

    Brian - Thought of a better way to phrase my question. If I have a home page outside of the oscommerce site with a shopping link, how do I get it to pass the session variable if a user goes from the shop to the original home page and back?
  5. bythevineyard

    [contribution] Simple Template System (sts)

    Brian- I want to have my home page in the /best directory, and then when you click on a category or shopping it goes over to the /best/catalog. So I am not using index.php until they click on something. Do I need to use index.php.html as my home page??? I need some sleep!! lol Thanks Brian.
  6. bythevineyard

    [contribution] Simple Template System (sts)

    Am having brain freeze..... :( If I use a separate html file with STS as my home page and have a link to the catalog for shoppping: What file must I include in my home page html file to get the session id to pass back and forth if the user clicks on 'home' link ? See.... told you I had brain freeze. The production site is at Best From USA Thank you for any assistance! Best, Dave
  7. bythevineyard

    [contribution] Simple Template System (sts)

    Is there a way to make an item specific template??? I have one item that has a bajillion options and details that need to be displayed through links. I need to have a template for that item since the other items don't have all of these details. Is there a way to do this? Thanks, Dave http://bythevineyard.com (On the site, it is the nantucket bags....)
  8. bythevineyard

    Ship to Multiple Recipients

    Has anyone made a contribution that would allow the customer to put multiple items in their cart and select recipients from an address book to ship to at checkout? So if I was to put 3 items in my cart, I could select a recipient for each item.... Hope that is clear! :blink: Dave
  9. bythevineyard

    [contribution] Simple Template System (sts)

    in sts_display_output.php, there are a couple of lines commented out to fix popups. when they did this it made it so $scriptbasename was no longer getting set. I just put the lines back in so it sets the variables once to get $scriptbasename and then does it again for the popup fix.... I added this: // Trying to set the variable for product info pages $scriptname = $_SERVER['PHP_SELF']; $scriptname = getenv('SCRIPT_NAME'); $scriptbasename = substr($scriptname, strrpos($scriptname, '/') + 1); Just before this: // Override if we need to show a pop-up window $scriptname = $_SERVER['PHP_SELF']; $scriptname = strstr($scriptname, "popup"); // If script name contains "popup" then turn off templates and display the normal output // This is required to prevent display of standard page elements (header, footer, etc) from the template and allow javascript code to run properly if ($scriptname != false || $scriptname2 != false) { $display_normal_output = 1; $display_template_output = 0; Hope that helps. Am sure that is all I did to get the product template working. Dave http://bythevineyard.com
  10. bythevineyard

    Recover Cart Sales

    Great Tool!
  11. bythevineyard

    [contribution] Simple Template System (sts)

    sirwiz, I had that same problem. To Fix: If you install 2.01 and the fix for popups you have to go back in to sts_display_output and make it set the $scriptbasename variable. It has commented out the lines that set the variable. Add the three commented out lines back in, before the fix.... You have to put the three commented out lines directly before it reset the other scriptname variables.... This makes it work perfectly. Can see my implementation at Example of Product Layout Implementation
  12. bythevineyard

    [contribution] Simple Template System (sts)

    Found it. If anybody else has a problem getting the reviews button to work with STS, this is how it should look: $reviews<br><a href=$reviewsurl>$reviewsbutton</a><br> Thanks all.
  13. bythevineyard

    [contribution] Simple Template System (sts)

    I am making a great deal of progress with the STS templates. I love it! In setting up the product_info template I am having a problem getting the Reviews button to work. What is the correct layout on the product page using the tags: $reviews $reviewsbutton $reviewsurl When I use $reviewsbutton it just shows the button with no link.... When I use $reviewurl it shows the url link on the page.... Can see what I am talking about at By The Vineyard STS Implemented Pages Thanks for any help!
  14. bythevineyard

    Request For Import Routine

    Disregard.... I realized this can be easily accomplished with mySQL....
  15. bythevineyard

    Request For Import Routine

    Has anybody written a script to import product attributes from a CSV file into the SQL database file: products_options_values_to_products_options ? This would be so helpful for so many people! The file only needs the three fields... products_options_values_to_products_options_id products_options_id products_options_values_id I have products that have an option of picking the state. Entering 50 different options for each product seems very cumbersome. I thought of just putting in a text box, but there are times when one or more of the states are not available, so I have to be able to disable them. What I would want to do is have an options csv that I maintain offline and upload when it needs changed to overwrite the entire products_options_values_to_products_options file. I am just learning php (from all of you!) so writing it myself isn't a viable option!!! Thanks! Dave ps i have looked at the other contributions that import and they are all for products, not options....
×