Re: [TIP] popup tag overlib tricky cross platform problem solved

From: Date: Mon, 13 Feb 2006 23:34:21 +0000
Subject: Re: [TIP] popup tag overlib tricky cross platform problem solved
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13322@lists.php.net to get a copy of this message
Been there before ;-) EXACTLY same problem where a dev included in the template .... not the head tag .. with there was a require_once_smarty() ;-) se la vie DC wrote:
Hello, I spent today trying to nail down an elusive problem with overlib (version 421) popups showing on Mac Safari and Firefox but not on Win2000Pro. In IE6 I was getting a javascript error 'over is null or not an object'. The problem was that I had a duplicate {popup_init src="overlib.js"} tag in an included template. Once I removed the extra popup_init tag the problem went away. I'm sending this out so that it can make it into the archives and save someone else the trouble I had. BTW, I know it really is an application level problem, but is there a way to warn smarty users that popup_init has been called twice? Cheers, dc


« previous php.smarty.general (#13322) next »