Publishing articles and authors

Author Message

Tim Dickinson

Saturday 19 July 2003 5:02:42 pm

Hi all,

EZ3 really looks great, and I am finding reasonably easy to work with at the moment - great work guys!
Although I have a couple of questions.

1) I have created a new class called download_review, obvioulsy for download reviews. I have added all the relevent parts, such as xml fields and date, etc... However, I have a field called author name, which I was wondering if it possible to 'fill' automatically with the name of the logged in member writing the review? Kind of the same way you can have the date auto-filled by the current date?

2) To organise my downlod reviews, I created a new section called Downloads under root, with a number of folders named by the type of software being reviewed under the Downloads section. Then when I create a download_review I 'send it for publishing' to the relevent folder within the Downloads section. However, these download_reviews do not show up in the relevent folders at all, they just seem to disappear completely. I can publish the reviews to directly under the Downloads section, but then they aren't organised which is basiccaly the point of the whole section. Any ideas what is going wrong?

Thanks for your help,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Paul Borgermans

Sunday 20 July 2003 3:54:48 am

1) These are already with the download review owner and creation/modification dates of the object.

2) If you have fixed folders for the different types, try setting

<input type="hidden" name="NodeID" value="<value of the type>" />

Instead of a hidden field, you can create a dropdown list in the edit template for your class where the reviewer can select tye type with some meaningful name.

Also check the roles for your new class if these reviews keep "disappearing".

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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

Main resources:

Total runtime0.0260 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.2578151.2109
Module start 'layout' 0.00620.0049 740.4688220.6875
Module start 'content' 0.01110.0132 961.1563997.7578
Module end 'content' 0.02430.0017 1,958.914133.9922
Script end 0.0260  1,992.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003212.1623140.0002
Check MTime0.00134.9254140.0001
Mysql Total
Database connection0.00103.652310.0010
Mysqli_queries0.003212.426030.0011
Looping result0.00000.054010.0000
Template Total0.00134.910.0013
Template load0.00103.656910.0010
Template processing0.00031.201610.0003
Override
Cache load0.00072.512110.0007
General
dbfile0.00031.303280.0000
String conversion0.00000.033940.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