Jump to content

laptopskydd

Members
  • Content count

    4
  • Joined

  • Last visited

  1. I Hope someone can help me with this, i'm struggling with incorporating the "Date of Birth Pulldown" with this great contribution. http://www.oscommerce.com/community/contributions,3778/category,5/search,Pulldown+date+of+birt The pulldown contribution looks like this: Change: <?php if (ACCOUNT_DOB == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_input_field('dob') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td> </tr> <?php } ?> into: <?php if (ACCOUNT_DOB == 'true') { // TOF Pulldown date of birth 1.5 $syear=1980;if (isset($HTTP_POST_VARS['dob_in'])){$syear=$HTTP_POST_VARS['dob_in'];} ?> <tr> <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_pull_down_date('dob_in', '0', '0', $syear, false, true, 1900); echo ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': '');?></td> </tr> <?php } /* EOF Pulldown date of birth 1.5 */ ?> I found the section to modi fie in the billing_adress.php file. if (ACCOUNT_DOB == 'true' && !tep_session_is_registered('customer_id')) { ?> <tr> <td class="main" nowrap><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_dob', (isset($customerAddress) ? $customerAddress['dob'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> But i dont know how to merge it, any help is appreciated!
  2. Ah thanks alot. How could i miss that before, worked like a charm...
  3. Hello im currently using "ULTIMATE SEO 5" and i have problem with sitemap generation. Ive tried the GoogleXMLSitemap by Chemo but i get into some problems i.e a products gets a link like: http://www.laptop-sk...products_id=250 but on the site they have: http://www.laptop-sk...hp/blomma-p-250 This gives some problem with google like: "URLs not followed When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations........" Would SEO URL by Chemo work better togheter with "GoogleXMLSitemap" ?
  4. Using this togheter with the "ULTIMATE SEO 5" my "XML" for products looks like: http://www.laptop-skydd.se/sitemapproducts.xml i.e a products gets a link like: http://www.laptop-skydd.se/product_info.php?products_id=250 but on the site they have: http://www.laptop-skydd.se/product_info.php/blomma-p-250 This is gives some problem with google like: "URLs not followed When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL. HTTP Error: 301 URL: Go to URLhttp://www.laptop-skydd.se/product_info.php?products_id=124" What im i doing wrong, are ther other contributions?
×