We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8790
    • 526 Posts
    Hi all,


    May be this is already seen.. but ..

    I’m still wondering ig this is possible :

    How to make a simple calculation with ID..

    I explain :

    If I just wanna put a single link to relative pages that is 1 or, maybe, 2 level up the current page ( something like "back to here") is there any means to tell a formula like (this id) minus (2) . See ? (+ or - any number )

    Thank you
      Schtroumpf Grognon - Grouchy Smurf
      ---------------------------------
      Faites pas attention.. - Don't pay attention
      http://www.dzi-neo.net
      • 3232
      • 380 Posts
      I would think you could create a snippet that gets the current items ID subtract the necessary number and output the new number.

      This way you could do something like this

      <a href="[[SNIPPETNAME]]">Back to home</a>
        • 8790
        • 526 Posts

        Thank you,

        Well..

        Probably the right day to get into PHP ... smiley

        So strange this is not basically supported ..really.
          Schtroumpf Grognon - Grouchy Smurf
          ---------------------------------
          Faites pas attention.. - Don&#39;t pay attention
          http://www.dzi-neo.net