How to post category wise blogs?

Author Message

Thirunavukkrasu Arumugam

Thursday 09 April 2009 11:53:55 pm

I would like to create blog category and let the user can select the category and post thier blogs into the particular category...

How we have to let them select the category to post their blogs?

Help Me..

A. Thirunavukkarasu

Jean-Yves Zinsou

Friday 10 April 2009 1:40:18 am

Hello Arumugam,

i have come across this problem before, what i have done is use an edithandler to publish the object in the right location, depending on combobox

Si a technical article here :
http://serwatka.net/blog/ez_publish_3_8_new_custom_edit_handler

When an object gets publish, the edit handler gets triggered before the object is published, you can then the location a this time.

i am not sure bunt i think a saw somewhere that you can create a field in you form that specifies the parent id of the new object....

Hope this helps

Jey

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.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 16:21:54
Script start
Timing: Jan 18 2025 16:21:54
Module start 'layout'
Timing: Jan 18 2025 16:21:54
Module start 'content'
Timing: Jan 18 2025 16:21:55
Module end 'content'
Timing: Jan 18 2025 16:21:55
Script end

Main resources:

Total runtime1.0912 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0313152.6250
Module start 'layout' 0.00470.0024 741.656339.4453
Module start 'content' 0.00721.0824 781.1016527.6094
Module end 'content' 1.08960.0016 1,308.71098.1563
Script end 1.0912  1,316.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2871160.0002
Check MTime0.00130.1178160.0001
Mysql Total
Database connection0.00070.067710.0007
Mysqli_queries1.044495.7111540.0193
Looping result0.00060.0574520.0000
Template Total1.062297.320.5311
Template load0.00220.197620.0011
Template processing1.060097.139420.5300
Template load and register function0.00010.008210.0001
states
state_id_array0.00060.056710.0006
state_identifier_array0.00110.099620.0005
Override
Cache load0.00180.1643180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.066720.0004
Fetch class attribute name0.00090.085740.0002
XML
Image XML parsing0.00100.090020.0005
class_abstraction
Instantiating content class attribute0.00000.002240.0000
General
dbfile0.00140.1284220.0001
String conversion0.00000.000740.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs