Loading...
 
Skip to main content

Enable overlib CSS styling

Status
Closed
Subject
Enable overlib CSS styling
Version
2.x
Category
  • Feature request
  • Patch
Feature
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Won't Fix
Submitted by
dgas
Lastmod by
Marc Laporte
Rating
(0)
Description

As installed, there is no easy way to globally style the overLIB popups. Preferably, there should be css classes defined so that themes can style the popups to match.

This patch (attached) can be used to replace the same file in folder lib/smarty_tiki

Files
  1. Function.popup Init.php
Solution

Attached is a patch to define CSS classes for the popups. The patch also removes the "overDiv" declaration, otherwise MSIE will produce errors. The overDiv would declared twice because the function call causes overLIB to dynamically declare the div, unable to see the unloaded HTML declaration, apparently. In any case, the HTML declaration isn't necessary. The change shouldn't have any effect on themes that don't declare CSS selectors for the tags, still it might be worthwhile to make this functionality optional.

Changes tested with the following browsers (on Windows):
Firefox 3
Safari 3.1
Chrome 0.2
MSIE 7
MSIE 6
MSIE 5.5

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2189
Created
Monday 01 December, 2008 18:21:18 UTC
by Unknown
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages