"AddToBookmarks" without using a HTML FORM?

Author Message

Marco Zinn

Saturday 09 July 2005 3:22:59 am

Hi,
the usual way to add the current node to "my bookmarks" involves creating a HTML FORM with action="content/action", setting the node ID in a hidden field, which is "started" from an INPUT element with the name "AddToBookmark" (or the like).
For design reasons, i cannot use a FORM in my setup. Is there some URL, that i can open, achieving the same?
Something like /content/action/AddToBookmark/<node_id> ?

As the user does not input anything, i see no necessity to use a HTML form anyway, but i guess, this gives ezPublish some flexibily with "content actions".
Any hint is appreciated. I'm using ez 3.4.4, btw, but i could patch some files, if needed.

Marco
http://www.hyperroad-design.com

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 19 2025 04:41:23
Script start
Timing: Jan 19 2025 04:41:23
Module start 'layout'
Timing: Jan 19 2025 04:41:23
Module start 'content'
Timing: Jan 19 2025 04:41:24
Module end 'content'
Timing: Jan 19 2025 04:41:24
Script end

Main resources:

Total runtime0.7891 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.2891152.6406
Module start 'layout' 0.00530.0023 741.929739.4766
Module start 'content' 0.00760.7799 781.4063469.1797
Module end 'content' 0.78750.0016 1,250.58598.1250
Script end 0.7891  1,258.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4078160.0002
Check MTime0.00130.1673160.0001
Mysql Total
Database connection0.00080.100010.0008
Mysqli_queries0.749094.9099460.0163
Looping result0.00050.0620440.0000
Template Total0.760896.420.3804
Template load0.00220.275720.0011
Template processing0.758696.129020.3793
Template load and register function0.00010.016210.0001
states
state_id_array0.00090.115810.0009
state_identifier_array0.00090.113320.0004
Override
Cache load0.00170.2200100.0002
Sytem overhead
Fetch class attribute can translate value0.00100.132810.0010
Fetch class attribute name0.00060.077620.0003
XML
Image XML parsing0.00050.067310.0005
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00090.1115160.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs