Questions tagged [views2]

10 questions
4
votes
1 answer

How to override drupal view pager query?

I'm using drupal 6 and view 2 - I've created a custom filter for my view using this documentation http://www.chadcf.com/blog/creating-custom-filters-drupal-and-views. Every things seems to working fine only one problem - My pagination not working …
Vikas Naranje
  • 2,350
  • 5
  • 30
  • 40
3
votes
5 answers

Drupal 6 - Views2 - How to build a view of non-nodes

I have a need to build views in drupal of non-nodes, actually objects external to drupal. The api that I am calling against passes me back a stdClass object. Anyone have ideas on how to get Views2 to display non-node objects?
Brian G
  • 53,704
  • 58
  • 125
  • 140
3
votes
1 answer

How do I add a form to a view with drupal 6.x views 2?

I want to add a drupal form to the top of a view. The view does not need to receive the results of the form but the _submit hook of the form should be able to read the first argument of the view that the form was on. Where is the best place to add…
Steven Noble
  • 10,204
  • 13
  • 45
  • 57
2
votes
1 answer

Retrieving names of over-ridden theme hooks in views 2 (Drupal 6)

I have a created a view (lets call it my_view). In the theme: information section if the view I have noted one of the suggested template names (views-view--my-view--default.tpl.php (or close to that)), and created my own template file with that…
grahamu
  • 53
  • 2
  • 5
1
vote
1 answer

Drupal: Field of View is not presented on the page that was created by this View

I have an ImageField in my View. It is not exluded from output. It is presented in preview. But when I open the page created by the View - it is not presented there. How can I diagnose this issue ? (all caches are turned off, drupal v6, views…
artyom.stv
  • 2,097
  • 1
  • 24
  • 42
1
vote
1 answer

Drupal6 views: output "taxonomy:all terms" field with two terms as two links

Briefly: I'm making a custom view, I want a field listing the two taxonomy terms associated with an NID to output as two distinct links which return arguments for the view (term1 to view/term1, term2 to view/term2. Rather, it outputs as one…
rafael
  • 13
  • 3
1
vote
3 answers

Drupal: change view argument

I searched far and wide to find a working solution to this but couldn't find it. What I want to do is change the argument that is passed to the view because I want for pathauto cleaned taxonomy terms to work as an argument. I have a code that…
Blaze
  • 11
  • 2
0
votes
1 answer

Can't create custom handler for Views2

Basically I want to create a custom handler to unserialize a db field called birthday. I've managed to correctly output the field serialized using the default views_handler_field. Unfortunately When I try to create a custom handler, I get this…
Tivie
  • 18,864
  • 5
  • 58
  • 77
0
votes
2 answers

How are custom 'notafield' handlers defined for Views 2 (Drupal 6)

I can only find docs for predefined handlers. I guess I would have to override one of the handler classes, but which methods do I actually have to override? I read somewhere that new handler for Views 2 need to be registered with Views. Where and…
EricSchaefer
  • 25,272
  • 21
  • 67
  • 103
0
votes
3 answers

Drupal: retrieve data from multiple node types in views 2?

...or, in other words, how to create a simple join as I would do in SQL? Suppose I want the following information: Just as an example: a person's full name a person's hobbies. His full name is in a (content profile) node type 'name_and_address'…
eddy147
  • 4,853
  • 8
  • 38
  • 57