how to make autocomplete search box in yii - search

can anybody give tutorials about how to make autocomplete search box in yii?
I prefer to work with CJuiAutoComplete, but I don't know how.

There is a wiki page to do that
follow this wiki

Related

Get information from "inspector" on a web page

A really noob web programmer here!
So I need to build a program that, as I give it a link it inspect the page (like the right click and "inspect element" option that we have in Firefox) and get the infromation from it exported. I wanna be able to filter what kind of information that I am having and to put them all together in a hash or somethink like this.
Does anyone have a tip? What language should I go for? There is any plugin or lib that already does that? I just want a direction so I can get started with this project! Thanks!

Different link for a menu item in another language

I have a menu item in a Joomla 1.5 site that needs to have a certain link when it's in Greek (default language) and another link when it's in English.
I have seen this question which maybe gives me a hint, but I would need more detailed help. I don't even know in which files I'd need to insert the code. How do I find out what's the language id?
Why complicate it, I know in 3.0 and I think right back to at least 1.5 in the Menu item you can select which language the link appears for. So you have two link items, one which displays for English viewers and one for Greek.
Ps why are you still using 1.5, it is now officially unsupported, I strongly suggest you move up to at least 2.5 Joomla 1.5 end of life
I don't know are you use SEF on your site... But using JoomFish for multylanguage it very simple to make different links for the same menu item for different languages. Just make translation for menu item you need and enter different alias for this. For example you have a link www.mysite.com/gk/contacts. When you'll translate menu item Contacts on English and enter alias conatact-us you'll get a link like this: mysite.com/en/contact-us. I hope it will be helpfull for you.

Search-Plugin for Eclipse

i have written am Eclipse-plugin and now need to extend it with a search functionality. I know that Eclipse has a search feature, but it does only search the workspace and what i need is to look after matches within my own plugin and than to show the result in a tree structure. Is there any examples of search-plugins for Eclipse? I would appreciate a link of some hint :D
Check out the org.eclipse.search.searchPages extension.

Custom navigation with Liknlist web part

I'm using a standard link list web part. What I want to achieve is before my users click on the link a pop-up javascript warning box will display, stating that they are leaving the domain. In regular anchor tag I would preceed the URL with javascript:ShowWarning('http://www.youtube.com');.
I've search the AllLinks table in the database but did not find the links was looking for.
Where or how are these stored?
Thanks,
Risho
Firstly, editing the SharePoint database directly is a really bad idea. You shouldn't do it unless you really, really know what you are doing, and even then you will probably break the system.
Secondly, any change made in the data will be what shows up in the editor, and I don't think the editor supports links that don't start with "http://".
A better approach is to use jquery to add the popup behaviour to the links when the page is loaded.

XWiki insert text into a page

Does anyone know the best way to insert some text into an XWiki document preferably using Groovy (though Velocity will work, too)?
Yes it's quite easy to do. For example you can use $doc.setContent() in Velocity/Groovy.
If you need more details it would be great if you could send your questions to the XWiki mailing lists/forums at http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists
Thanks
-Vincent

Resources