here’s the problem. i have a template that is working as an article page on my site. it has no problem displaying data with exp:weblog:entries from the current weblog but not other weblogs.
for example: i’m in the case studies section of my website on the case studies homepage. there’s a footer on the page that is using exp:weblog:entries to pull contact information data from the contact weblog and it works fine. once i click through to a case studies article, the contact information in the footer no longer appears.
i feel like it has something to do with the URL.
when i use this URL, everything shows up on the page:
http://www.example.com/index.php/case_studies/study/
but when i use this URL (which is the URL to the article/study), the contact footer information doesn’t show up:
http://www.example.com/index.php/case_studies/study/fictional_company_1/
here’s my code, for those that are interested (and yes, i have PHP parsing turned on.. like i said, this works fine on other higher sectioned pages.. but, for sub-sections, not.) this is just the footer code and i made sure that all of my code on the page is correct. when i comment out all the other code on the page this footer code still doesn’t work on these sub-section pages! weird.
<div id="footer">{exp:weblog:entries weblog="contact" disable="categories|member_data|pagination|trackbacks" search:title="=Contact Us" sort="asc"}
<div id="footer-contact">
<span class="contact-info">(o) {contact_office_phone_number}</span><span class="contact-info">(f) {contact_fax_number}</span><span class="contact-info">{contact_email_address}</a></span>
</div>
<div id="footer-address">
<nobr><span class="contact-info"><?php
$raw_address = "{contact_address}";
$formatted_address = str_replace("","",$raw_address);
$formatted_address = str_replace("
"," | ",$formatted_address);
?><?php echo $formatted_address ?></span><span class="contact-info"><a href="http://www.design-systems.net" title="Built by Design-Systems" target="_blank" rel="noopener">ds</a></span></nobr>
</div>{/exp:weblog:entries}
</div>