Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Embed Vanilla

Hi, I'm mixing my ASP C#.net website with Vanilla using Vanilla.
I was thinking of having a button under the div named "get link" which would save the link of the current vanilla page to a string.
Is there a way to do that? I tried playing around with the PHP file but to no avail.
I'm doing this for educational purposes, I hope someone can assist me
0
Comments
Not sure you can do that with iFrame, couldnt you use curl
There was an error rendering this rich post.
i'm not familiar with curl tho, is that a plugin? i just need some way to embed the website and a way to obtain the present link
The iframe is the url, thus it will always have that one url.
I think you can try and fetch iframe src ( current )
resource: http://stackoverflow.com/a/938195/501173
There was an error rendering this rich post.
I was having the same problem, I stopped using the embed vanilla and used the iFrame instead.
On visual studio 2012, you can't use the runat="server" for obtaining your src, but this works aswell. Kudo's 422!
you are going to have be more descriptive with your question...
grep is your friend.