digisavvy
12/15/2015 - 9:51 PM

new_gist_file.js

    <!-- Begin Custom Fields -->
  {* do not remove the 'fields ...' comment block below *}
  {* fields = {
    "subject":{"field":{"type":"text","label":"Email Subject","default":"Breaking News - TheWrap"}},
    "header_img":{"field":{"type":"select","label":"Header Image","default":"alerts-festivals-story/breakingnews.gif","options":{
"alerts-festivals-story/awards.gif":"Awards",
"alerts-festivals-story/boxoffice.gif":"Box Office",
"alerts-festivals-story/breakingnews.gif":"Breaking News",
"alerts-festivals-story/cannes.jpg":"Cannes",
"alerts-festivals-story/comiccon.jpg":"Comiccon",
"alerts-festivals-story/dailies.png":"Dailies",
"alerts-festivals-story/emmywrap.jpg":"Emmy Wrap",
"alerts-festivals-story/exclusive.gif":"Exclusive",
"alerts-festivals-story/oscarwrap.png":"Oscar Wrap",
"alerts-festivals-story/partyreport.jpg":"Party Report",
"alerts-festivals-story/photos.png":"Photos",
"alerts-festivals-story/powerwomen.jpg":"Power Women",
"alerts-festivals-story/ratings.jpg":"Ratings",
"alerts-festivals-story/reviews.png":"Reviews",
"alerts-festivals-story/shortlist.jpg":"Shortlist",
"alerts-festivals-story/sundance.png":"Sundance",
"alerts-festivals-story/sxsw.jpg":"SXSW",
"alerts-festivals-story/thegrill.png":"TheGrill",
"alerts-festivals-story/toronto.jpg":"Toronto",
"alerts-festivals-story/tvratings.png":"TV Ratings",
"alerts-festivals-story/waxword.png":"Waxword",
"alerts-festivals-story/wrapvideo.png":"Wrap Video",
"0":"[ No Header Image ]"
    }}},
    "featured_story":{
        "field":{"type":"post","label":"Select Story 1","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}} 
        }
    },
    "story_2":{
        "field":{"type":"post","label":"Select Story 2","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
    },
    "story_3":{
        "field":{"type":"post","label":"Select Story 3","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
    },
    "story_4":{
        "field":{"type":"post","label":"Select Story 4","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
    },
    "story_5":{
        "field":{"type":"post","label":"Select Story 5","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
    },
    "story_6":{
        "field":{"type":"post","label":"Select Story 6","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
    },
    "story_7":{
        "field":{"type":"post","label":"Select Story 7","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
    },
    "video_story":{
        "field":{"type":"post","label":"Select Video","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        }
        "video_featured_img":{"field":{"type":"img","label":"Video Featured Image"}},
        "video_featured_img_link":{"field":{"type":"text","label":"URL to link Featured Video to"}},
    },
    "wrap_snap":{
        "field":{"type":"post","label":"Select Wrap Snap Story","limit":1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}},
            "img_url":{"field":{"type":"img","label":"Featured Image","optional":1}}
        },
        "wrap_featured_img":{"field":{"type":"img","label":"Video Featured Image"}},
        "wrap_featured_img_link":{"field":{"type":"text","label":"URL to link Featured Video to"}},
    },
    "more_stories":{
        "field":{"type":"post","label":"More Stories","limit":-1},
        "properties":{
            "title":{"field":{"type":"text","label":"Updated Title"}}
        }   
    }   
  } *}
    <!-- End Custom Fields -->