Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Question: Functions; I have input, but no output. What's wrong with my XSLT?

$
0
0

To get the entire path use the function Composite.Web.Server.ServerVariable( Variable name = "URL" )

To get a value from the "path info" use the function Composite.Web.Request.PathInfo

To get a value from the query string use the function Composite.Web.Request.QueryString

Components in a URL are like this

http://server/PATH_TO_PAGE/PATH_INFO?QUERY

Typically page requests are just http://server/PATH_TO_PAGE - PATH_INFO and QUERY only gets into the mix if you actively print out page URL's where you add this.

Example of a PATH_INFO string could be: "/hello/world"

Example of QUERY could be "?id=39".

 


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>