Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
General Questions
SilverStripe Forums » General Questions » Getting Page URL From Image Control
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|
Page:
1
|
Go to End | |
| Author | Topic: Getting Page URL From Image Control | 194 Views |
-
Getting Page URL From Image Control

3 July 2009 at 3:17pm Last edited: 3 July 2009 3:20pm
How do I call the current page URL/Link from within an Image control. Top breaks out of both loops.
I have the following:
<% control FeaturedHomePage %>
<% control PageImage %>
<% control CroppedImage(173, 90) %>
<img src="$URL" />
<% end_control %>
<% end_control %><% end_control %>
I'm trying to link the current image to the proper page/article.
| 194 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: Euphemismus
Welcome to our latest member: fearofbuttons

