Inserting new data with forms

Author Message

Hugo Oliveira

Wednesday 07 February 2007 9:18:20 am

Hi everyone

I don't know if this is the place to ask. I'm sorry if it's not.

Here goes.

I have a content tree with folders. Inside a given folder (let's call it A) I only have sub-folders. When someone goes to A's page one gets a listing of all its sub-folders but also a link for a page with a form that enables one to insert new content. This content will then be stored under one of A's sub-folders. According to what I've found so far the best approach would be to define an override template for that content's class. However, how I could I get the href attribute for the mentioned link and how could I choose where to store this new content?

I hope it was not too confusing.

Thanks in advance for any help provided.

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 00:29:57
Script start
Timing: Jan 19 2025 00:29:57
Module start 'layout'
Timing: Jan 19 2025 00:29:57
Module start 'content'
Timing: Jan 19 2025 00:29:57
Module end 'content'
Timing: Jan 19 2025 00:29:57
Script end

Main resources:

Total runtime0.0156 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.0054 587.9141152.6250
Module start 'layout' 0.00540.0028 740.539139.4453
Module start 'content' 0.00820.0054 779.984485.1172
Module end 'content' 0.01360.0020 865.101630.3047
Script end 0.0156  895.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.6862140.0002
Check MTime0.00106.7278140.0001
Mysql Total
Database connection0.00127.571710.0012
Mysqli_queries0.002415.086830.0008
Looping result0.00000.185010.0000
Template Total0.001610.010.0016
Template load0.00085.001910.0008
Template processing0.00084.988210.0008
Override
Cache load0.00053.205710.0005
General
dbfile0.00148.673980.0002
String conversion0.00000.062740.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