I’ve downloaded the Form Helper plugin, read the documentation and have implemented it into my templates - one with the edit link, and the other with the forms that are supossed to be populated with the weblog entry data. I know that the link works because I can load the page without the form data, but when I try to load the page with the SAEF tags I get this error:
Notice: Undefined property: Template::$site_ids in /var/www/html/ee/admin/modules/weblog/mod.weblog_standalone.php on line 209
Warning: implode() [function.implode]: Bad arguments. in /var/www/html/ee/admin/modules/weblog/mod.weblog_standalone.php on line 209
MySQL ERROR:Error Number: 1054
Description: Unknown column ‘site_id’ in ‘where clause’
Query: SELECT weblog_id from exp_weblogs WHERE site_id IN (’’) AND blog_name = ‘blog_listing’ AND is_user_blog = ‘n’
Here is my current code:
{exp:weblog:entries weblog="blog_listing"}
{exp:weblog:entry_form weblog="blog_listing" return="resources/blogs"}
<input type="hidden" name="entry_id" value="{entry_id}" />
<input type="hidden" name="title" value="{title}" />
<input type="hidden" name="entry_date" value="{entry_date format='%Y-%m-%d %g:%i %A'}" />
<table>
<tr>
<td>
<p>Name *<br />
<span style="font-size:9px; color:gray; ">
First and Last, please
</span><br />
<textarea name="{exp:form_helper:field_grabber field_name='name'}" />{exp:form_helper:field_parser}{name}{/exp:form_helper:field_parser}</textarea>
<input type="hidden" name="{exp:form_helper:field_grabber field_name='name' which='format'}" value="br" />
</p>
--- other custom fields removed for easier reading. they are exactly the same as the above code just with a different name. ---
</td>
<td valign="top">
<input type="submit" name="submit" value="Submit" />
{exp:form_helper:statuses entry_id="{entry_id}" exclude="open"}
<input type="radio" name="status" value="{entry_status}" {checked} /> {entry_status}
{/exp:form_helper:statuses}
</td>
</tr>
</table>
{/exp:weblog:entry_form}
{/exp:weblog:entries}
Any help would be appriciated.
Thank you!
p.s. I’ve never used ExpressionEngine before Monday so this is all rather new to me.
