Hi
Working on trying some things for upcoming recruitment website.
Client requirements are for the recruitment clients to post job postings. I am going to do this via a SAEF. Each of the clients will have a member group assigned to them.
I have two issues.
I can get the SAEF to show the correct custom fields etc. but when I click the submit, it goes to a blank white screen.
The second issue is that the entries are not getting recorded as weblog entries.
I have 2 weblogs, the 1st is called ‘recruitment’ and the other is called ‘recruitment_clients’ so what I have done is when you go to the url of /recruitment/ it shows all the jobs that have been posted (the ones posted from the EE back end post okay!). When you go to the url /recruitment_clients/ I have a {if logged_in} statement that gets them to log in. If they are logged in, then it shows the SAEF but the issues then happen when you click submit.
When you do click on submit, it goes back to index.php/recruitment_clients and shows a white blank page.
Using version: 1.6.9
Code on ‘recruitment’
{exp:weblog:entries weblog="recruitment" dynamic="on" rdf="off" sticky="yes" limit="10" disable="trackbacks"}
Title: {job_title}
Location: {job_location}
Job Type: {job_type}
Job Salary: {job_salary}
Job Reference: {job_reference}
{/exp:weblog:entries}Code on ‘recruitment_clients’
{if logged_in}
{exp:weblog:entry_form weblog="recruitment" return="recruitment/"}
Title: <input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>
{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}">{field_data}</textarea><br >
{/if}
{if textinput}
<input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50"><br >
{/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"><br >
{/if}
{if relationship}
<select id="{field_name}" name="{field_name}">
{options}<option value="{option_value}"{selected}>{option_name}</option>{/options}
</select>
{/if}
{/custom_fields}
Expiration Date
<input type="text" name="expiration_date" value="{expiration_date}" maxlength="23" size="25" /></p>
<input type="submit" name="submit" value="Submit" />
{ping_servers}
Ping Servers
{ping_row}
<input type="checkbox" name="ping[]" value="{ping_value}" {ping_checked} /> {ping_server_name}
{/ping_row}
{/ping_servers}
{/exp:weblog:entry_form}
{/if}
{if logged_out}
{exp:member:login_form return="recruitment_clients/"}
<label>Username</label>
<input type="text" name="username" value="" maxlength="32" class="input" size="25" /></p>
<label>Password</label>
<input type="password" name="password" value="" maxlength="32" class="input" size="25" /></p>
<input type="submit" name="submit" value="Submit" /></p>
{/exp:member:login_form}
{/if}Any help would be appreciated.
Regards
Steve