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

Some weblog entries don’t appear

Development and Programming

dhc's avatar
dhc
86 posts
16 years ago
dhc's avatar dhc

For some reason the code below brings back the latest news story for only some weblog entries.

The code is:

{exp:weblog:entries limit="1" weblog="news" news_client="{segment_4}"}
  {title}

  {news_body}
{/exp:weblog:entries}

And when the url reads: http://outside-org.co.uk/index.php?/dev/test/news/spandau_ballet the latest news entry appears.

However, when it reads http://outside-org.co.uk/index.php?/dev/test/news/aeg_livemj

Nothing, nowt, nada, nil.

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

What is news_client?

       
dhc's avatar
dhc
86 posts
16 years ago
dhc's avatar dhc

Hi Sue,

It’s a custom field, this site is on 1.5.2 and have a plug-in that allows me to filter by custom field.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

dhc, we can’t support the extension; however, I’d recommend adding dynamic=”off”. Whatever is in segment_3, EE is going to try to limit by that unless you do turn that off. =)

And of course, this custom field searching is available natively in the latest versions, which also include important security fixes, so I’d highly recommend you update soon.

       
dhc's avatar
dhc
86 posts
16 years ago
dhc's avatar dhc

I did try with dynamic=”off”, forgot to include that in the code. Doesn’t make any difference I’m afraid.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Alright, well, at this point it seems to be an extension related issue, so I’m going to move this down to the extensions forum. If you want to upgrade and try it with the built-in functionality, we can assist at that point.

       
dhc's avatar
dhc
86 posts
16 years ago
dhc's avatar dhc

Sure, thanks Lisa

       

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.