1.

temp.pTitle = HMENU
temp.pTitle {
  special = list
  special.value = {$my_page_uid}
  1 = TMENU
  1 {
    NO {
      doNotLinkIt = 1
    }
  }
}

2.
temp.pTitle = TEXT
temp.pTitle.data = DB:pages:{$my_page_uid}:title
Advertisements