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.

Populate fields in the admin panel with default values for channel entries

May 05, 2014 3:09pm

Subscribe [1]
  • #1 / May 05, 2014 3:09pm

    mvcreative

    12 posts

    Hello everyone,
    At first, I thought it was a simple task but I can’t find how to do it.

    If I have a collection of fields for an event’s channel, where let’s say the cost of the event is usually $1.00, I will like to help the admin by populating the field with that value when creating a new event.  In this way, the admin will only need to change the price for the special events.

    So far, the option we are thinking is on the actual template check if there is a value for the field, if it is then will display the amount… if there isn’t any, display the value from a snippet with the default value.

    This works during the rendering of the event, not on the admin panel where I originally wanted to add this feature.

    Any ideas?

    Thanks

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

ExpressionEngine News!

#eecms, #events, #releases