Announcement

Collapse
No announcement yet.

Is there a global variable for the project version number?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a global variable for the project version number?

    I want to put the project version number in the application header. I tried inserting a variable [version] but it seems to have an older version number instead of the current one. So, I assume that I don't have the correct global or it doesn't get updated.

    Any insight on this?

    David Goadby, North Wales.

  • #2
    Try this:
    Code:
      $this->Ini->nm_app_version
    Regards,
    Cavadinha

    Development Team
    Netmake - IT Solutions

    Comment


    • #3
      Hello,

      Try to use this variable: $this->Ini->nm_app_version
      Last edited by Cavadinha; 01-05-2016, 02:50 PM. Reason: was I faster? ;P
      Best Regards,
      John L. Santos

      Bug Tracker Team
      NetMake - IT Solutions

      Comment


      • #4
        Originally posted by John L. Santos View Post
        Try to use this variable: $this->Ini->nm_app_version
        When I try this I get the following error:
        Error
        Undefined property: main_menu_class::$nm_app_version

        Comment


        • #5
          Originally posted by bilyfoster View Post

          When I try this I get the following error:
          Error
          Undefined property: main_menu_class::$nm_app_version

          Place the code in OnScriptInit Event of the application.


          Comment

          Working...
          X