Treeview linking to wrong directory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #16
    There's no need to route the links. Just fix the links so they refer to the correct location.

    Comment

    • madankarmukta
      Contributor
      • Apr 2008
      • 308

      #17
      The script - put in the post earlier - at every page refers to points to the specific path only.

      Releasing nodes randomly, I guess, causes routing.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #18
        The paths in your code don't look like "specific" paths. They look like relative paths.

        Comment

        • madankarmukta
          Contributor
          • Apr 2008
          • 308

          #19
          Actually, They are specific path only; as per my understanding the path input to the javascript only lags at the './' which refer to the current app folder path.I tried that too, it works the same way.

          Just for information ,relative path is perplexing the problem than ever thought possible.

          Any technical insights.

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #20
            The reason your paths are relative is because the paths in your code does not start with http://

            Comment

            • madankarmukta
              Contributor
              • Apr 2008
              • 308

              #21
              I thought, probably that could be the reason but not.Still the cursor is pointing to another path than the specific path for the node.

              Please provide technical help.

              Comment

              • Rabbit
                Recognized Expert MVP
                • Jan 2007
                • 12517

                #22
                Post your current code. It sounds like you've modified it.

                EDIT
                I mocked up your code on my system, I have no problem with it. I maintain that the issue you're having is that your relative paths are wrong and you need to write your paths assuming that Folder1 is already your base folder.
                Last edited by Rabbit; Feb 4 '13, 06:03 PM.

                Comment

                • madankarmukta
                  Contributor
                  • Apr 2008
                  • 308

                  #23
                  Hi,

                  There are some changes in the code but that doesn't link anything to the technical issue posted here.

                  Just for information,the code behind edits are relevant to functionality of one of the page's content page.This can be inferred to the point that there are no more edits in the script script.js.

                  Could you pls help me to understand how you tried to mock up the technical issue posted.

                  Comment

                  • Rabbit
                    Recognized Expert MVP
                    • Jan 2007
                    • 12517

                    #24
                    I mocked it up by copying your code and setting up the directory structure. I had no issues with the code.

                    Again, I maintain the stance that the issue is the same thing I've been saying all along. Fix the path references and your code should work fine.

                    Comment

                    Working...