Forums / Developer / Help

Help

Author Message

carlos mboyo

Tuesday 11 January 2011 5:21:15 am

Pease I'd like to know how to create a link that opens a class in ez publish instead of a button

Ahmed Arous

Tuesday 11 January 2011 5:54:27 am

What do you mean by "a link that opens a class" ? what kind of class ? can you explain more please ?

carlos mboyo

Tuesday 11 January 2011 6:23:58 am

I created a form with ez publish by creating a class of type form.
Now to access the form object I use a button to which I attach the id of class to access my form.
Now I'd like to enter this class with a link. not with a button

H-Works Agency

Tuesday 11 January 2011 6:48:45 am

Uhm you have to use javascript to post some variable because ezpublish need posted hidden field to create the form.

EZP is Great

Bertrand Dunogier

Tuesday 11 January 2011 6:58:08 am

As requested by the W3C, requests that change the repository (the database, here) must use POST and not GET. You can indeed use javascript to achieve that.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

André R.

Tuesday 11 January 2011 7:30:05 am

Or you can use css to style the button as a link :)

That way search engines will still ignore it as any other post form.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom