Often I have a need to alter a bit output of a view, either the markup or just query, it's important to know where to hook in a life of a view, here is the list of hooks and alters.
Often I have a need to alter a bit output of a view, either the markup or just query, it's important to know where to hook in a life of a view, here is the list of hooks and alters.
I wanted to make 2 features with the same view, but different setting, what was odd was once I had created one, the other didn't list in feature components list. I tried many things but in the end it appears that this is a "feature" of features, a not so nice one I might add.
Using EVA field added to Order entity I needed to use order created date as starting range and ending range for dates.
UI by default doesn't offer this in views, so some preprocessing was done. You could fetch date from argument or as I did directly from
By default you can't set dynamic titles for views other than using contextual filters and using them to change title, this will sometimes help and sometimes you want to use something else, so custom modules/overrides to the rescue. There is also a page title module but you can use tokens with it and seems it doesnt work now.
Most likely you will want to insert an ADD, probably adsense add every nth row in views. To do that there are 3 methods. One of them is a module a guy made that acts as global filed you add and then you enter what goes in there, problem is that JS code doesnt work there as it is html only field, so some custom formatters should be added.
You can create VBO actions that can do something for you but for a quick solution and one time actions you can use "Execute arbitrary PHP script" and there you have $entity and $context object that you get one per each line of yout VBO view.
In views there is that part in contextual filters where you can set exception and it is by default set to "all" so if you want to show all the nodes which in a way disables this filter, you can use that. But it also adds itself to default bredcrumbs of your drupal installation.
Not sure if this is solved in drupal 7, but in drupal 6 you surely need to override
views-view-summary-unformatted.tpl.php with custom code. More on this you can find here
http://drupal.org/node/403012 but I did my own fork that looks best for my needs and think is the best out of those offered on link above. Here it is
Here is another drupal i18n beast. I have nice taxonomy summary for a category of shops. Which is attachment for a view, which passes term to it to filter category and show only shops that are in that category. Looks nice, it is moderately useful and seems it has never been done before.
However you choose to do a migration from drupal 6 to drupal 7 if you have any complexity in your site it is going to be ugly. Lots of errors and leaps of faith :-).
I choose to do it with drush. So after the drush made what it could do. I tested the site. Not working at all, not even logging in possible. What I did is: