Hi all, I’ve been having problems and I can’t figure out why…
I’m using the LogMeIn plugin to allow users to submit their stories to the website and they would sit as “pending” until someone approves it.
The problem I’m having is that when you submit the form, it takes you to the same url the form exists at and the page is completely blank. I’ve searched all around the boards for an answer but none of the tips/tricks seemed to have worked (checked htaccess, etc). I know the form at least kinda sorta works, as the preview feature works. But upon submitting, the entry never makes it in the database and you get the blank page…
Am I missing something?
Update: I thought I’d share that I am on a MSM install, where the control panel is installed on another domain… hopefully it doesn’t matter but I thought I’d share it anyway.
{exp:logmein:now username="priveleged_guest" expire="5000"}
{exp:weblog:entry_form weblog="stories" return="stories/index" preview="stories/submit" status="pending"}
{preview}
<h3>{title}</h3>
<p> {display_custom_fields}<br />
{/preview}<br />
<br />
Title</p>
<p> <input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" /></p></p>
<p> {custom_fields}<br />
{if required}* {/if}{field_label}</p>
<p> {field_instructions} </p>
<p> {if textarea}<br />
<textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="50" rows="{rows}">{field_data}</textarea><br ><br />
{/if}</p>
<p> {if textinput}<br />
<input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50" /><br ><br />
{/if}<br />
<br />
{/custom_fields}</p>
<p> <input type="submit" name="submit" value="Submit" /><br />
<input type="submit" name="preview" value="Preview" /></p>
<p> {/exp:weblog:entry_form}The form exists at /stories/submit/ and the preview is on the same page. I want them to be taken to /stories/thanks/ when it is done.
Any help would be greatly appreciated!