We’re currently running one large site and are in the process of “chunking-out” pieces into separate sites, and have run into a couple of questions that we can’t find answers to. We’re at EE 1.7.0 and Structure 2.2.4
Here is the set-up: Our standard template calls for 3 pieces, a left column, a right column and a main body section. For the purposes of this question I’ll confine to the right column. For our main site, the code for the right_col is as follows:
<div class="right-col">
{exp:structure:nav_sub start_from="/{segment_1}" exclude_status="hidden|no_sub_nav|"}
{if embed:page_display_news != ""}
<h5 class="rcol-news">Current News</h5>
{exp:weblog:entries weblog="news_story" dynamic="off" limit="3" category="{embed:page_display_news}" disable="categories|member_data|pagination|trackbacks"}
<a href="http://{page_url}">{title}</a>
{/exp:weblog:entries}
<a href="http://{path=news/releases}">More news</a> »
{/if}
</div>
<!-- /right-col -->The section we’re having problems with is the “Current News” area. The news_story weblog exists on Site 1, and the list actually appears properly on sites 2, 3, etc. but the problem is when you click on the actual items in the list. For some reason the url of the item is not being brought across. {page_url} doesn’t seem to be a valid field that we can pull across.
The news_story asset is managed by structure. We created a listing page called News Releases (page_url for that page is releases) that “owns” the news_story asset.. Because all of the other pieces (the category and entry title) are pulling in properly, its obviously an issue with pulling the page_url across the sites. We’ve talked to the structure guys and they thought we should float the issue back this way.
If there is any more information I can provide, I’ll be glad to.