[HOWTO] link for create a new objet

Author Message

Yannick Komotir

Tuesday 03 June 2008 2:47:41 am

[sorry for all mistakes i'm francophone ]

hi,

i am a beginners with ez publish; i want to know how i can create a link on the site who call the create page of a particular objet.

Bests regards

Yannick_

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Łukasz Serwatka

Friday 06 June 2008 1:15:29 am

Hi,

You can't create a link. eZ Publish uses POST actions for new object creating. You can make a link to edit mode if you know the object ID then simply make it as example.com/content/edit/<object_id>.

More about object creation you can learn from this topic
http://ez.no/developer/forum/developer/how_can_we_create_content_objects_from_code

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

Yannick Komotir

Friday 13 June 2008 7:45:21 am

hi Łukasz,

Thanks a lot to you

Yannick_

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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

Main resources:

Total runtime0.0170 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0547152.6250
Module start 'layout' 0.00580.0040 741.679739.4609
Module start 'content' 0.00980.0056 781.140689.3359
Module end 'content' 0.01540.0016 870.476634.3047
Script end 0.0170  904.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.9117140.0002
Check MTime0.00116.1957140.0001
Mysql Total
Database connection0.00095.176210.0009
Mysqli_queries0.003218.852330.0011
Looping result0.00000.158510.0000
Template Total0.00137.810.0013
Template load0.00073.911310.0007
Template processing0.00073.888810.0007
Override
Cache load0.00042.570610.0004
General
dbfile0.00031.771280.0000
String conversion0.00000.064540.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