Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: How to access the template parameters programatically?

  1. #1
    dbsHarry is offline Junior Member
    Join Date
    Dec 2008
    Posts
    2

    Post How to access the template parameters programatically?

    I am creating a free standing aspx page using techniques described in:



    But I dont know how to access elements such as <title> that are replaced by the template system?

    Could anyone give me some tips?

    Thanks

  2. #2
    Rex is offline Banned
    Join Date
    Nov 2007
    Posts
    561

    Default

    The directions in the first link that you sited gives one control over all the content of the head section. So you can remove the "static" tokenized title tag that exists in the template in favor of either of the two methods described in that post.

    Alternatively, you can modify your App_Code\SkinBase file which is responsible for replacing those head tokens in its ReplaceTokens method.
    You can recode existing tokens or create new ones.

    If that is not the kind of access you want then describe what you are looking to do.