Dashboard link problem with Dashboard Embed and Remote URL Checked
I'm embedding Vanilla into a wordpress site. So far so good, other than the fact that I can't access the Dashboard from my forum when both "Dashboard Embed" and "Remote URL" options are both checked. What happens is that I click on the Dashboard link, and the window that pops up immediately redirects from mysite.com/vanilla/dashboard/settings to mysite.com/vanilla/index.php?=p (which then redirects to the embedded forum in wordpress).
my site.com/vanilla/index.php?p=/dashboard/settings does work for dashboard access, but I don't want to have to access dashboard from a bookmark.
Is there a way to make the dashboard link actually point to the dashboard?
Thanks
Best Answer
-
I found that as long as the dashboard link is opening in a new tab/window, it didn't get redirected into the embed, so I added the following code to end of the body in the default.master.tpl file of the Embed-Friendly theme:
{literal} <script type="text/javascript"> jQuery(document).ready(function () { $('.Banner').find('li > a').eq(0).attr("target", "_blank"); }); </script> {/literal}
Hope that helps someone else!
0
Answers
Does this help - there is an option in the embed vanilla.
Dashboard Embed Don't embed your forum admin dashboard (pop it out to full-screen)
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
That's what I have checked (my question says i have Dashboard Embed and Remote URL options checked). I only have this problem when both options are checked, but the setup I'm looking for involves both features.
Sorry, I misread. They do seem mutually exclusive. Can you solve it with .htacess for the specific dashboard url
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I'll try that... thanks
I found that as long as the dashboard link is opening in a new tab/window, it didn't get redirected into the embed, so I added the following code to end of the body in the default.master.tpl file of the Embed-Friendly theme:
{literal} <script type="text/javascript"> jQuery(document).ready(function () { $('.Banner').find('li > a').eq(0).attr("target", "_blank"); }); </script> {/literal}
Hope that helps someone else!
That's it! Worked perfectly. Thank you so much.
I'm having this problem as well. It did work before some upgrades, but it doensn't with the most recent version of Vanilla.
Can you elaborate on the .htaccess solution please?
Thanks!