[support] Custom print template help..

Wipe_Out wipe_out at users.sourceforge.net
Tue May 28 15:59:44 UTC 2013


Hi Felix,

I'm using D7.. I have already gone a fair way down the track with creating
an invoice content type..

Might have a look at that module next time.. :)


On 28 May 2013 16:44, felix arteaga <fxarte at gmail.com> wrote:

> 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/ ]
>>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130528/af7ee33f/attachment.html 


More information about the support mailing list