Hi,
I’ve been searching, but haven’t found an answer in the forum/wiki/user database so I’m asking here.
Earlier today I was running a site (http://web2.mcla.edu/index.php/admissions) and was able to use the following code
{exp:weblog:entries weblog="admissions" category="6" limit="1"}
<div class="sub_headbanner"><strong>{title}</strong></div>
<div class="content">{page_body}</div>{/exp:weblog:entries}
This would display one entry, no problem. Then we upgraded to MSM and changed the url from web2.mcla.edu to admissions.mcla.edu - everything looked great but when I changed the template to this:
{exp:weblog:entries weblog="admissions" site="admissions" category="6" limit="1"}
<div class="sub_headbanner"><strong>{title}</strong></div>
<div class="content">{page_body}</div>{/exp:weblog:entries}
I can’t get anything to show up. If I remove the category and limit variable, then I can get a full list of entries, but can’t figure out for the life of me how to get the categories to show up.
Related question which is less pressing, but on the same template, I used this code to build a sidebar menu showing all the contents in one category. When I click into any of the entries, it only shows the title of the entry I’m on and not the whole category list. I assume this is me being stupid and missing an obvious code, but thought I’d check here as well.
{exp:weblog:entries weblog="admissions" category="6"}
<ul>
<li><a href="{url_title_path=admissions/value}">{title}</a></li>
</ul>
{/exp:weblog:entries}
Any ideas? Thanks!
Amy
