Issue with new Safecracker variables
Posted: 17 December 2010 07:21 PM   [ Ignore ]
Wallflower
Rank
Total Posts:  6
Joined  2010-12-17

I am having an issue displaying variables using safecracker. I am trying to get the field instructions, as entered in the control panel.

Attached is a screenshot of what I am seeing in a browser, below is the EE code I am using. Thank you very much for this script and your assistance.

ExpressionEngine v2.1.0 is v Build 20101215

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<
html>

<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<
title></title>
<
link rel="stylesheet" href="{stylesheet=stylesheet/highslide}" type="text/css">
[removed][removed]
<link href="{path=css/_ee_saef_css}" type="text/css" rel="stylesheet" media="screen" />
{exp:jquery:script_tag}
{exp
:jquery:script_tag ui="datepicker"}

</head>

<
body>
{exp:safecracker channel="living-proof" return="pole-walking/submitted" logged_out_member_id="4" error_handling="inline"}
    
<label for="title">Title</label>
    <
input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"><br>

    <
label for="url_title">URL Title</label>
    <
input type="text" name="url_title" id="url_title" value="{url_title}" maxlength="75" size="50" /><br>

    
By <input name="living-proof-by" type="text"><br>
    
Display Name<input name="living-proof-display-name" type="text"><br>
    <
b>{instructions:living-proof-display_name}</b><br>


    <
input type="submit" value="Submit">
{/exp:safecracker}



</body>

</
html
Profile
 
 
Posted: 17 December 2010 07:23 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

The new {instructions:field} tag requires SafeCracker 1.0.1, which in turn requires EE 2.1.2. Once you update all should be working.

Profile