croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
197 stars 20 forks source link

Stash Entry Page Titles #158

Closed soire closed 7 years ago

soire commented 7 years ago

Please see my thread over here. I am trying to print the title of an entry in the tag of a page...getting a random string of numbers like this in the place of the {title} tag (or even in place of plain text).</p> <p>{71bb8bb2253e73ed74c8484846d80786503398045}</p> <p>when I attempt to get</p> <p>{exp:stash:get name="page_title" process="end"}</p> <p>from</p> <p>{exp:stash:set_value name="page_title" parse_tags="yes" parse_depth="2" value="{title}" parse="inward"}</p> <p>Please help?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/croxton"><img src="https://avatars.githubusercontent.com/u/279127?v=4" />croxton</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>For anyone reading this, the Devot:ee thread is here: <a href="https://devot-ee.com/add-ons/support/stash/viewthread/16358">https://devot-ee.com/add-ons/support/stash/viewthread/16358</a></p> <p>I wasn't able to solve the problem on this occasion, sadly.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>