PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Creating content dynamically via 'Create Post content template'

  1. Robert Ford
    Member

    Hi,

    I'm allowing teens to post stories of public service that they're doing in their communities.

    Here's the link to the page: http://sharingservicestories.org/?page_id=176

    In the Body field (which I've renamed 'Details') on the form, I concatenate the fields as follows:

    {Upload Image:8:medium:left}{Details:3}

    [youtube]{YouTube URL::6}[/youtube]

    So, what I'd like to do is to embed the video as part of the post, if they've provided a YouTube URL.

    I was hoping that if they didn't provide a video URL, that the Viper's Video Quicktags plug-in would just ignore it, but what it is doing is giving me an error message.

    Is there a way that I can use conditional logic to have two versions of post content, one with the video and one without?

    Thanks in advance,

    Robert Ford

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  2. Currently the content templates do not support conditional logic or if statements. However, it is something we intend to make possible in a future release.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink