Forums / Setup & design / To redirect the link ..

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

To redirect the link ..

Author Message

nga patel

Friday 20 May 2005 8:14:45 am

In the design work of templates, I had used the same code to valid the guestbook entry as given in turorial but in my website it is as following:

<h3><div class="pagetitle">
    Mini-site, page générale
</div></h3>

<form enctype="multipart/form-data"
      method="post"
      action={concat("/content/edit/",
                     $object.id,
                     "/",
                     $edit_version)|ezurl}>



<table class="layout">
    <tr>
       <td>

        {include uri="design:content/edit_validation.tpl"}
        {include uri="design:content/edit_attribute.tpl"}
       
       
        <div class="buttonblock"  align="right">
        
         <input class="button"
                   type="submit" 
                   name="DiscardButton" 
                   value="Annular/retour liste" />
                   
   <form method="post"
      action={"espace_annonceurs/mini_site/modele_site"|ezurl}>
        
            <input class="defaultbutton"
                   type="submit"
                   name="PublishButton"
                   value="Valider" />
     </form>
  				               
            <input type="hidden" 
                   name="MainNodeID" 
                   value="{$main_node_id}" />
        </div>
    </td></tr>
</table>
</form>

As you can see, I try to add one more line as follows:

<form method="post"
      action={"espace_annonceurs/mini_site/modele_site"|ezurl}>
.......
</form>

It is because, I want to redirect the link means as any guest (after filling the edited form) click on button "Valid" with the validation of data he reach the link which I had suggested in the second code i.e; ../espace_annonceurs/mini_site/modele_site

But, I could not successed to achieve this,
Any other change if you can suggest,
Thanks