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
Comment #1
Chris CharltonDid you add a FILTER to your VIEW yet?
Comment #2
mxgfx commentedThe filter that's applied is for a content type. That may be the only real filter that I put on the view.
Comment #3
mxgfx commentedIs there some kind of argument I can pass a view to only output a specific number of results?
Comment #4
brmassa commentedGuys,
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
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
giorgio79 commentedI 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
Comment #7
marcingy commentedPlease do not adjust the status of closed tickets.