Create categories - to publish content based on these categories

Author Message

Pavanred

Sunday 03 July 2011 11:43:51 pm

How should I go about creating new categories based on which the users can post/publish content specific to this category. I will also need to add category based content filtering. Any pointers will be very helpful for me to start with this?

Thanks in advance.

Pavan

 

Edit - On searching around, i found many references to Product category? Is this what I am looking for? I am not sure because I need category's for published content and not products.

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Features/VAT-charging-system/Product-category

My blog - http://www.pavankumar.info

Tomislav Buljević

Monday 04 July 2011 11:45:06 pm

Are you talking about a webshop or an ordinary site? Product Category is a datatype for webshops only. If you need to add categories and category based content filtering, you can manage that by creating your own classes and inputing custom datatypes into them. That is, if I understood you correctly.

As for the filtering part, you can accomplish this through the fetch function.

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

Main resources:

Total runtime0.0224 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.0061 588.1797152.6563
Module start 'layout' 0.00610.0043 740.835939.5156
Module start 'content' 0.01040.0083 780.351689.3203
Module end 'content' 0.01870.0036 869.671930.2891
Script end 0.0224  899.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.6411140.0002
Check MTime0.00115.0500140.0001
Mysql Total
Database connection0.00114.827710.0011
Mysqli_queries0.003214.481030.0011
Looping result0.00000.102110.0000
Template Total0.003214.210.0032
Template load0.00229.992610.0022
Template processing0.00094.126810.0009
Override
Cache load0.00188.034510.0018
General
dbfile0.00031.361480.0000
String conversion0.00000.031940.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