Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ttg_ce2_cart_check-boxes [2011/12/01 22:57]
matthew
ttg_ce2_cart_check-boxes [2011/12/01 22:59] (current)
matthew
Line 16: Line 16:
 Checkboxes can be linked to further information in two ways: Checkboxes can be linked to further information in two ways:
  
-  - Linked to text that appears over the current page. The link is set in the title, by using the format [[TEXT TO LINK]], e.g. I agree to the [[terms and conditions]]. The text to be linked should be placed in a file under ''%%config/terms/%%'', with a name matching the PARAMETER_NAME, e.g. config/terms/taxes.txt for a checkbox with the PARAMETER_NAME of 'taxes'. (see picture below) +  - Linked to text that appears over the current page. The link is set in the title, by using the format ''%%[[TEXT TO LINK]]%%'', e.g. I agree to the ''%%[[terms and conditions]]%%''. The text to be linked should be placed in a file under ''%%config/terms/%%'', with a name matching the PARAMETER_NAME, e.g. config/terms/taxes.txt for a checkbox with the PARAMETER_NAME of 'taxes'. (see picture below) 
-  - Linked to an external web page that opens in another window or tab. The link is set in the title, by using the format [[TEXT TO LINK=URL]], e.g. [[click here="http://mycompany.com/terms.html"]]+  - Linked to an external web page that opens in another window or tab. The link is set in the title, by using the format ''%%[[TEXT TO LINK=URL]]%%'', e.g. ''%%[[click here="http://mycompany.com/terms.html"]]%%''
  
 {{:e-commerce-plugins:terms-and-conditions.png?|Terms and Conditions}} {{:e-commerce-plugins:terms-and-conditions.png?|Terms and Conditions}}
Line 26: Line 26:
  
 <code> <code>
-checkbox=checkboxname=terms|title=I agree to the [[terms and conditions]]|required=yes|errormessage=You must agree to the terms and conditions+checkbox=checkboxname=terms|title=I agree to the ''%%[[terms and conditions]]%%''|required=yes|errormessage=You must agree to the terms and conditions
 </code> </code>
  
Line 32: Line 32:
  
 <code> <code>
-checkbox=checkboxname=compliance|title=I will comply to all state laws specified [[here=http://google.com/]].|required=yes|errormessage=You must comply with all state laws+checkbox=checkboxname=compliance|title=I will comply to all state laws specified ''%%[[here=http://google.com/]]%%''.|required=yes|errormessage=You must comply with all state laws
 </code> </code>
  
Print/export