[support] Custom print template help..

felix arteaga fxarte at gmail.com
Tue May 28 15:44:11 UTC 2013


What version of Drupal are you using>
Not sure if this will help in your case as you are down another path, but I
used this module in a custom project management site I built in d6
http://drupal.org/project/invoice

Felix


On Tue, May 21, 2013 at 8:35 AM, Wipe_Out <wipe_out at users.sourceforge.net>wrote:

> Hi,
>
> I have a content type that creates a basic invoice.. I now need to create
> a formatted printable invoice using the data shown on the invoice..
>
> I have installed the print module which created the "printable version"
> link.. I now need to customise the layout..
>
> This is a non-programmer talking so please be gentle and verbose.. :)
>
> I created a "print--node--invoice.tpl.php" in my theme directory and
> copied the tpl.php file from the print module directory to get me started..
>
> So far so good..
>
> Now where I have got stuck is putting in the individual fields where I
> want them.. There is a $content variable used in the example but that just
> shows everything..
>
> How do I tell the template where I want individual fields?
>
> So for example say I want to output the field_inv_num value?
>
> Thanks..
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130528/ec19b254/attachment.html 


More information about the support mailing list