How to display the "meta_description" attribute of the parent page inside a DC-block?
Permalink Browser Info Environment
Hello,
I cannot display the "meta_description" attribute of the parent page inside a DC-Block. Only the attributes of the "view.php" are shown.
Is there a way to get the "meta_description" attribute by a link or something?
Thank You!
Mathias
I cannot display the "meta_description" attribute of the parent page inside a DC-Block. Only the attributes of the "view.php" are shown.
Is there a way to get the "meta_description" attribute by a link or something?
Thank You!
Mathias
Type: | Discussion |
---|---|
Status: | New |
Block templates work differently than theme templates, because in theme templates the Concrete5 system automatically sets up the $c variable for you -- but in block templates it does not, so you need to initialize $c yourself first.
Once you do that, then everything else should be the same: