New question!
Im having some issue with EDIT db form.
Today im getting redirected to k_page_link so thats ok!
So im admin and i click a user in (self made admin system) and comes to the EDIT profile page. I get the ID for user and can edit the info with out any problems (employes-view.php?id=56)
But i wanna make the form redirect me to the employes-view.php?id=56 page after edit but then i get ERROR: Tag "form" - page_id required since i mist have the ID for the user again.
Any ideas guys ?
- Code: Select all
<cms:set edit_user = "<cms:gpc var='id'/>" 'global'/>
<cms:set id="<cms:gpc 'id' method='get' />" scope='global' />
<cms:form
masterpage='client/index.php'
mode='edit'
page_id=edit_user
enctype="multipart/form-data"
method='post'
anchor='0'
>
<cms:if k_success >
<cms:db_persist_form />
<cms:if k_success >
<cms:set_flash name='success_msg' value='1' />
<cms:redirect k_page_link />
</cms:if>
</cms:if>