We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Is it possible to display custom field labels without using channel form?

How Do I?

sheferd's avatar
sheferd
31 posts
10 years ago
sheferd's avatar sheferd

Is there a way to display custom field labels without using the Channel form tag?

e.g. I’d like to use:

{label:my_field_name}

without using channel form:

{exp:channel:form channel="news"}
{label:my_field_name}
{/exp:channel:form}

as the channel form wraps everything in a form, which I don’t need.

The reason is, I have a large number of fields to out put as table like data. being able to just out put the field label will save a lot of copy and paste and also allow for any minor changes to label names over the initial set up period without having to change the data in 2 places each time.

Thanks.

       
sheferd's avatar
sheferd
31 posts
10 years ago
sheferd's avatar sheferd

Hate to bump but I’m still looking for a solution to this, if anyone knows a way I can simply output custom field labels without using channel form.

Thanks.

       
emsolutions's avatar
emsolutions
2 posts
10 years ago
emsolutions's avatar emsolutions

Hello,

For every project I am using module FreeformPro. You can buy it at devot-ee.com or if you don’t want to buy it you can download it for free. But don’t forget to check out the license! Then, there’s a good documentation about how to use FreeformPro.

To protect yourself against bots I recommend snaptcha =)

Hope it helps.

MB

       
sheferd's avatar
sheferd
31 posts
10 years ago
sheferd's avatar sheferd

Thanks for the reply but I’m not sure you’ve understood what I’d like to achieve.

We do already use FreeForm but a form isn’t what I need here. What I’m looking for, is to be able to Display my Custom Field Labels on the front-end of my website. Currently this seems to only be possible If I use Channel form. I’d simply like to be able to use field label as output data so save repeating myself and a ton of copy/pasting.

       
Boyink!'s avatar
Boyink!
5,011 posts
10 years ago
Boyink!'s avatar Boyink!

If you haven’t found an add-on to do it on Devot-ee then no, there isn’t a way.

But - those labels are all in the database so building a custom add-on should be possible. Maybe not probable though..😉

       
sheferd's avatar
sheferd
31 posts
10 years ago
sheferd's avatar sheferd

Yea, unfortunately I’ve not found a suitable addon. I’ve found some similar solutions using MySQL queries but I’m not great with MySQL so haven’t been able to manipulate it to output the data quite as I need it.

For now I’m using a separate template that outputs them all wrapped as I need them then I only have one copy/paste instead of 100. But this still isn’t ideal, as if a field Label needs amending I still have to do this manually.

       
vladyn's avatar
vladyn
176 posts
8 years ago
vladyn's avatar vladyn

+1 for solution like this. I know there are a bunch of add-ons that have ability to display data for the liable lo FreeForm, but it’s still be great to have such in channel entries, rather than just doing separate container for then.

I’m dealing with table with large data and the name of the columns of data are actually the labels from my channel.What more convenient way to build this table than just one loop through channel entries?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.