factbox in ezP 3

Author Message

Majkl Najt

Monday 16 December 2002 1:55:53 am

I loved tag factbox in previous release.
What needs to be done if I want to make it work in this version?

Majkl Najt

Wednesday 18 December 2002 10:56:21 pm

HI!

It is really there :)
SOmetimes directory structure is too big to find everything :)
Hope some tutorial will solve this :)

It is true, now adding tags is more easier than before.

Thank to eZ crew.

> > I loved tag factbox in previous release.
> > What needs to be done if I want to make it work in this
> > version?
> In eZ publish 3 you have support for custom tags in much the
> same way as the 2.2 version. For now you need to use the
> syntax:
>
> <custom name='factbox'>
> This is the text in my factbox
> </custom>
>
> All you need to do then is to create a template for the
> factbox which will be named factbox.tpl. Put this file in
> the folder:
> design/standard/templates/content/datatype/view/ezxmltags/factbox.tpl
>
> In the same manner you can create as many factboxes as you
> like.
>
> ps: we will probably add a simpler way to tag the factbox (
> with automatic conversion to the custom xml tag )
>
> --bård

Majkl Najt

Thursday 19 December 2002 11:55:41 pm

Hi again!

How to add additional parameter to let say for example factbox
so it will accept param1 in way like this:

<custom name='factbox' param1='40'>
This is the text in my factbox
</custom>

Is there any way to do this?

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

Main resources:

Total runtime0.0260 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1328151.2109
Module start 'layout' 0.00540.0040 739.3438220.6875
Module start 'content' 0.00940.0150 960.0313997.6953
Module end 'content' 0.02440.0016 1,957.726629.9922
Script end 0.0260  1,987.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.7599140.0002
Check MTime0.00124.6137140.0001
Mysql Total
Database connection0.00093.284710.0009
Mysqli_queries0.003011.621830.0010
Looping result0.00000.043110.0000
Template Total0.00124.410.0012
Template load0.00093.453210.0009
Template processing0.00020.945310.0002
Override
Cache load0.00062.251510.0006
General
dbfile0.00239.003180.0003
String conversion0.00000.024740.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