Closed (fixed)
Project:
Services
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
15 Mar 2008 at 18:05 UTC
Updated:
28 Oct 2009 at 07:04 UTC
Jump to comment: Most recent file
View service doesn't seem to work in drupal 6.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | views_service_get_view.patch | 797 bytes | snelson |
Comments
Comment #1
marcingy commentedAs an offical release for views does yet exist for drupal 6 (alpha doesn't count) no work will be done on porting this service until this changes
Comment #2
scottym-1 commentedI've bumped into this problem myself. Is this still an issue?
Comment #3
snelson commentedThis patch fixes the views.getView function to work in D6. If someone will verify that this works, I'll commit it.
Scott
Comment #4
snelson commentedComment #5
greenskunkI am new to Drupal but not to PHP.
Where do I put this code?
Comment #6
konsumer commentedIt's a patch, so the easiest way is to install GNU patch, (already installed on mac and linux) save the file in the module dir, then from that dir issue this command:
Some IDE's have an interface for this, too (I know eclipse does)
The patch file has this format (if you want to apply it manually, or just understand how to read it):
These 2 lines show what file is to be edited
This means "find this stuff on line 82"
These means "subtract these lines from the --- file (above) and add these lines"
Comment #7
rapsli commentedAgainst which file needs the patch to be applied?
Comment #8
clarke.hackworth@gmail.com commentedI had to manually apply patch (copy and paste code), but it seemed to work for me.
Comment #9
robloachThanks Scott!
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #11
allan1015 commentedI guess this is still an issue?
I get that error - I guess the php code I got from another thread is for drupal 5, or an older Views
I had stable release and tonight also trued viwes 6.x-3.x-dev
The pacth doesnt seem to work I cant find anything like views_service??