Few problems with design

Author Message

Piotr Michałowski

Wednesday 05 August 2009 5:35:02 am

Hi,
I've installed ezPublish to create an easy webiste (something like knowledge database). I've created three types of content: News, Article, Link with custom fields. I've created folders for those content (they are automatically displayed in site menu). I need help to do some things, especially information what files I need to edit:

1. I've edited main page and added there three objects usin WYSIWYG editor: links, articles and news (embed). All item are presented on list by title on mainpage, and I want to present news by other fields (date, lead). How to display that fields on mainpage?

2. In folders, on items list, items are displayed also by title only and I want to display more fields (date, lead etc.). How can I do that?

3. I've already edited file /extension/ezwebin/design/ezwebin/templates/node/view/full.tpl to add field name before field value e.g. <B>Tags:</b> tag1, tag2, tag3 (I've added <B>Tags:</b>). But I want to display field name only with seleted fields not with all. Could you tell me how?

4. I want to display on main page the most popular tagsfrom tags clud (e.g. 20 most popular). How can I do that?

Thanks for any help,

Regards,
Piotr

Łukasz Serwatka

Wednesday 05 August 2009 5:46:02 am

Piotr, hello and welcome to the eZ Publish Community!

To help you get started with eZ Publish, you might find the tutorial "Building an eZ Publish site" ( http://ez.no/products/ez_publish/documentation/building_an_ez_publish_site ) helpful. It covers the basic concepts of eZ Publish, such as how to work with templates, create custom classes and much more.

If you want to learn more about eZ Publish development (like creating new modules, extensions, or integrating with external applications) take a look at the developer documentation ( http://ez.no/products/ez_publish/documentation/development ).

The all-important technical and user manuals are available via the eZ Publish on-line documentation ( http://ez.no/doc ). You can also download off-line versions of eZ Publish documentation.

Also, the ez.no forums ( http://ez.no/community/forum ) are a valuable resource. A quick search ( http://ez.no/content/advancedsearch ) will answer many of your questions.

"eZ Publish basics" ( http://ez.no/products/books/ez_publish_basics )

This book is compatible with eZ Publish versions 3.5 to 3.8. It can be used as a self-study guide, as a textbook for the eZ Publish certification course, or as an aid for preparing for the eZ Publish web developer certification.

- The following topics are covered:
- Installation
- The architecture of eZ Publish
- Content management concepts
- Design-related issues
- Configuration
- Permissions
- The integrated Webshop
- The workflow system
- Templates and overrides
- Common tips and tricks
- Extension development

The book "Learning eZ Publish 3" ( http://ez.no/products/books/ez_publish_book ) will help you conquer eZ Publish and learn the skills to become an accomplished eZ Publish developer. At the end of the book, you will:

- Understand how eZ Publish handles, versions and publishes content to the web
- Be confident working in the eZ Publish administration area
- Know the secrets of the eZ Publish templating system for designing your own pages
- Have the skills to create new eZ Publish extensions
- See how real-world eZ Publish sites have been designed and implemented

We look forward to your participation in the community and to hearing about the sites you create.

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

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 15:00:43
Script start
Timing: Jan 18 2025 15:00:43
Module start 'layout'
Timing: Jan 18 2025 15:00:43
Module start 'content'
Timing: Jan 18 2025 15:00:44
Module end 'content'
Timing: Jan 18 2025 15:00:44
Script end

Main resources:

Total runtime1.2117 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.0044 587.9141152.6250
Module start 'layout' 0.00440.0025 740.539139.4453
Module start 'content' 0.00691.2032 779.9844538.8984
Module end 'content' 1.21000.0017 1,318.882812.1641
Script end 1.2117  1,331.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2560160.0002
Check MTime0.00130.1090160.0001
Mysql Total
Database connection0.00060.046810.0006
Mysqli_queries1.151895.0577540.0213
Looping result0.00050.0416520.0000
Template Total1.184697.820.5923
Template load0.00210.171620.0010
Template processing1.182597.584120.5912
Template load and register function0.00020.018710.0002
states
state_id_array0.00070.054110.0007
state_identifier_array0.00100.079620.0005
Override
Cache load0.00180.1449400.0000
Sytem overhead
Fetch class attribute can translate value0.00060.053120.0003
Fetch class attribute name0.00120.098930.0004
XML
Image XML parsing0.00070.058620.0004
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00080.0622180.0000
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs