Hi,
any idea why this isn't working ?
I try to post a page to child folder of <cms:template title='Companies' clonable='1' commentable='1' dynamic_folders='1'>
any idea why this isn't working ?
- Code: Select all
<cms:form
masterpage=k_template_name
mode='create'
enctype='multipart/form-data'
method='post'
anchor='0'
>
<cms:if k_success >
<cms:db_persist_form
_invalidate_cache='0'
k_folder_title='frm_folder_title'
/>
<cms:set_flash name='submit_success' value='1' />
<cms:redirect "<cms:link 'companies.php'/>" />
</cms:if>
<cms:if k_error >
<div class="error">
<cms:each k_error >
<br><cms:show item />
</cms:each>
</div>
</cms:if>
<label>Company name</label>
<cms:input type="bound" name="k_page_title" />
<label>e-mail</label>
<cms:input name="company_mail" type="bound" required='1'/><br/>
<cms:input type="dropdown"
name="folder_title"
opt_values=" <cms:folders masterpage='companies.php'><cms:show k_folder_title/> | </cms:folders> "
/>
<cms:dump />
<button type="submit">Submit</button>
</cms:form>
I try to post a page to child folder of <cms:template title='Companies' clonable='1' commentable='1' dynamic_folders='1'>