Jump to content

annuity100

Members
  • Content count

    6
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Rick
  1. annuity100

    One Page Checkout Support

    Hi, Would it be possible for this contribution to be updated so it's compatible with a fresh install of the latest version of oscommerce v2.3. When i installed the contribution everything seemed to be functioning correctly but i noticed a problem with the jquery buttons on the new version of oscommerce and narrowed it down to an issue with the jquery files called in the <head> section conflicting with the jquery files already included with the new version of oscommerce as standard. This is causing the design of the page to fail and possible other issues that i'm not aware of. I have tried for the last two days to get this working but the version of jquery this contrbution uses is different and i am clueless about javascript. I also got an error with the validate email function until i made $ajax = false instead of true. I would be eternally greatfull if some kind hearted sole would be able to update this contribution so it is compatible with a fresh install of the new version of oscommerce. It would be perfect if this could be done in such a way so that future updates of jquery don't conflict with this fantastic contribution. Cheers.
  2. annuity100

    Header Tags SEO

    Right i can't work out how to fix this issue and if the guy that wrote the thing won't help i have no choice. What ive done is to move the bit of the <head> tag from doctype to the end of the header tags code, so only a few lines, out of the includes/header.php file and put it back into all the root files, so everythings working now 100% except for the double // on the homepage canonical issue and the root files aren't as clean as i wanted them to be but it's no big deal as the doctype, html params and header tags code shouldn't need changing very often if at all and ive adjusted my blank page template as well so shouldn't be any problems in the future. Look forward to the next version coming out and it'll also give me chance to see if the version checker is working.
  3. annuity100

    Header Tags SEO

    Fair enough I just don't understand if it works for BTS it should work with the way i have it. It's essentially the same setup but done in a simplier way. How does it work as standard currently with BTS? How does it know the header tags code is there even when it's not in any of the root files? I can't find any reference to BTS or main_Page.tpl only some mention of STS. Could you at least give me a filename or function name where it does the search as standard please? Cheers.
  4. annuity100

    Header Tags SEO

    Hi Jack, Many thanks for getting back to me. Basically all i have done is move the <head> section out of the indiviual root files and put it at the top of includes/header.php file. So the meta tags code is inside the <head> section and in one file just like BTS only I have just bypassed all the messing about with BTS and came up with a different way that essentially does the same thing. The require line that calls the includes/header.php file from the root files is called before anything else as well and everything appears correct on the catalog side so i think everything is in order. How do i edit the code to search for the includes/header_tags.php file? Do you mean search for the includes/header.php file? I'm not after a blow by blow explanation if it's long winded, if you could just point us in the right direction to get me started that would be great. Just to check i've moved the <head> section of the code from includes/header.php back into the individual root files and everything is working 100% so if i can fix this bit it would be perfect. Cheers.
  5. annuity100

    Header Tags SEO

    Right i think ive worked it out. To clarify from my post above i actually have the code <?php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <?php } ?> in the includes/header.php file with a call to the includes/header.php in every file in the root directory. It works abit like the BTS template so i only need to put the code in one file instead of every file in the root. This is why the meta tags are showing on the catalog side but no files are being picked up in the select a file dropdown in page control on the admin side. When i move the code from includes/header.php directly into my root files then they are picked up in the select a file dropdown of page control. So how do i get header tags seo to recognise that i have the code installed when it's in includes/header.php instead of the root files. How does header tags seo work for people with the BTS template? I need it to work to same on my setup but instead of looking in main_page.tpl i need it to look in includes/header.php instead. Thanks.
  6. annuity100

    Header Tags SEO

    Hi Jack, Firstly many thanks for such a great contribution. I have it working on my live site apart from the double // at the end of the canonical link, which i've read you saying will be fixed in the next version so that's fine. The problem i'm having is with header tags seo on my local server. When i go to "Page control" in admin their are never any files in the "select a file" drop down. The only error i'm getting is the file permissions for includes/header_tags.php, which is set correctly but the error persists. My setup is Apache server on windows vista. I have checked the includes/configure.php files on admin side and catalog side and all file paths seem correct. I have looked in admin/header_tags.php but can't see anything wrong. I am on a fresh install on RC2a. I have uninstalled and reinstalled the database tables but that didn't do anything. Also (i assume related to the same problem as on "page control") When i go to header_tags_test.php in admin there are no files in the select a file drop down there either. I noticed back in the thread someone had a similar issue and it seemed to have you stumped but he/she went away without saying if they had solved it. I tried putting the echo you suggested to someone else in header_tags_test.php to print the file paths but as there are no files there at all it shows nothing. When i click the test button (with nothing selected because no files are there) i get the following: Test Results Permissions Error: explain Permissions settings for the C:/wamp/www/mysite/includes/header_tags.php file appear to be incorrect. Change to 777. NOTE: Disregard if on Windows server. Extra File Error: explain The C:/wamp/www/mysite/headertags_seo_install.php file is present and should be removed. The C:/wamp/www/mysite/headertags_seo_uninstall.php file is present and should be removed. Missing Code in File explain The Header Tags head code for the index.php file cannot be found. The Header Tags head code for the product_info.php file cannot be found. The Header Tags head code for the product_reviews.php file cannot be found. The Header Tags head code for the product_reviews_info.php file cannot be found. The Header Tags head code for the product_reviews_write.php file cannot be found. The Header Tags head code for the specials.php file cannot be found. I know i need to remove the install/uninstall files thats fine. The code <?php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <?php } ?> is installed correctly on all those files that it is saying it isn't. The meta tags are also showing correctly when i view "page source" in my browser on every diffect type of page on my site. I really want to get this working so i can work on my tags before uploading to the live site. Please could you shed any light on this please.
×