Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

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

Tagged:

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!

Answers

Sign In or Register to comment.