ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Display custom field label

November 18, 2010 7:59pm

Subscribe [3]
  • #1 / Nov 18, 2010 7:59pm

    sleven1868

    78 posts

    EE 1.7 on Apache

    How do I display a custom field label in a weblog?  I want to show the Field Label and the field value that is entered in the weblog entry.  I can’t find anything on how to display the label in the documentation.  Any help would be appreciated.  Thank you!

  • #2 / Nov 19, 2010 11:03am

    Ingmar

    29245 posts

    I am afraid the label is meant for the control panel only. There is no tag to show it in a template. In that case a custom SQL query would be needed.

  • #3 / Nov 19, 2010 12:21pm

    sleven1868

    78 posts

    Thanks for the info!  I did figure out how to put it in but its pretty messy.  If you view the source you can use the <label field_22:ect..> html tag to display it but there is no easy way to get that info.

  • #4 / Nov 20, 2010 10:05am

    Sue Crocker

    26054 posts

    Sounds like you have a workaround.. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases