Posted by hamedtaha on January 11, 2011 at 4:08pm
Hi All
i'm trying to make a view which i can do some operations like this image [attached]
Only local images are allowed.
the Registerlinks is shown based on the user Roll , and i want to send an argument within that link
is that applicable ?
| Attachment | Size |
|---|---|
| 1.jpg | 35.18 KB |
Categories: bulk operation simpleviews, View, view operation
Comments
From within the view or in a tpl.php file
You can do this from within the view itself. I took a field that is the customers balance (money owed) and turned it into a link to pay. Choose "Rewrite the output of this field", use the token and custom html. My example:
[field_balance_value] <a ref="/pay?amount='[field_balance_value]'">Pay now</a>For more power, you can also do this at the theme level. From the theme, click Theme: Information and see the template file that controls the output of your theme and create it. From within that file, you can do all kinds of stuff - print variables, include markup, use conditional logic, etc.