Closed (won't fix)
Project:
Terms of Use
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2011 at 22:02 UTC
Updated:
7 Jul 2012 at 16:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
mattcasey commentedI added a form_alter to the module for Ubercart's checkout page
Comment #2
particlegirl commentedHello any chance of this going to d7? I need something similar for all customers. Cheers!
Comment #3
particlegirl commentedActually I went applied the patch manually as it wouldn't work.
and so I got this message.
Fatal error: Call to undefined function tou_i18nstrings() in /home/connecte/public_html/drupal/sites/all/modules/terms_of_use/terms_of_use.module on line 158
Cheers
Comment #4
Alek1983 commentedPatch not work, I got message with error too:
Fatal error: Call to undefined function tou_i18nstrings() in /public_html/sites/all/modules/terms_of_use/terms_of_use.module on line 221
Comment #5
mattcasey commentedThe dev code changed, the function was in the version from February 25th. I don't have an environment for patching right now but if you look at what I did, I just copied the form_alter() function above it, changing the function name to match the new form id (form_uc_cart_checkout). Remember to flush your cache after adding it.
Comment #6
Alek1983 commentedThank you very much, but still not working at all.
Comment #7
jasonawantHi,
I've quickly updated this patch for 6.x-1.3.
I removed the two calls to filter_xss(tou_i18nstrings when getting the variables, which I think was causing the error.
I've also changed the check
to
Jason.
Comment #8
kars-t commented