Forums / Setup & design / Adding content link

Adding content link

Author Message

Nabil Alimi

Wednesday 09 March 2005 7:26:27 am

Hi there.

I am new to Ezpublish. I followed the tutorial "how to build an ezpublish website" and I'd like to know if there's a way to create new class' instances without using a form like discribed in the guestbook creation. (Just by using an href link in fact).

Thanks for reading me.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ɓukasz Serwatka

Thursday 10 March 2005 2:13:06 am

Hi Alimi,

You can`t use URL`s to create new content. Veriables must be passed to content/action/ module.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lex 007

Thursday 10 March 2005 2:43:54 am

Hi,

You could use a link that submits the form :

<form action="whatever" name=frm>
<input type=hidden ...>
<input type=text ...>
<a href='#' onClick='frm.submit()'>Submit my form</a>
</form>

Alex

Nabil Alimi

Monday 14 March 2005 2:34:06 am

Thanks a lot for your answers. You saved me. :)

(I mistook first name and last name. ^^)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr