More Examples?
nisguy - June 19, 2007 - 22:10
| Project: | Dript - A Scripting Language for Drupal |
| Version: | 5.x-1.x-dev |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
This seems like a great module, although difficult for me to understand. On your project page you say to use,
Total price is [driptne
(* (drupal-read-field 'this "Quantity")(drupal-read-field 'this "Unit Price"))
/] USD.which returned "Total price is /> USD." For it to work for me, I had to use,
Total price is
[driptne (*(drupal-read-field 'this "quantity")(drupal-read-field 'this "unit_price")) /] USD.or the name of the field stripped down from field_unit_price to unit_price.
Can you provide any other examples? Like an If Else conditional?
Thanks
