Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

No Tooltip on newbie Install of 2.6.2 Using Safari 1.2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
gardenguy
Smarty n00b


Joined: 27 Feb 2004
Posts: 2
Location: The Berkshires of Western Mass, USA

PostPosted: Fri Feb 27, 2004 5:10 pm    Post subject: No Tooltip on newbie Install of 2.6.2 Using Safari 1.2 Reply with quote

Hi,
Just downloaded and installed Smarty 2.6.2 and ran index.php in the demo folder. All is well except that in Safari 1.2 running Mac 10.3.2 there is no tooltip popup when I hover over the Help link.
Has Smarty been tested on Safari?
Thanks
David
Back to top
View user's profile Send private message Send e-mail
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Fri Feb 27, 2004 5:19 pm    Post subject: Reply with quote

You would have to see if overlib supports Safari.
Back to top
View user's profile Send private message Visit poster's website
Duncan
Smarty Pro


Joined: 16 Dec 2003
Posts: 166

PostPosted: Fri Feb 27, 2004 5:21 pm    Post subject: Reply with quote

From the smarty manual: http://smarty.php.net/manual/en/language.function.popup.init.php

Quote:
popup is an integration of overLib, a library used for popup windows. These are used for context sensitive information, such as help windows or tooltips. popup_init must be called once at the top of any page you plan on using the popup function. overLib was written by Erik Bosrup, and the homepage is located at http://www.bosrup.com/web/overlib/.

As of Smarty version 2.1.2, overLib does NOT come with the release. Download overLib, place the overlib.js file under your document root and supply the relative path to this file as the "src" parameter to popup_init.


However, there is also a bug report about some issues, which have been fixed in CVS:
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=2018
Back to top
View user's profile Send private message
gardenguy
Smarty n00b


Joined: 27 Feb 2004
Posts: 2
Location: The Berkshires of Western Mass, USA

PostPosted: Fri Feb 27, 2004 11:49 pm    Post subject: Getting Close Reply with quote

Hi Duncan,
Thanks for the info.
I am not quite sure where I will provide the relative path to this file as the "src" parameter to popup_init (in fact, what is popup_init)???
Thanks
David the gardenguy
Back to top
View user's profile Send private message Send e-mail
Duncan
Smarty Pro


Joined: 16 Dec 2003
Posts: 166

PostPosted: Sat Feb 28, 2004 7:52 am    Post subject: Re: Getting Close Reply with quote

gardenguy wrote:
I am not quite sure where I will provide the relative path to this file as the "src" parameter to popup_init (in fact, what is popup_init)???

The path is relative to your php file.
Lets say you have the following structure:

/script/templates/ -> template files
/script/www/ -> php files (your actual script)

If you would call (as set in the example):
Code:
{popup_init src="overlib.js"}
Then the overlib.js file would assumed to be located in the /script/www/ directory.

popup_init is needed to load the overlib.js file into the template, so that you can use the Smarty popup functions.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP