Two problems
Posted: 08 December 2010 02:49 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  1
Joined  2010-11-29

Tag from solspace gives works for the input put is empty in the editform

<textarea id=“tag_f” name=“tag_f” cols=“50” rows=“5”>???{tag_f}????</textarea>

and second problem File is uploading but but isn’t attached to the entry.

Ps. I don’t see {formatting_buttons}

Profile
 
 
Posted: 08 December 2010 02:50 AM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Gonna need a bit more information…template code at least.

Profile
 
 
Posted: 08 December 2010 03:56 AM   [ Ignore ]   [ # 2 ]
Wallflower
Rank
Total Posts:  1
Joined  2010-11-29
<link href="{path=css/_ee_saef_css}" type="text/css" rel="stylesheet" media="screen" /> 
{exp:jquery:script_tag} 
{exp
:jquery:script_tag ui="datepicker"}


{exp
:safecracker channel="ingezonden" return="input/ENTRY_ID" entry_id="{segment_2}"}
    
<label for="title">Title</label>
    <
input type="text" name="title" id="title" value="{title}" size="50" maxlength="100">
<
br /><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 /><br />



{custom_fields} 

{formatting_buttons} 

{if textarea} 
<textarea id="{tekst_ingezonden}" name="tekst_ingezonden" dir="{text_direction}"  cols="50" rows="5">{tekst_ingezonden}</textarea>  {/if} 
{if file} {display_field} {
/if} {if safecracker_file} {display_field} {/if} 




{
/custom_fields} 

<input id="afbeeldingen_ingezonden" name="afbeeldingen_ingezonden" class="element file" type="file" /> 
{field:afbeeldingen_ingezonden} 



<textarea id="tag_f" name="tag_f" cols="50" rows="5">{tag_f}</textarea
    

<
br /><br />
    
{status_menu}
        
<label for="status">Status</label>
        <
select name="status" id="status">
        
{select_options}
        
</select>
    
{/status_menu}
<br /><br />
    <
label for="entry_date">Date</label>
    <
input type="text" name="entry_date" id="entry_date" value="{entry_date}" maxlength="23" size="25" />
<
br /><br />
    <
label for="expiration_date">Expiration Date</label>
    <
input type="text" name="expiration_date" id="expiration_date" value="{expiration_date}" maxlength="23" size="25" />
<
br />
    <
label for="comment_expiration_date">Comment Expiration Date</label>
    <
input type="text" name="comment_expiration_date" id="comment_expiration_date" value="{comment_expiration_date}" maxlength="23" size="25" />
<
br /><br />
    <
label class="checkbox"><input type="checkbox" name="sticky" value="y"  {sticky} /> Make Entry Sticky</label><br />
    <
label class="checkbox"><input type="checkbox" name="allow_comments" value="y" {allow_comments} /> Allow Comments</label><br />
    <
label class="checkbox"><input type="checkbox" name="dst_enabled" value="y" {dst_enabled} />DST Active on Date of Entry</label>
<
br /><br />
    
{category_menu}
        
<label for="categories">Categories</label>
        <
select name="category[]" id="categories" size="18" multiple="multiple">
        
{select_options}
        
</select>
    
{/category_menu}
<br />    <br />
    
{if captcha}
        
<label for="captcha">Please enter the word you see in the image below:</label
        {captcha}
        
<input type="text" name="captcha" value="{captcha_word}" maxlength="20" />
    
{/if}
<br /><br />
    <
input type="submit" name="submit" value="Submit" />

{/exp:safecracker} 
Profile
 
 
Posted: 08 December 2010 04:00 AM   [ Ignore ]   [ # 3 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

For the SC File field, you have to use {field:your_field_name}, you can’t create your own file input.

For solspace Tag see their SAEF docs: http://www.solspace.com/docs/detail/tag_stand_alone_entry_form/

<p><textarea id="tag_f"  name="tag_f" rows="50" rows="5">
{exp:tag:tags entry_id="{entry_id}" type="weblog"}
{tag}
{
/exp:tag:tags}
</textarea></p

Formatting buttons: a known bug that I’m trying to fix.

Profile
 
 
   
 
 
‹‹ Multiple POST actions      Multi Page Forms ››