Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 12, 2011 @ 09:31
    Fuji Kusaka
    0

    Associating a Career Section in Contour

    I was thinking of creating a career section in umbraco with contour where each job has a RefNum which the Admin will enter himself.

    My question is how do i get Contour to grab the RefNum which will be stored in the Entries.

    Is this possible in Contour? 

    //fuji

  • Rik Helsen 670 posts 873 karma points
    Oct 12, 2011 @ 11:11
    Rik Helsen
    0

    Yes it is possible, in the pdf documentation of contour it's mentioned how to prefill fields with page property values

    Check out page 20 of this document: http://umbraco.com/pro-downloads/contour/ContourDeveloperDocs.pdf

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 12, 2011 @ 11:39
    Fuji Kusaka
    0

    Hmmmm Right I havent thought of that.....so basically i just need to add a Field either of Type HiddenField or TextArea and in the Default Value something like [#propertyAlias] right?

     

     

  • Rik Helsen 670 posts 873 karma points
    Oct 12, 2011 @ 11:57
    Rik Helsen
    1

    Just have some textstrings available for the fields that change for each page, don't use them in the template, just in the backend. (we use it to send form emails to different people based on a page property containing the email adress)

     

    In your case, you could just insert the property containing the reference code in the title & body of the email you send when a form is submitted

  • Rik Helsen 670 posts 873 karma points
    Oct 14, 2011 @ 16:11
    Rik Helsen
    0

    Thanks for the karma :(

     

    and no you wouldn't need  a hidden field, you can just use the page value directly in the email template in your workflow

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 14, 2011 @ 16:20
    Fuji Kusaka
    0

    Hey Rik,

    I need a Hidden Field since users dont need to see any of the RefNum being attributed to the node, and am using a lightbox to open the form so here is my solution.

    <a href="nodeName.aspx?Refnum=<umbraco:Item field='filedName' runat='server' />"> ...</a>
    In the Default Value of my contour Field [@Refnum]

    //fuji

Please Sign in or register to post replies

Write your reply to:

Draft