Well in that case, you may still have some other options.
I would take a look at:
hook_node_view_alter http://origin-api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hook_node_view_alter/7
and
http://drupal.org/project/entity_view_mode

Good luck


On Tue, May 28, 2013 at 11:59 AM, Wipe_Out <wipe_out@users.sourceforge.net> wrote:
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@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@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/ ]


--
[ Drupal support list | http://lists.drupal.org/ ]