caption

Events happening in the community are now at Drupal community events on www.drupal.org.

More accessible tables output by block-admin-display-form.tpl.php

Posted by francesco_sardegna on October 24, 2011 at 7:53pm

Tables should have summaries and captions and table headers and table cells should be marked (as you teach me) with correspondent "headers" and "id" values.

I added some simple Php functions to block-admin-display-form.tpl.php and the output seems to be complete.

Read more

How I (finally) got captions to display.

Posted by Dave R. on January 16, 2011 at 1:35pm

This is how I added captions, or cutlines, to the Articles content type in Openpublish. I hope that it is helpful to anyone who, like me, spent untold hours trying to figure it out.

First, add a field to the Article content type (../admin/content/node-type/article/fields). I labelled mine Caption and gave it the name field_main_image_caption. I chose Text for the field type and gave it a textfield size of 200.

Next, add something like: $vars['main_image_caption'] = $vars['field_main_image_caption'][0]['view'];

Read more
5 comments Categories: , ,
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /