We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7131
    • 83 Posts
    I have more than 17 blogs to manage. I thought it would be easier to manage if I could call the same chunk from every blog’s main folder, including a TV that gets the current ID for NewsListing’s startID and NewsPublisher’s folder. Is it a good idea? Is there an API that gets the current ID?
      at the edge of dawn,
      you ask yourself if your shadow did follow you down
      all night long
    • Quote from: dernier_recours at Jun 01, 2006, 11:51 PM

      I have more than 17 blogs to manage. I thought it would be easier to manage if I could call the same chunk from every blog’s main folder, including a TV that gets the current ID for NewsListing’s startID and NewsPublisher’s folder. Is it a good idea? Is there an API that gets the current ID?

      Are you asking about getting the current document ID? There is the [*id*] tag and the $modx->documentIdentifier attribute on the MODx object. No need for a TV I don’t think, unless I am misunderstanding the issue. huh
        • 7131
        • 83 Posts
        You not only understood the issue, you solved it.

        Thanks! grin
          at the edge of dawn,
          you ask yourself if your shadow did follow you down
          all night long