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

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 22:27:21
Script start
Timing: Jan 18 2025 22:27:21
Module start 'layout'
Timing: Jan 18 2025 22:27:21
Module start 'content'
Timing: Jan 18 2025 22:27:22
Module end 'content'
Timing: Jan 18 2025 22:27:22
Script end

Main resources:

Total runtime0.6437 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.3359152.6250
Module start 'layout' 0.00670.0026 741.960939.4297
Module start 'content' 0.00930.6330 781.3906595.6953
Module end 'content' 0.64220.0014 1,377.085912.1875
Script end 0.6436  1,389.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5451160.0002
Check MTime0.00140.2194160.0001
Mysql Total
Database connection0.00090.136510.0009
Mysqli_queries0.592191.9862620.0095
Looping result0.00050.0784600.0000
Template Total0.608194.520.3040
Template load0.00230.355820.0011
Template processing0.605894.115620.3029
Template load and register function0.00010.016910.0001
states
state_id_array0.00090.142210.0009
state_identifier_array0.00080.131620.0004
Override
Cache load0.00180.2861210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.078630.0002
Fetch class attribute name0.00100.155470.0001
XML
Image XML parsing0.00150.227730.0005
class_abstraction
Instantiating content class attribute0.00000.001780.0000
General
dbfile0.00100.1627300.0000
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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs