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 28 2025 15:05:24
Script start
Timing: Jan 28 2025 15:05:24
Module start 'layout'
Timing: Jan 28 2025 15:05:24
Module start 'content'
Timing: Jan 28 2025 15:05:24
Module end 'content'
Timing: Jan 28 2025 15:05:24
Script end

Main resources:

Total runtime0.0152 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.0048 596.6875151.2109
Module start 'layout' 0.00480.0023 747.898436.6563
Module start 'content' 0.00710.0067 784.554798.6797
Module end 'content' 0.01380.0014 883.234437.9766
Script end 0.0152  921.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002013.4517140.0001
Check MTime0.00096.0494140.0001
Mysql Total
Database connection0.00064.234110.0006
Mysqli_queries0.002818.397630.0009
Looping result0.00000.073710.0000
Template Total0.00106.810.0010
Template load0.00085.148110.0008
Template processing0.00031.671110.0003
Override
Cache load0.00053.451910.0005
General
dbfile0.002919.247280.0004
String conversion0.00000.039240.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