From a39b73ea8a9d858d35f2a7a0ea16c3bf26c0f12c Mon Sep 17 00:00:00 2001 From: carlgmathisen <> Date: Thu, 13 Nov 2008 11:27:44 +0000 Subject: added quickstart docs on url tag --- .../protected/pages/Configurations/Templates2.page | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'demos/quickstart/protected/pages/Configurations') diff --git a/demos/quickstart/protected/pages/Configurations/Templates2.page b/demos/quickstart/protected/pages/Configurations/Templates2.page index e8442f1f..8a17c72c 100644 --- a/demos/quickstart/protected/pages/Configurations/Templates2.page +++ b/demos/quickstart/protected/pages/Configurations/Templates2.page @@ -96,4 +96,18 @@ Localization tags represent localized texts. They are in the following format, where string will be translated to different languages according to the end-user's language preference. Localization tags are in fact shortcuts to the function call Prado::localize(string).

+ + +

URL Tags

+

+URL tags are used to insert the relative web url path to the Prado application in the template. You can use it in the following format: +

+ +<%/ image.jpg %> + +

+

+If your Prado application is deployed on http://localhost/pradoapp/, the tag above will produce "/pradoapp/image.jpg". This tag will help you to use the correct file path even with UrlFormat set to Path, or if you are using url mappings. +

+
$Id$
\ No newline at end of file -- cgit v1.2.3