By logoservisdestek on
I'd like to add a snippet among two fields. When I put the snippet into page.tpl I can just place bottom of content or top of content. it should be placed after of certian field. could you give me some tips how can it be achieved ?
Thanks in advance
Comments
_
page.tpl.php is the page template-- you want to use the node and/or field templates.
how can I implement the
how can I implement the snippet after certian field ? in tpl.php pages I can see just $content variable that prints full content of node
_
One way would be use the field template and add it there (if you theme the first field, you would put it at the end, if you theme the second field you would put it at the beginning).
Otherwise you can selectively hide and render fields outside of the $content variable.
Good point. Thank you I will
Good point. Thank you I will try it
I really appreciate for your
I really appreciate for your help. hide(), render() worked for me
_
excellent-- happy to help ;-)