Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

popup not working #32

Open
Evanion opened this issue Jul 15, 2016 · 5 comments
Open

popup not working #32

Evanion opened this issue Jul 15, 2016 · 5 comments

Comments

@Evanion
Copy link

Evanion commented Jul 15, 2016

I'm trying to get J!Dump to work...

Some system information:
Joomla: 3.6.0
J!Dump: 2012-10-31
PHP: 5.6.23

I have added the following to the templates template file:

$testVar = 'test';
dump($testVar);

I have added the dump menu item to a menu on the page (redirects to a 404).

you can test it here: http://dev.mome.se/dev/projects/holli/index.php?option=com_dump&view=tree

@garstud
Copy link
Collaborator

garstud commented Jul 18, 2016

Hello,

Just a simple verification :

  • if you have a 404 error on ...index.php?option=com_dump&view=tree, maybe your "JDump Plugin" is not activated ?

You have to enabled the "dump" plugin in your joomla administrator console (menu Extensions > Plugins)

@garstud
Copy link
Collaborator

garstud commented Jul 18, 2016

To avoid this type of problem, be sure to remember to use the "JDump Tip number 2" ;)
https://github.com/mathiasverraes/jdump#tip-2-

@Evanion
Copy link
Author

Evanion commented Jul 19, 2016

Both the component and plugin is activated...
The menu item is now directing to the admin page for com_dump
If I do a function_exist check it returns true.
No popup is shown .. I have tried both chrome and Safari

@garstud
Copy link
Collaborator

garstud commented Jul 19, 2016

Ok, first, you don't have to redirect a menu item to the admin page of com_dump. It won't show anything because view=tree is a RAW view not an HTML view !

Get back your original menu item, and just navigate to any page of the site. If the plugin is activated, a popup will automatically pop to display your "dump" call.

(check that your browser doesn't block the auto popup window)

@Evanion
Copy link
Author

Evanion commented Jul 20, 2016

I didn't add any redirect. and I have checked the popup settings in chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants