Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sitefire

Pioneers
  • Posts

    31
  • Joined

  • Last visited

Everything posted by sitefire

  1. Jack I have a quick question. Will using the Enable use Header Tags as name? option add much more over head and DB queries?
  2. I have to hand it to ya Jack, another very nice contrib! Works nice no install issues, took less than 5 minutes and the malicious url trick does not work as it gets redrected to the correct url so I dont think it will cause any SE issues. Thanks again for the awesom contrib!
  3. Ok so I do or don't need to be concerened about I have heard of some unscrupulous competitors pulling tricks like that to hit a sites ranking. Thanks in advance for all your guys help.
  4. Thats just too good to be true : ) I did notice for the .htaccess there are some wild cards in the rewrite, my concern would be that someone could link to the site and put something like www.mysite.com/somecrappyproductyoudontwanttobuy.html as the link, does the additon of the query string portion negate that posibility because it will cause the script to check for the actuall page? Last question before I install is do I need to set up caching in admin, I currently dont use any caching features in osc because of my css drop down menus get lost with cache enabled.
  5. This looks like exactly what I was looking for! The fact that t seems I don't need to do any database work during the install is the kicker : ) Questions though..of course : ) I have rc2.2a, htc seo, sts 4.5.8 installed any issue droping in this contrib ( Ultimate_SEO_URLSv22d_5 )? I noticed in the install instructions it mentions a sterile install of osc and obviously I have a few contribs in place so is it ok to use the install instructions as is or would I need to modify the process. Thanks for any advise. Way to go again Jack thanks for all you do for OSC!
  6. OK now have 100% wc3 validation on all pages, found where to add the quote marks in general.php, if anyone else is looking to validate pm me and I can send the changes i've made for rc2.2a with sts 4.5.8 and htc seo. Thanks for everyones help!
  7. Thanks Bill The $myaccountlogoff variable is defined in the following script: $myaccountlogoff If customer is logged in: text link to the My Account page followed by a separator and then by a text link to the logoff page. Same as $myaccount | $logoff If customer is not logged in: same as $myaccount. Use SSL if available. Created in: includes/modules/sts_inc/general.php Possible use: text link in header. See also: $myaccount , $logoff . So where exactly would I need to make changes to have the quotes added to the rendered web page for example now for "my account", "cart contents" and "check out" the final web page source shows <a href=http://www.mysite.com/account.php class="headerNavigation">My Account</a> | <a href=http://www.mysite.com/shopping_cart.php class="headerNavigation">Cart Contents</a> | <a href=http://www.mysite.com/checkout_shipping.php class="headerNavigation">Checkout</a> without the quotes and will not validate, if I can find the exact location in the general.php to make the script add the quotes I'm all set : )
  8. I realize the quotes are missing, STS uses place holders for the 3 pages, when rendered the links(that pull from the respective files)are missing the quotes, I need to find what files sts pulls for the template place holders and then what line to change in each file so when sts pulls the pages it shows the quotes. This has to be a fairly common problem as I assume every osc site will have it, and is now the only thing holding up 100% w3c validation of my osc site..almost there...
  9. Sorry for the tripple post I too got a internal server error so tried posting again.
  10. I have been validating my site and have it down to only 3 errors but need some assistance. I have a RCR2a shop with HTC SEO and STS 4.5.8 in the validation process I get the following 3 errors. Error Line 61, Column 350: end tag for element "A" which is not open …ass="headerNavigation">My Account</a> | <a href=http://www.mysite.com/shoppi.. Line 61, Column 444: end tag for element "A" which is not open …="headerNavigation">Cart Contents</a> | <a href=http://www.mysite.com/checko.. Line 61, Column 537: end tag for element "A" which is not open …class="headerNavigation">Checkout</a> All 3 errors are related to the way the place holders in STS are handled for $myaccountlogoff $cartcontents $checkout , when I place direct links to the php files instead of the place holders it validates, however things like "logoff account" are lost. I'm sure there must be a fix in the php files to return the desired formating for the html just not sure where to look. Here is a snipet of what does validate but as mentioned some things like logoff account dont show. <td align="right" class="headerNavigation"><a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="account.php" class="headerNavigation">My Account</a> | <a href="shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="checkout_shipping.php" class="headerNavigation">Checkout</a> </td> Any help is greatly appreciated.
  11. I have been validating my site and have it down to only 3 errors but need some assistance. I have a RCR2a shop with HTC SEO and STS 4.5.8 in the validation process I get the following 3 errors. Error Line 61, Column 350: end tag for element "A" which is not open …ass="headerNavigation">My Account</a> | <a href=http://www.mysite.com/shoppi.. Line 61, Column 444: end tag for element "A" which is not open …="headerNavigation">Cart Contents</a> | <a href=http://www.mysite.com/checko.. Line 61, Column 537: end tag for element "A" which is not open …class="headerNavigation">Checkout</a> All 3 errors are related to the way the place holders in STS are handled for $myaccountlogoff $cartcontents $checkout , when I place direct links to the php files instead of the place holders it validates, however things like "logoff account" are lost. I'm sure there must be a fix in the php files to return the desired formating for the html just not sure where to look. Here is a snipet of what does validate but as mentioned some things like logoff account dont show. <td align="right" class="headerNavigation"><a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="account.php" class="headerNavigation">My Account</a> | <a href="shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="checkout_shipping.php" class="headerNavigation">Checkout</a> </td> Any help is greatly appreciated.
  12. I have been validating my site and have it down to only 3 errors but need some assistance. I have a RCR2a shop with HTC SEO and STS 4.5.8 in the validation process I get the following 3 errors. Error Line 61, Column 350: end tag for element "A" which is not open…ass="headerNavigation">My Account</a> | <a href=http://www.mysite.com/shoppi.. Line 61, Column 444: end tag for element "A" which is not open…="headerNavigation">Cart Contents</a> | <a href=http://www.mysite.com/checko.. Line 61, Column 537: end tag for element "A" which is not open…class="headerNavigation">Checkout</a> All 3 errors are related to the way the place holders in STS are handled for $myaccountlogoff $cartcontents $checkout , when I place direct links to the php files instead of the place holders it validates, however things like "logoff account" are lost. I'm sure there must be a fix in the php files to return the desired formating for the html just not sure where to look. Here is a snipet of what does validate but as mentioned some things like logoff account dont show. <td align="right" class="headerNavigation"><a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="another_file.php" class="headerNavigation">Another File</a> | <a href="account.php" class="headerNavigation">My Account</a> | <a href="shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="checkout_shipping.php" class="headerNavigation">Checkout</a> </td> Any help is greatly appreciated.
  13. Wanted to see if anyone else is having this issue or knows a fix. When you first load your page if you click on one of the css menu links it reloads the same page, the second and all other clicks in the same browser session work fine, just the first click. It looks like its some type of cache issue. This is the same in Firefox or IE Anyone have a clue as to what the issue is? I'm using ver 3 CSS Menu as most of the later fixes didn't affect my setup.
  14. Roger that. I'm trying to follow the manual and create some.. I guess you would call them user created link tags for example "$store" to place in the template for easier movement in the future, I'm adding the below code to the sts_user_code.php but either have the code wrong or am placing it in the wrong place $sts->template['retailstore'] = tep_href_link(FILENAME_RETAIL_STORE_INFO,",'SSL'); $sts->template['retailstore'] = '<a href=' . tep_href_link(FILEMANE_RETAIL_STORE_INFO,",'SSL') ' . class="headernavagation">' . 'Retail Store' . '</a>'; Doesn't seem to matter where I place it the page ends up blank in the browser so I'm just assuming I done it all worng.
  15. Thanks Bill Add ing the pages to OSC was a easy. Ahh starting to make sence, I had tried using the sts_template (renamed of course) which had the Title of the page and the continue button which was anoying : ) so basically I can go into the store.php script and remove the continue button, then place my html for the content I want(blurbs, pics directions, etc) in the sts template for that page and be good to go? Once I get the total hand of sts I'll make a module for it later : )
  16. Hi Bill Thanks for sticking in there for these newb questions : ) I have been reading much of the info, I seem to be strugling getting my hands around every aspect of this far reaching contrib. I have the main template all set and working great I'm more looking at just creating $content templates, so that each page for say store or about us uses the default page template and replaces only the content portion with the store info and about us for example. I have used the included product_info template as a starter and renamed them to store.php.html for example, but can't seem to grasp exactly how to have the default template use each $content template for only those specific pages. I'm running out of hair to pull out :( so any help is greatly appreciated.
  17. there are 4 pics located in catalog/images/infobox/ they are corner_left.gif corner_right.gif corner_right_left.gif arrow_right.gif you can download them and either make them a transparant .gif or color them how you want, then upload them back to the same location.
  18. Heres a quick way to get it done, also allows you to set the size. catalog/includes/sts_templates/test(or Full which ever you're using)/sts_template.html Find: </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> Add just below, placement is not critical just needs to be in the body. <div id="wrapper"> NOTE: colors and sizes below are for my site you can tweek them how you want. catalog/stylesheet.css Find: BODY { text-align: center; background: #000000; color: #ffffff; margin: 0px; } Add just below: placement is not critical div#wrapper { position:relative; margin-left:auto; margin-right:auto; width:1004px; background-color: #000000; }
  19. Hi Bill Got everything figured out and working for the page centering and width. Now I'm trying to set up seperate content pages for store info and about us etc, I have the pages created and also created the corosponding store_info.php.html, about_us.php.html files, and created a contents folder in the test folder and placed the files in there.... Was hoping you could lead me in the right direction for my next step to get sts to use the new content for the pages.
  20. Hey mikefrombg This worked for my install with OSC RC2.2a and STS 4.5.8 Note: I used CSS Menu ver 0.3, once you get this working you can tweek it with the updates from later versions as I have not tested it with later versions. FOR STS USERS ONLY! AND MAKE A BACKUP OF ALL EFFECTED FILES FIRST SO IF SOMETHING GOES WRONG YOU CAN GET BACK TO A WORKING STATE. Upload included files from the contrib first : ) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> catalog/includes column_left.php Find: } else { include(DIR_WS_BOXES . 'categories.php'); Change to: } else { include(DIR_WS_BOXES . 'categories_css.php'); The only thing you realy do here is change the portion 'categories.php' to 'categories_css.php' >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> catalog/includes/functions cache.php Find: ob_start(); include(DIR_WS_BOXES . 'categories.php'); Change to: ob_start(); include(DIR_WS_BOXES . 'categories_css.php'); The only thing you realy do here is change the portion 'categories.php' to 'categories_css.php' >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> For STS USERS ONLY catalog/includes/modules sts_inc/column_left.php Find: } else { include(DIR_WS_BOXES . 'categories.php'); Change to: } else { include(DIR_WS_BOXES . 'categories_css.php'); The only thing you realy do here is change the portion 'categories.php' to 'categories_css.php' >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> For STS USERS ONLY catalog/includes/sts_templates/"your default folder"/sts_template.html Add just below the <head> tag <script type="text/javascript"> //SuckerTree Vertical Menu (Aug 4th, 06) //By Dynamic Drive: http://www.dynamicdrive.com/style/ var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas function buildsubmenus(){ for (var i=0; i<menuids.length; i++){ var ultags=document.getElementById(menuids).getElementsByTagName("ul") for (var t=0; t<ultags.length; t++){ ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle" ultags[t].parentNode.onmouseover=function(){ this.getElementsByTagName("ul")[0].style.display="block" } ultags[t].parentNode.onmouseout=function(){ this.getElementsByTagName("ul")[0].style.display="none" } } } } if (window.addEventListener) window.addEventListener("load", buildsubmenus, false) else if (window.attachEvent) window.attachEvent("onload", buildsubmenus) </script> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> You can customize the way the menu looks with the stylesheet settings below. In catalog/stylesheet.css Find: TD.headerInfo { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #00ff00; color: #ffffff; font-weight: bold; text-align: center; } Add just below:(placement is not critical) .suckerdiv ul{ margin: 0; padding: 0; list-style-type: none; width: 200px; /* Width of Menu Items */ border-bottom: 1px solid #ccc; font-family: arial; font-size: 11px; } .suckerdiv ul li{ position: relative; background-color: #eee; } /*1st level sub menu style */ .suckerdiv ul li ul{ left: 199px; /* Parent menu width - 1*/ position: absolute; width: 200px; /*sub menu width*/ top: 0; display: none; } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li ul{ left: 199px; /* Parent menu width - 1*/ } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li a{ left: 199px; /* Parent menu width - 1*/ background-color: #ddd; } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li ul li a{ background-color: #bbb; } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li ul li ul li a{ background-color: #aaa; } /* menu links style */ .suckerdiv ul li a{ display: block; color: black; text-decoration: none; background-color: #eee; padding: 1px 5px; border: 1px solid #ccc; border-bottom: 0; line-height: 2em; } .suckerdiv ul li a:visited{ color: black; } .suckerdiv ul li a:hover{ background-color: yellow; color: black; text-decoration: none; } .suckerdiv ul li ul li a:hover{ background-color: yellow; color: black; text-decoration: none; } .suckerdiv ul li ul li ul li a:hover{ background-color: yellow; color: black; text-decoration: none; } /* The main categories with sub-categories */ .suckerdiv .subfolderstyle{ background: url(images/arrow-list.gif) no-repeat center right; } /* This one colors the sub-folder with other sub-folders */ .suckerdiv ul li ul .subfolderstyle { background-color: #ddd; } /* This one colors the sub-folder with other sub-folders */ .suckerdiv ul li ul li ul .subfolderstyle { background-color: #bbb; } /* This one colors the sub-folder with other sub-folders */ .suckerdiv ul li ul li ul li ul .subfolderstyle { background-color: #aaa; } /* Holly Hack for IE \*/ * html .suckerdiv ul li { float: left; height: 1%; } * html .suckerdiv ul li a { height: 1%; } /* End */
  21. Hi Bill, thats easy for you to say :rolleyes: all kidding aside, I figured it was something like that, however being new to oscommerce and your fantastic(by the way) sts! I am unsure where exactly to add the code to the template or for that matter what code to add :blink: I'm sure in time I'll get the full hang of things, so far everything else has been easy with oscommerce and you contrib.
  22. Still hoping someone can give me a direction to go. Trying to set a fixed width and center position for my site to maintain the same look across browsers, I'm using rc2a, sts 4.5.8 and htc seo. Tried using stylesheet but doesn't look like it changes anything, so I'm thinking the change needs to be made to the default sts template somewhere? Thanks in advance for any help you can give.
  23. Had a quick question, what would be the easiest way of setting the page width to a fixed width I have RC2, STS 4.5.8 and HTC SEO. The site looks fine but I had to go and view it on a 1280x1024 enabled monitor and now my OCD has kicked in : ) Would like to set the site to 1024 centered. I assume this would be done in my default STS template somewhere? Thanks for any help you guys may have.
  24. Thanks Jack It looks correct, I did find a previous post from michael1981 and added the code after the below sample where he mentioned and its back to normal and working correctly. <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr>
  25. Great contrib, everything seems to be working great except for one issue, hoping someone here can point me in the right direction. Shop is running RC2a and sts 4.5.8 with header tags seo When I go to view the page for specific a product the left colom boxes(search tell a friend etc.) are now located center page below the product listing, only happens on product pages, catagory pages are not affected. Guessing the problem is in product_info.php but not sure.
×
×
  • Create New...