Tuesday 16 August 2011 5:40:11 am - 4 replies

» Read full tutorial

Introduction

Beginners guide for learning how to use image maps in the ezwebin extension.

 
Author Message

Thiago Campos Viana

Tuesday 16 August 2011 8:54:35 am

Where and how do users put the map tag? Is it in the template, the ez editor or elsewhere? I used to put it in template by the override system. I think it is possible with the ez editor but we need to enable the html tag that isn't enabled by default (maybe with some template changes, 'cause we need an unique id for the image... is it "banner_map" for the frontpage? I never checked...).

Am I viewing the entire tutorial? It just show a sample usage of the html map tag... and the w3schools sample is more complete, it actually shows that it needs to exist a img tag somewhere...

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Nicolas Pastorino

Tuesday 16 August 2011 10:04:25 am

Hi Thiago, 

I just notified Doug of your remark, we will make sure that the necessary additional information is added.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Doug Brethower

Tuesday 16 August 2011 11:13:29 am

Excellent question, Thiago, thank you.

When ezwebin is installed with demo content, in the Media Libaray tab is created a folder called "Banners" along with some sample banners.

These banners are editable in the admin interface under the Media Library tab ie Media / Banners / Got Wood-Reality for a banner named "Got Wood-Reality"

About halfway down the editor interface page is an empty box labeled "Image Map"  It kept me curious, I could never find documentation.

I had your concern about unique id.  It has been a while since I debugged, but from memory the id is "uniqued" at the next level up.  So the same opening and closing lines may be used for multiple banners on a site.

http://bogzdogz.com is a site where the client thoroughly enjoyed the effect.

http://freedombiomass.com  the Twitter and "About" links are generated with an image map on a banner.  I may get around to completing that image map someday ;~)

Yours

Doug Brethower
Apple Certified Technical Consultant, Southwest, MO USA
http://share.ez.no/directory/companies/lakedata.net

Nicolas Pastorino

Friday 19 August 2011 5:53:35 am

Hi Doug, Thiago, 

I quickly added a visual explanation on how to insert the imagemap, there : http://share.ez.no/learn/ez-publish/image-maps-in-ezwebin-banners/(page)/3

@Doug : please let me know if this addition is not satisfactory.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

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 17 2025 21:01:23
Script start
Timing: Jan 17 2025 21:01:23
Module start 'layout'
Timing: Jan 17 2025 21:01:23
Module start 'content'
Timing: Jan 17 2025 21:01:23
Module end 'content'
Timing: Jan 17 2025 21:01:23
Script end

Main resources:

Total runtime0.1222 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 596.2500152.1250
Module start 'layout' 0.00510.0029 748.375039.4766
Module start 'content' 0.00800.1130 787.8516808.7969
Module end 'content' 0.12100.0011 1,596.648422.4766
Script end 0.1221  1,619.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00282.2802160.0002
Check MTime0.00110.9323160.0001
Mysql Total
Database connection0.00080.686010.0008
Mysqli_queries0.061850.5754760.0008
Looping result0.00040.3556740.0000
Template Total0.097880.120.0489
Template load0.00191.551120.0009
Template processing0.095978.516920.0480
Template load and register function0.00010.086810.0001
states
state_id_array0.00110.880020.0005
state_identifier_array0.00080.674530.0003
Override
Cache load0.00161.3339320.0001
Sytem overhead
Fetch class attribute name0.00110.933080.0001
Fetch class attribute can translate value0.00040.321630.0001
class_abstraction
Instantiating content class attribute0.00000.008890.0000
XML
Image XML parsing0.00110.921930.0004
General
dbfile0.00080.6957290.0000
String conversion0.00000.009040.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.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs