Closed (fixed)
Project:
Storm
Version:
6.x-1.x-dev
Component:
Storm Project
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2010 at 13:43 UTC
Updated:
14 Aug 2010 at 19:30 UTC
Hello there!
I'm having a rough time here trying to theme the output of a print page for my project node.
For starters I don't want to print the stormtask and stormticket icons. How can I get rid of them in print.node.tpl?
And second, I want to add some info from the corresponding stormorganization node: address, email, taxid, phone.
I know all these are variables, that are somewhere in the database. I've used before the excellent computed_field to pull and insert cck fields, but here I just can't find out... :-(
Can somebody point me in the right direction?
Thanks in advance!
Warm regards from sunny México!
:-)
José
Comments
Comment #1
pepemty commentedComment #2
juliangb commentedThere is a setting for all storm icons as part of the settings page (this is a storm-wide setting).
Also, you might want to consider views or a custom theme function to customise the layout.
To include variables from the org as part of a custom theme function, do a node_load() on the organisation nid and you will have all of the fields in that object.
Does that solve your problems?
Comment #3
pepemty commentedThanks for your reply!
Oh! I don't have a problem with the icons, except in the print version.
Well, I guess the node_load() tip should do. Problem is I'm not a coder so I'm not really sure of what you're suggesting. Any other thing I can do?
Nonetheless, views might be an answer.
Warm regards from sunny México!
:-)
Pepe
Comment #4
juliangb commentedSounds like this support request is fixed - the answer to have a play around with views if you arent a coder.
Let us know how you get on.