I am using bootstrap for the first time and this is also the first time I am making a website with "responsive" features.

I am trying to build a grid that looks good when resized to the tablet or phone window size. Any thoughts on this? I am reasearching and it looks like I have to do this using media queries, and that bootstrap has some helper classes like ".visible-tablet" etc...

so that the grid column is only visible in desktop size window. The result is that the CONTENT of the column is hidden when I resize the browser window, BUT the filter and header of column is still visible. How can I make the whole column disappear? Is there a better way of doing what I am trying to achieve? I am thinking that the grid with less columns will look better but maybe doing something like this:

Well, i made some progress in the last issue, its a totally different perspective

...

Scenario: I have a view with a twitter bootstrap thumbnail grid that shows the countries. When the user clicks one image, it is supposed to show the cities related to that country, in the same grid (screen).

Tecnhical: First i fill the dataProvider with countries, and then i should send a ajax request with the country id to my controller where it queries the database for cities related to that country and sends the new dataProvider, back to the view where it updates the same thumbnail dataProvider with new data.

In case of success i need to update the same dataProvider, which is in the view named _detail, hence the require_once. What iam trying to do is pass the data from controller(below) in json and decode here. But i don't know how to build a new data provider from the json response, and dont know either if the encode is properly made. Is it?

I've made some changes to my last post, solving some of the problems.
If someone could give me an answer...

The code is updated. Now, when i click an image, it doesnt show anything, but refreshes the screen but the images that were supposed to be the cities are missing. The exception was The "dataProvider" property cannot be empty.

Hello everyone. Yesterday i found the problem and solved my case.
The problem was in the jquery. The html generated was right but was not being inserted, when the image refreshed, and then, a little light turned on:

I changed a little the code of the yii-bootstrap, because I wanted to show the error messages while a form for 'post', was in inline mode. When the form is in inline mode, the user will not get messages like "the username is wrong", because it is removed from inline forms. In order to achieve this result, you have to add the following code to the TbInputInline for every field you use, like textfield or textareafield "echo $this->getError().$this->getHint();"

For a school project were obligated to use the Yii Framework, which is totally fine. We wanted to integrate Yii Bootstrap, but since we just found out we'd get a higher grade for writing our own CSS, we want to to remove Yii Bootstrap (sorry!). However, some things don't work anymore after removing all the bootstrap folder in the extensions folder and removing the bootstrap lines in the main config file.

Which things? Well, it seems to be affecting our/the Javascript &amp; Ajax code, which is weird. Because those were developped before we setup Yii Bootstrap. So are we missing something? What do we need to do to succesfully uninstall Yii Bootstrap?

I love this extension and its functionalities, though I'm hitting a wall with TbGridView. Maybe this is something people have already discovered/worked through, but I'm having trouble with the filtering function.

Some context: I have a referral model with the following (standard, Gii-created) search() function.

Above is my code i wrote in order to try to have tooltip on this input for example.
I tried to write it in htmlOptions of textfield... and in <a> ... but I have just the default tooltip yellow on both.

I tried to add many thing in config main I read on internet and on this topic but nothing gives a better result, then I deleted them etc...

This is not a Bootstrap issue - if post a new question, someone will be able to help you.

luismcax, on 28 October 2012 - 07:36 AM, said:

Well, i made some progress in the last issue, its a totally different perspective

...

Scenario: I have a view with a twitter bootstrap thumbnail grid that shows the countries. When the user clicks one image, it is supposed to show the cities related to that country, in the same grid (screen).

Tecnhical: First i fill the dataProvider with countries, and then i should send a ajax request with the country id to my controller where it queries the database for cities related to that country and sends the new dataProvider, back to the view where it updates the same thumbnail dataProvider with new data.

In case of success i need to update the same dataProvider, which is in the view named _detail, hence the require_once. What iam trying to do is pass the data from controller(below) in json and decode here. But i don't know how to build a new data provider from the json response, and dont know either if the encode is properly made. Is it?