Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Smarty Docs Search plugin for FireFox
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
mohrt
Administrator


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

PostPosted: Wed Jul 07, 2004 2:29 pm    Post subject: Smarty Docs Search plugin for FireFox Reply with quote

I created a search plugin for The FireFox browser (I'm sure it works the same for other browsers that support search plugins such as Netscape 6)

I submitted the plugin to the mycroft site, but for the impatient you can get it here:

http://www.phpinsider.com/temp/smarty-search.tar.gz

The archive contains two files:

smarty-docs.gif
smarty-docs.src

drop them into your firefox/searchplugins/ directory and restart the browser.

Enjoy!
Monte
Back to top
View user's profile Send private message Visit poster's website
boots
Administrator


Joined: 16 Apr 2003
Posts: 5613
Location: Toronto, Canada

PostPosted: Wed Jul 07, 2004 3:22 pm    Post subject: Reply with quote

Monte, you rock.
Back to top
View user's profile Send private message
AnteD
Smarty Regular


Joined: 14 Dec 2004
Posts: 38

PostPosted: Fri Feb 04, 2005 10:16 am    Post subject: Reply with quote

I have done all that...what now?I don't see anything new in FF... Sad
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Fri Feb 04, 2005 3:00 pm    Post subject: Reply with quote

Hmm, it works for me. Make sure you got the right plugin directory, and you restarted your browser.
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 04, 2005 8:21 pm    Post subject: Reply with quote

Damn,
I missed this post, if it hadn't been for these recent replies - this plugin is excellent. Great work! Smile
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5613
Location: Toronto, Canada

PostPosted: Fri Feb 04, 2005 11:22 pm    Post subject: Reply with quote

Another Tip for Firefox users:

If there is a search box you find interesting (like the one on the Smarty page) you can you can right click in it and select "Add a keyword for this search..." in the context menu which will bring up a dialog. Enter a key name (say 'smarty') and then from the location bar you can search using the keyword "smarty"

eg: in the location bar type: smarty popup

ecco la!

Your Configuration May Vary.
Back to top
View user's profile Send private message
sdg
Smarty n00b


Joined: 04 Mar 2005
Posts: 2

PostPosted: Fri Mar 04, 2005 8:33 am    Post subject: Reply with quote

after installation of this plugIn, where i can find it in firefox ???

thanks for any help
Back to top
View user's profile Send private message
sdg
Smarty n00b


Joined: 04 Mar 2005
Posts: 2

PostPosted: Fri Mar 04, 2005 10:03 am    Post subject: Reply with quote

ok, i found it. sorry
Back to top
View user's profile Send private message
grahama
Smarty Rookie


Joined: 29 Mar 2005
Posts: 5

PostPosted: Tue Mar 29, 2005 9:18 pm    Post subject: Reply with quote

where is directory for firefox on mac os x ?
firefox/searchplugins/ does not seem to exist
I looked in firefox's package contents and there is a 'plugins' folder but no 'searchplugins'

many thanks
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Tue Mar 29, 2005 9:44 pm    Post subject: Reply with quote

Good thing we have an OS X guru here Smile

Since firefox comes in a "package", you must right-click firefox (or ctrl-click for the one-button purists) and select "show package contents"

From there, you go into the Contents/MacOS/searchplugins directory an place the plugin files in there.


Last edited by mohrt on Tue Mar 29, 2005 9:55 pm; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
mohrt
Administrator


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

PostPosted: Tue Mar 29, 2005 9:50 pm    Post subject: Reply with quote

Another option, from command line go to:

/Applications/Firefox.app/Contents/MacOS/searchplugins

that .app extension let's you go "inside" the package
Back to top
View user's profile Send private message Visit poster's website
buggedcom
Smarty Rookie


Joined: 16 Feb 2005
Posts: 16

PostPosted: Fri Apr 22, 2005 12:59 pm    Post subject: safari tip... Reply with quote

tip for safari (mac) users... get acid search http://www.pozytron.com/?acidsearch you can add and edit your own search channels. tis absolutley great, been using it for forums, doc list, other search engines.

it was a wonderful day when this was created.
Back to top
View user's profile Send private message
ZakMc
Smarty Pro


Joined: 04 Oct 2004
Posts: 182

PostPosted: Thu Sep 29, 2005 1:57 pm    Post subject: Reply with quote

thx @boots
nice tip i dont know this feature!!
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5613
Location: Toronto, Canada

PostPosted: Wed Dec 28, 2005 8:04 pm    Post subject: Reply with quote

I thought I would add a couple of tips for firefox users (really just an slight expansion of what I posted earlier....) These are handy if you are the sort that is used to typing everything into the address bar. These tips rely on the "keywords" features of firefox's bookmark system.

A) Standard Search Smarty Forums
i) create a bookmark for the following url:

http://www.phpinsider.com/smarty-forum/search.php?search_keywords=%s

The %s in the url will be replaced as will be shown in a moment.

ii) enter a keyword that you will type into the address bar to activate the bookmark. I used "sf" for "smarty forums".

iii) Save the bookmark and for convenience, put it into an folder to house various shortcuts of this sort. These bookmarks can not be used as normal bookmarks because of the otherwise illegal %s sequence.

iv) Okay, now in the address bar type something like:

sf foreach section

voila -- instant search of the forums!


B) Documentation Search at Smarty.php.net
i) create a bookmark for the following url:

http://smarty.php.net/%s

ii) enter a keyword that you will type into the address bar to activate the bookmark. I used "sd" for "smarty documentation".

iii) Save the bookmark as earlier...

iv) Finally, in the address bar type something like:

sd foreach

voila -- instant search of the documentation!
Back to top
View user's profile Send private message
p_mash
Smarty n00b


Joined: 10 Aug 2005
Posts: 1

PostPosted: Tue Mar 07, 2006 2:41 am    Post subject: me Linked it Reply with quote

Yo thanks 2 doc book and et all

I went furiously for the linking bit and me hapyy ..

The downside is that no one is ever now on #IRC .. thgyeve gone ...

DO I put interntinal errors back in the manual >????
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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