Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Link panel to another subdomain

Asked Modified Viewed 2,024 times
B
bigenmac
B
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hello phpfusion users,

Can I link a panel to another subdomain?
I have infusion \slideshows_random_photo_panel installed on a domain and I want, if possible, link this panel in another subdomain
But how?

openside()

echo ???? http://subdomain.mysite.com/infusions/slideshows_random_photo_panel/slideshows_random_photo_panel.php ????

closeside()
0 replies

2 posts

J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

@dimki
If you wanna help at least do it the right way, that code is just... bad sad

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]openside("Panel tile"wink;
echo "<center>";
echo "<a href='http://www.site.com/some_page.php'>Description</a>";
echo "</center>";
closeside();[/syntaxhighlighter]
0 replies
B
bigenmac
B
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thanks for the reaction. Now I get the message "access denied".
Thats not strange, because source DB is another DB as the target.

Can I link/put the DB settings from the other domain in the "openside" tag?

Merged on May 19 2013 at 08:49:41:
Something lik this I think...but this doesnot work...

openside("Panel tile"wink;
$link = mysql_connect('db name', 'db user', 'db password'wink;
echo "<center>";
echo "<a href='http://www.site.com/infusions/slideshows_random_photo_panel/slideshows_random_photo_panel.php'>Description</a>";
echo "</center>";
closeside();
Edited by bigenmac on 19-05-2013 08:50,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
B
B
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet