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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:22:11
Script start
Timing: Jan 18 2025 04:22:11
Module start 'layout'
Timing: Jan 18 2025 04:22:11
Module start 'content'
Timing: Jan 18 2025 04:22:11
Module end 'content'
Timing: Jan 18 2025 04:22:11
Script end

Main resources:

Total runtime0.0164 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.8516152.5938
Module start 'layout' 0.00530.0038 742.445339.3828
Module start 'content' 0.00910.0049 781.828193.2891
Module end 'content' 0.01410.0023 875.117234.2891
Script end 0.0164  909.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002917.8466140.0002
Check MTime0.00127.3933140.0001
Mysql Total
Database connection0.00053.330110.0005
Mysqli_queries0.003320.323130.0011
Looping result0.00000.133610.0000
Template Total0.001710.510.0017
Template load0.00106.033110.0010
Template processing0.00074.450810.0007
Override
Cache load0.00074.073310.0007
General
dbfile0.00021.396580.0000
String conversion0.00000.053740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs