TPL { 'L_VALUE' } question

Discussion in 'General PHP' started by Mark Skyscraper, Jan 25, 2019.

  1. Mark Skyscraper

    Mark Skyscraper New Member

    Joined:
    Jan 21, 2019
    Messages:
    5
    Likes Received:
    0
    <?php echo ((isset($this->_rootref['L_5236'])) ? $this->_rootref['L_5236'] : ((isset($MSG['5236'])) ? $MSG['5236'] : '{ L_5236 }')); ?>

    I know where $MSG['5236'] is coming from, but where does ['L_5236'] value originate from before going to the {#} template placeholder? Something Template-> rootref is doing?
     
  2. david62311

    david62311 Well-Known Member

    Joined:
    Aug 29, 2013
    Messages:
    2,107
    Likes Received:
    235
  3. Mark Skyscraper

    Mark Skyscraper New Member

    Joined:
    Jan 21, 2019
    Messages:
    5
    Likes Received:
    0
    Thanks.
    These "L_####" prefixed variable are not in there in the messages.inc, like : 'L_5236', they are generated by another means for the templates but I found it's procedure. Thank you. Had to take a detour, but getting back into soon.
     

Share This Page