开发者

How do I move where an image displays with Drupal?

开发者 https://www.devze.com 2023-03-21 06:13 出处:网络
I\'m trying to make my first Drupal site, and I need to get news posts to display like: [user] NEWS TITLE

I'm trying to make my first Drupal site, and I need to get news posts to display like:

[  user  ] NEWS TITLE
[ posted ] Content content content content
[ image  ] Posted by Admin on 9/15/11

But I can't seem to figure out how to move the title to where it needs to be. I figured out that $content controls both the "user posted image" and "Content content content" sections, but I can't figure out where I can go to edit 开发者_Python百科$content in any of the tpl.php files.

On a side note, how do I make multiple news items appear on one page?


Okay! What I did was added hide($content['field_image']); to part of the code, and then <?php print render($content['field_image']); ?> where I actually wanted it to display. Worked out perfectly.

0

精彩评论

暂无评论...
验证码 换一张
取 消