Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8415747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:32:10+00:00 2026-06-10T01:32:10+00:00

I am using the yii framework and am testing the CJuiAutoComplete feature which uses

  • 0

I am using the yii framework and am testing the CJuiAutoComplete feature which uses jQuery UI’s Autocomplete.
If I use version 1.6.1 which shipped with my version of yii the Autocomplete field works perfectly fine. However, if I switch to jQuery 1.8.0 the rendering of the list containing the options to choose from doesn’t seem right. I observed that running 1.6.1 the list gets set a top and left value within the style parameter. These values however are zero if running 1.8.0.
Did anyone else experience this? What would be a good way of fixing this?
I guess I could manually set these values but would prefer jQuery to handle this 🙂
Please let me know if you need to see any code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:32:12+00:00Added an answer on June 10, 2026 at 1:32 am

    Found it, with ui 1.8.2+ you need to include the following UI files:

    UI Core,
    UI Widget, and
    UI Position

    To include them in yii, simple call them using CClientScript:

    Yii::app()->clientScript->registerScriptFile('//jquery-ui.googlecode.com/svn/tags/1.8.23/ui/jquery.ui.position.js');
    Yii::app()->clientScript->registerScriptFile('//jquery-ui.googlecode.com/svn/tags/1.8.23/ui/jquery.ui.core.js');
    Yii::app()->clientScript->registerScriptFile('//jquery-ui.googlecode.com/svn/tags/1.8.23/ui/jquery.ui.widget.js');
    

    Not perfect, as I’d assume Yii should include them by default, but it does work.

    Thanks to Chris for his answer here: jquery ui autocomplete positioning wrong

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Yii framework, and make an extensive use of CListViews. However i
I'm using the Yii framework to develop a site that uses a 2-column layout.
I am using PHP Yii Framework with MongoDB(yiimongodbsuite). I have created a Model which
I'm using the Yii PHP framework which has a function PDO::lastInsertId that's apparently just
I'm new using Yii framework. I show a list a checkbox. But it's not
I'm developing a CMS using Yii Framework. In developing the theme I have a
I'm building a web application using Yii framework, and i'm quite new to it.
I developed an application with different MVCs using the Yii Framework For example I
For starters, we're using the Yii framework to create our sites and it is
How can I get this in Yii framework using Chtml::link <a href=# title=Movie 1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.