Closed (fixed)
Project:
VoIP Drupal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 May 2012 at 14:20 UTC
Updated:
9 Jul 2012 at 14:31 UTC
Jump to comment: Most recent file
voipcscriptui.module currently has bunch of db queries that needs to be ported to D7 format (see TODOs).
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | voipscriptui-1577968-6106590.patch | 2.61 KB | nit3ch |
Comments
Comment #1
tamerzg commentedalso l() functions are broken.
Comment #2
tamerzg commentedIn voipscriptui_form_alter query:
SELECT field_voipscriptui_code_value FROM {content_type_voipscriptui} WHERE nid = :nid
must be changed to use new D7 tables.
Comment #3
tamerzg commentedvoipscriptui_scripts_page()
must port D6 changes.
Also in D6 added 2 new parameters to getScriptNames:
getScriptNames($module_id=NULL, $include_info=FALSE)
Comment #4
nit3ch commentedComment #5
nit3ch commentedhi,
This patch has following issue solved
1. Changed the DB name : comment #2
2. Hook_acces is replaced by hook_node_access
3. And some coding standard fixes.
Comment #6
tamerzg commentedI took the db name change from your patch. However there is no need to replace hook_access with hook_node_access, as not all VoIP scripts are nodes.
Also I fixed the l() functions. However there is still some work on voipscriptui_scripts_page(), compare it with D6 version you ll see there is bunch of things missing.
Comment #7
tamerzg commentedLet me know if you will work on this issue, otherwise I ll take it over.
Comment #8
nit3ch commentedplease go ahead, i working on some other issues. thanks
Comment #9
tamerzg commentedComment #10
tamerzg commentedComment #11
tamerzg commented