Hello,
I am hoping someone can help me out with an issue I am having.
I have gone back to a site I was working on a while ago, and have noticed a problem that I should fix.
Please refer to the first image attached to this post. No issues here. When I click on one of the categories- Book, Music, PDF, etc- then the items in those categories should be displayed.
I can click on a category and I get the items in it no issues. However, the page appears to be ignoring the Events and Blog content in the right-hand bar. Please refer to the second image attached to this post.
The content for those items is stored in a Channel that I have published items to. None of the content within the channel entries tags is showing up when I click on a category.
The Right_Panel2 template looks like this:
<div id="Bar_Container_Side">
<div id="Bar">
<div id="Bar_Header">
<h3><a href="http://{site_url}/index.php/events">Events</a></h3>
<p> </p><h4>what we get upto</h4>
<p></div></p>
<p>{exp:channel:entries channel="events_summary" limit="1" dynamic="no"}<br />
<div id="Bar_Image">{events_summary_image}</div></p>
<p> {events_summary_text}</p>
<p>{/exp:channel:entries}</p>
<p><ul><br />
<li><a href="http://{site_url}/index.php/events">Event Details</a></li><br />
<li><a href="http://{site_url}/index.php/create_account">Create Account</a></li><br />
</ul><br />
<div id="Bar_Rego_Header_Logo">{site_url}/images/arrow.jpg</div><br />
<div id="Bar_Rego_Header"></p><h3><a href="http://{site_url}/index.php/register">Registration</a></h3>
<p> </p><h4>required for all events</h4>
<p> </div><br />
</div></p>
<p><div id="Bar"><br />
<div id="Bar_Header"><br />
</p><h3><a href="http://{site_url}/index.php/blog">Blog</a></h3>
<p> </p><h4>just us talking</h4>
<p></div></p>
<p><ul><br />
{exp:channel:entries channel="blog" orderby="date" sort="asc" limit="4" dynamic="yes"}<br />
<li><br /></p><h5><a href="http://{url_title_path=main/comments}">{blog_title}</a></h5>
<p> {exp:char_limit total="100"}<br />
{blog_summary}...<br />
{/exp:char_limit}<br />
</li><br />
{/exp:channel:entries}<br />
</ul><br />
</div><br />
</div>In my Resources template, this template is referred to like this:
{embed="main/right_panel2"}To attempt to resolve this, I have played around with the ‘dynamic’ keyword. This has helped me in the past. It seems to make no difference as to whether it’s set to ‘no’, ‘yes’, ‘on’, ‘off’ or left out completely.
Any help would be appreciated 😊
James Sharman.