By pdann on
trying to use map / usemap on multipart logo gif in main header of each page. Since it is the main header it only seems addressable via the logo-loading section of the theme. however, the Map and Usemap html elements are being rejected.
Any tips?
Comments
Edit theme
The easiest way is to edit your theme template. E.g., if you're using bluemarine, open the file themes/bluemarine/xtemplate.xtmpl and put the code you need there, e.g., change
to
thank you. however,
thank you. however, chameleon doesn't seem to have a .xtmpl file, just a .theme file. I'll look at bluemarine to see about switching to it. otherwise, is there a way to generate or download the template file for chameleon?
chameleon.theme is it's own
chameleon.theme is it's own self contained theme. From a quick glance, it looks like what you will want is to modify line 40.
-sp
---------
Test site...always start with a test site.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Image map
Extending original question: how can client-side imagemap (e.g. <map id="imagemap"></map>) be submitted to Drupal? I use TinyMCE and cannot insert imagemap code to image.
Update: I solved the issue by direct editing of teaser and body field (e.g. DBA assist) with pasting imagemap code. My client won't change this page - but I'd like general solution to this as database editing is obviously not user-friendly.
Modify filter?
You shouldn't need to use db editing. Maybe you just need to add to the allowable tags in the HTML filter, or else post selecting "full HTML" as the input format.