We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Trouble displaying featured entries

Development and Programming

kasdesign's avatar
kasdesign
13 posts
16 years ago
kasdesign's avatar kasdesign

Hi, For the main page of each category, I’d like to rotate through the images of 5 featured entries that are chosen by selecting a checkbox(field = product_featured} on the publish page of the entry. I have a flash file that reads an EE xml template to determine which images to show:

<?xml version="1.0" encoding="UTF-8"?>
<content>
{exp:weblog:entries weblog='products' category='{embed:{segment_2}}' limit="5" disable='member_data|trackbacks' sort="desc" orderby="product_featured" search:product_featured="not IS_EMPTY"}

 <item Image="{featured_banner}" Delay="5000" Link="{global_url}{flash_banner_link}"></item>

{/exp:weblog:entries}
</content>

The problem I’m having is images from featured entries of any category are showing up instead of just the ones related to the current page category.

If anyone has any ideas as to how I could go about resolving this I would greatly appreciate it. I’ve tried everything I could think of but haven’t been successful.

Thanks in advance for your help!

Moved to the Extensions forum by Moderator

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

kasdesign:

For the main page of each category, I’d like to rotate through the images of 5 featured entries that are chosen by selecting a checkbox(field = product_featured} on the publish page of the entry. I have a flash file that reads an EE xml template to determine which images to show:

The stock EE publish page doesn’t have any check box fields. Are you using some sort of third party addon for this?

       
kasdesign's avatar
kasdesign
13 posts
16 years ago
kasdesign's avatar kasdesign

Hi Sue,

Thanks for your quick reply! I am using Brandon Kelly’s FieldFrame extension for the checkbox. Is there a better way to accomplish what I’m looking to do that you can think of?

Thanks again, Jeff

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

It’s not a matter of good or bad – it’s just we don’t provide direct support for third party addons. So I’m going to move this to the Extensions forum.

NOTE: Brandon also has his own support forum which you can find from his site.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.