Menu

Referencing Pages

Help
David O.
2001-07-19
2001-07-20
  • David O.

    David O. - 2001-07-19

    Does anyone know if there is a page-reference function like there is for assets or objects?  I would like to be able to dynamically reference pages on the site, but haven't been able to figure out how to do it or whether it is possible.

    I tried:
    PageUrl(pagename)
    Page(pagename)
    etc...

    I tried searching for the ImageUrl, Image and Asset functions, but couldn't locate them either.  If you know where they are, please pass it on.

    Just wondering if someone knows if this built-in or if I should start developing my own function to do this.

     
    • Anatol Mayr

      Anatol Mayr - 2001-07-20

      Should be:

      PageUrl()
      PageUrl(4711) (id of the page)
      PageUrl("MyName")

      Anatol

       
    • David O.

      David O. - 2001-07-20

      Thanks Anatol.  Perhaps I don't have something set correctly, since I always get the same output:

      PageUrl(XXX) OR PageUrl("MyName")
      always results in the following link:

      admin/codetables/modify.html

      This page is not functional, but may be the key to the problem.  This may be another example of difference between commercial and egrail-source version.  Any comments?

       

Log in to post a comment.

MongoDB Logo MongoDB