3 improved grammar
source | link

Custom tpl.phptemplate file field outputsoutput

I have a node-type called Netrunner CardNetrunner Card content type.    (it'sIt's a card game I play)

I'm trying to theme the output for each card to make it look like I want it to, and to learn the themeing engine for Drupal.

I'm running into newb issues and I hope this is the right place to ask...

) I have a "field_card" field called 'field_card' and itthat holds the card image. In the 'nodenode--netrunner-card--Runner_Identity_Card--full.tpl.php'php file, I am trying to control the output of each field. But insteadInstead, I seem to just be dumping the same fields + data on the screen.

I tried this:using the following code.

<img src="<?php print render($content['field_card'])?>" />

And itIt scattered the html...HTML, because the render for 'field_card' ISoutput of render() is the HTML... What is the standard practice for doing what I am trying to do?

http://netrunner.randomblink.com/node/1 I'm trying to theme the output of each card to make it look like I want it to be, and to learn the theming engine for Drupal.

Custom tpl.php field outputs

I have a node-type called Netrunner Card.  (it's a card game I play)

I'm trying to theme the output for each card to make it look like I want it to, and to learn the themeing engine for Drupal.

I'm running into newb issues and I hope this is the right place to ask...

I have a field called 'field_card' and it holds the image. In the 'node--netrunner-card--Runner_Identity_Card--full.tpl.php' I am trying to control the output of each field. But instead I seem to just be dumping the same fields + data on the screen.

I tried this:

<img src="<?php print render($content['field_card'])?>" />

And it scattered the html... because the render for 'field_card' IS the HTML... What is the standard practice for doing what I am trying to do?

http://netrunner.randomblink.com/node/1

Custom template file field output

I have a Netrunner Card content type.  (It's a card game I play.) I have a "field_card" field that holds the card image. In the node--netrunner-card--Runner_Identity_Card--full.tpl.php file, I am trying to control the output of each field. Instead, I seem to just be dumping the same fields on the screen.

I tried using the following code.

<img src="<?php print render($content['field_card'])?>" />

It scattered the HTML, because the output of render() is the HTML. What is the standard practice for doing what I am trying to do?

I'm trying to theme the output of each card to make it look like I want it to be, and to learn the theming engine for Drupal.

2 put code in code tag because it wasn't displaying
source | link

I have a node-type called Netrunner Card. (it's a card game I play)

I'm trying to theme the output for each card to make it look like I want it to, and to learn the themeing engine for Drupal.

I'm running into newb issues and I hope this is the right place to ask...

I have a field called 'field_card' and it holds the image. In the 'node--netrunner-card--Runner_Identity_Card--full.tpl.php' I am trying to control the output of each field. But instead I seem to just be dumping the same fields + data on the screen.

I tried this: " />

<img src="<?php print render($content['field_card'])?>" />

And it scattered the html... because the render for 'field_card' IS the HTML... What is the standard practice for doing what I am trying to do?

http://netrunner.randomblink.com/node/1

I have a node-type called Netrunner Card. (it's a card game I play)

I'm trying to theme the output for each card to make it look like I want it to, and to learn the themeing engine for Drupal.

I'm running into newb issues and I hope this is the right place to ask...

I have a field called 'field_card' and it holds the image. In the 'node--netrunner-card--Runner_Identity_Card--full.tpl.php' I am trying to control the output of each field. But instead I seem to just be dumping the same fields + data on the screen.

I tried this: " />

And it scattered the html... because the render for 'field_card' IS the HTML... What is the standard practice for doing what I am trying to do?

http://netrunner.randomblink.com/node/1

I have a node-type called Netrunner Card. (it's a card game I play)

I'm trying to theme the output for each card to make it look like I want it to, and to learn the themeing engine for Drupal.

I'm running into newb issues and I hope this is the right place to ask...

I have a field called 'field_card' and it holds the image. In the 'node--netrunner-card--Runner_Identity_Card--full.tpl.php' I am trying to control the output of each field. But instead I seem to just be dumping the same fields + data on the screen.

I tried this:

<img src="<?php print render($content['field_card'])?>" />

And it scattered the html... because the render for 'field_card' IS the HTML... What is the standard practice for doing what I am trying to do?

http://netrunner.randomblink.com/node/1

1
source | link

Custom tpl.php field outputs

I have a node-type called Netrunner Card. (it's a card game I play)

I'm trying to theme the output for each card to make it look like I want it to, and to learn the themeing engine for Drupal.

I'm running into newb issues and I hope this is the right place to ask...

I have a field called 'field_card' and it holds the image. In the 'node--netrunner-card--Runner_Identity_Card--full.tpl.php' I am trying to control the output of each field. But instead I seem to just be dumping the same fields + data on the screen.

I tried this: " />

And it scattered the html... because the render for 'field_card' IS the HTML... What is the standard practice for doing what I am trying to do?

http://netrunner.randomblink.com/node/1