I currently built my own AMFPHP class for as2 am having an interesting issue with getting a limited amount of results. It doesn't make sense for Drupal to send my flash application the nids for every single blog entry within my entire site. instead I would rather just get them in blocks of ten.

I turned paging on, and set 10 nodes per page. This hasn't impacted the results at all. Does anyone have any suggestions?
Apparently, I can pass the function an argument. (views.getView("NAME_OF_VIEW", [],["ARGUMENT"]);) However, I'm quite unfamiliar with that aspect of views.

Am I in the correct area to voice this issue? Or would I be better suited by directing my attention to either the AMFPHP (slow response) or the Views module? In the meantime, I will begin looking for a solution for this and report back any updates.

Comments

Chris Charlton’s picture

Did you add a FILTER to your VIEW yet?

mxgfx’s picture

The filter that's applied is for a content type. That may be the only real filter that I put on the view.

mxgfx’s picture

Is there some kind of argument I can pass a view to only output a specific number of results?

brmassa’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Active » Fixed

Guys,

with Views 2 (for D6), its possible to create several "displays" for each view. So its possible to include, only on some displays, the filter by its arguments. And views_services already allows you to put arguments on views.

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

giorgio79’s picture

Status: Closed (fixed) » Closed (duplicate)

I think the original request was about views get view not respecting node limit, not about arguments.

Setting this as dupe of #333366: views.getView does not respect node limit

marcingy’s picture

Status: Closed (duplicate) » Closed (fixed)

Please do not adjust the status of closed tickets.