php - Expression Engine 3 - Entries Tag - page_uri empty -
edit:
i'm rewriting question in order explain properly, here goes.
we using expressionengine 3.1.0, , have updated 3.1.2 - pretty available so.
since doing we've run genuine error {page_uri} or {page_url} tag. pages module installed , we've added news item utilises it. fields required filled in, there no error there.
the problem getting absolutely no content being output in {page_uri} or {page_url} tags , cannot find reason it. our loop, including testing code, below:
{exp:channel:entries channel="news" limit="1" dynamic="no"} (1){url_title_path='news'}(2){page_uri}(3){page_url}(4){permalink} <div class="item-double news"> <div class="social-wall-logo"><img src="/assets/local/img/news_icon.png" alt="news" /></div> <div class="social-wall-heading">news</div> <div class="social-wall-content">{title}</div> <div class="social-wall-view-more"><a href="{url_title_path='news'}{page_uri}{page_url}"><img src="/assets/local/img/view_btn.png" alt="view" /></a></div> </div> {/exp:channel:entries} the channel correct, {url_title_path} output title isn't correct way of outputting uris , other tags (like {title}) output we've entered.
we've spent 2 hours on bug , cannot think of nor find we've done wrong. if can see looks amiss please, please so, haha!
thank looking,
andy
derek ellislab has commented on bug report , stated this:
in
/system/ee/legacy/core/config.phpchangeline 47from:
$this->config = get_config();to:
$this->config =& get_config();
https://support.ellislab.com/bugs/detail/21558/pages-page_uri-doesnt-work
i've tried , works fine now. should part of upcoming release, assume released in couple of days if not sooner due nature of issue.
Comments
Post a Comment