Hello,
I’m working on a page that has a stand-alone entry form on it. I’m experiencing a problem with seemingly random failure of the form to display on a page. Without any change of code or any other factor the form will either show….or not show…at random on a web page. I’m testing as Admin and have no explicit permissions to post to the weblog in question but I’ve done this before (as admin) and never had this problem. This is a really standard form and page, here’s the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- PEPNOSIS PAGE FRAMEWORK VERSION 1.0 8/28/2007 8:35pm -->
<!-- PAGE PURPOSE: MY THOUGHTCAST -->
<head>
<title>Pepnosis • {slogan}</title>
{meta_tags}
{head_tag_additions}
<style type="text/css">body { display: none; }</style>
<link rel='stylesheet' type='text/css' media='screen' href='http://pepnosis.com/view?css=website/pepnosis_css' />
<style type='text/css' media='screen'>@import "{stylesheet=website/pepnosis_css}";</style>
</head>
<body>
<div id="container">
<div id="header">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="http://pepnosis.com">http://pepnosis.com/images/interface/logo.png</a></td>
<td>
<div class="account">{embed="region/.member_panel"}</div>
</td>
</tr>
</table>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="190">
<div id="sidebar_left">
{embed="region/.navigation"}
{embed="region/.promo_left"}
</div>
</td><td valign="top">
<!-- BREADCRUMBS -->
<h2 class="standard"><a href="http://pepnosis.com/">Home</a> → <a href="http://pepnosis.com/view/my_thoughts/">My Thoughts</a></h2>
{embed="region/.search"}
<!-- MAIN PAGE CONTENT -->
<!-- MAIN PAGE CONTENT -->
<!-- MAIN PAGE CONTENT -->
{embed="region/.promo_center_top"}
<!-- START ENTRY FORM -->
<!-- START ENTRY FORM -->
<!-- START ENTRY FORM -->
<div class="border_pepcast">
{exp:weblog:entry_form weblog="thought_casts" return="my_thoughts/index"}
<table>
<tr>
<td valign="top">
Title
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle();" />
<input type="hidden" name="url_title" id='url_title' value="{url_title}" />
{custom_fields}
{if required}* {/if}{field_label}
{field_instructions}
{if textarea}
<textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="50" rows="{rows}" onclick="setFieldName(this.name)">{field_data}</textarea>
{/if}
{if textinput}
<input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50" onclick="setFieldName(this.name)" />
{/if}
{if pulldown}
<select id="{field_name}" name="{field_name}">
{options}<option value="{option_value}"{selected}>{option_name}</option>{/options}
</select>
{/if}
{if date}
<input type="text" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50" onclick="setFieldName(this.name)" />
{/if}
{/custom_fields}
<input type="submit" name="submit" value="Submit" />
</td>
<td valign="top">
{status_menu}
Status
<select name="status">
{select_options}
</select>
{/status_menu}
<input type="checkbox" name="sticky" value="y" {sticky} /> Make Entry Sticky
<input type="checkbox" name="allow_comments" value="y" {allow_comments} /> Allow Comments
{category_menu}
Categories
<select name="category[]" size="4" multiple="multiple">
{select_options}
</select>
{/category_menu}
</td>
</tr>
</table>
{/exp:weblog:entry_form}
</div><!-- THOUGHTCAST BORDER BOX -->
<!-- MAIN CONTENT BOX -->
<div class="border_pepcast">
{exp:favorites:entries weblog="thoughts" limit="100" sort="asc" orderby="title"}
<div class="entry"><a href="http://{permalink=finder/thought_info}">{title}</a></div>
<div class="posted">
{exp:favorites:saved entry_id="{entry_id}"}
{if saved}
<div class="left" id="{count}">
<a href="#" onclick="new Ajax.Updater( '{count}', '{path=finder/thought_add}{entry_id}/delete' ); return false;">http://pepnosis.com/images/interface/icons/delete.png Forget Thought</a>
</div>
{/if}
{if not_saved}
<div class="left" id="{count}">
<a href="#" onclick="new Ajax.Updater( '{count}', '{path=finder/thought_add}{entry_id}' ); return false;">http://pepnosis.com/images/interface/icons/add.png Remember Thought</a>
</div>
{/if}
{/exp:favorites:saved}
<div class="right">ID:{entry_id} | <a href="http://{path=finder/index}">Find Similar</a> | {categories show="not 1|2|3"}<a href="http://{path=finder/index}">{category_name}</a>{/categories} | <a href="http://{permalink=finder/thought_info}">More Info</a></div>
</div>
{/exp:favorites:entries}
</div>I ran out of space for code in this entry but the gist is there. Any help would be appreciated. Thanks 😉