View not showing properly

georgedamonkey - December 10, 2007 - 14:42
Project:EasyLink
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hello,

I followed all the directions to install this module. I'm using the module version 5.x.1.x-dev on Drupal 5.5. When I click the link in tinymce, i get this in the popup window:

EasyLink EasyLink Dev queries Dev items
View Edit Clone Export View Edit Clone Export
vid

69
name

easylink
description

The basic easylink view shows all pages belonging to the current user
access

Array
(
[0] => 3

Any ideas how I can fix this?

Thank you.

#1

djorn - February 13, 2008 - 17:18

There is something wrong with the menu callbacks. I suspect it is conflicting with the views menu callback (i.e. easylink attempts to register easylink/load with the menu system, but views also registers this callback). One workaround is to hack easylink.module and change the 'path' in the following code to point to 'easylink/load/tinymce'


$items[] = array(
'path' => 'easylink/load',
'title' => t('EasyLink'),
'callback' => 'easylink_loader',
'access' => user_access('access tinymce'),
'type' => MENU_CALLBACK);

Then go to the editor_plugin.js file and find easylink/load and change it to easylink/load/tinymce

I don't know if this is the optimal way to handle this issue, but if it is I can submit a patch. Let me know.

#2

djorn - February 13, 2008 - 17:19
Component:User interface» Code
Category:support request» bug report
Priority:normal» critical

#3

gustav - March 9, 2008 - 17:58

This is a conflict with the devel module. I think bburan's solution by changing the url to easylink/load/tinymce is perfect.

#4

gustav - March 9, 2008 - 17:58

This is a conflict with the devel module. I think bburan's solution by changing the url to easylink/load/tinymce is perfect.

 
 

Drupal is a registered trademark of Dries Buytaert.