problem in HTML

Discussion in 'Site & Server Administration' started by salman karimi, Jan 6, 2015.

  1. #1
    i have an html file with this code on it:

    <!-- <div id="footer">
    [{library_path}]
    </div>-->
    i can't find any file or tag or function with the name : library_path
    may any one help me!
     
    salman karimi, Jan 6, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    That's part of some sort of templating system (most likely), and it'll be configured somewhere - I'm assuming maybe in a config-file. Depending on how the template-parsing is done, that might not actually be parsed, though (the html in that code-snippet is inside <!-- --> which means it's not supposed to be shown at all).
     
    PoPSiCLe, Jan 6, 2015 IP
  3. salman karimi

    salman karimi Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    sorry! the "<!--" section in the beginning was added by me. the html code is this:
    <div id="footer">
    [{library_path}]
    </div>-->
     
    salman karimi, Jan 7, 2015 IP
  4. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #4
    As the previous reply to you said, that is bound to be some sort of string replacement placeholder as part of a template system. The code will look for anything beginning and ending with [{}] and replace it with the appropriate content.
     
    billzo, Jan 7, 2015 IP
  5. Sycrid

    Sycrid Well-Known Member

    Messages:
    130
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Hi, I think an appropriate thing to ask here, is what are you actually trying to achieve? As one of the guys above said, it looks like a reference to something, without knowing what you are trying to achieve, or where the code come from, I'm not sure anyone can help.
     
    Sycrid, Jan 18, 2015 IP
  6. Hridoy Mitra

    Hridoy Mitra Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #6
    I cant understand what you want to create. Without knowing what you want to create, it is quite impossible to solve your problem. Can you tell me where have you found the code ??
     
    Hridoy Mitra, Jan 18, 2015 IP