Forums / Setup & design / Few problems with design

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

eZ debug

Timing: Jan 18 2025 10:39:38
Script start
Timing: Jan 18 2025 10:39:38
Module start 'content'
Timing: Jan 18 2025 10:39:39
Module end 'content'
Timing: Jan 18 2025 10:39:39
Script end

Main resources:

Total runtime0.9812 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.7109180.8359
Module start 'content' 0.00650.8255 768.5469539.9766
Module end 'content' 0.83210.1491 1,308.5234332.7500
Script end 0.9812  1,641.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4175210.0002
Check MTime0.00150.1513210.0001
Mysql Total
Database connection0.00070.074610.0007
Mysqli_queries0.907392.46741910.0048
Looping result0.00270.27211890.0000
Template Total0.950596.920.4752
Template load0.00200.200020.0010
Template processing0.948596.664720.4742
Template load and register function0.00010.012410.0001
states
state_id_array0.00080.077610.0008
state_identifier_array0.00120.125920.0006
Override
Cache load0.00170.1730400.0000
Sytem overhead
Fetch class attribute can translate value0.00220.219830.0007
Fetch class attribute name0.00180.180630.0006
XML
Image XML parsing0.00100.103330.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00270.2703290.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs