3

Is anyone else find that {page_url}, whether using Pages or Structure, is not being parsed at all?

4

I found that the new Parser logic doesn't account for page_url in their $this->_urls block. Adding the following after line 423 of Simple_variable.php is the fix:

elseif ($key == "page_url")
{
    $tagdata = str_replace(LD.$key.RD, $data['page_url'], $tagdata);
}
1
  • Lovely, I was looking through that logic and noticed it was missing some things too. There are other variables I found not parsing. – Justin Kimbrell Apr 30 '13 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.