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

Promote entries tagged by native category?

Development and Programming

User z9NVFGOr's avatar
User z9NVFGOr
13 posts
about 3 months ago
User z9NVFGOr's avatar User z9NVFGOr

Hello. Maybe a stupid question but is it possible to promote those tagged by native category in a list of entries? Say you’re showing 20, and you want any that are ‘featured’ to appear first in that list. Then by date (or other standard loop param).

       
User z9NVFGOr's avatar
User z9NVFGOr
13 posts
about 3 months ago
User z9NVFGOr's avatar User z9NVFGOr

One thought was to create a text field and sort by it. A-Z… then client adds an A to those it wants to promote… or b or z. Hacky.

       
User DhyurnTL's avatar
User DhyurnTL
5 posts
about 3 months ago
User DhyurnTL's avatar User DhyurnTL

It would be churlish of me to fail to observe that you can of course do this with using layout variable arrays … 😊 🐾

       
User z9NVFGOr's avatar
User z9NVFGOr
13 posts
about 3 months ago
User z9NVFGOr's avatar User z9NVFGOr

Hmn. never seen those. I’ll see if I can find in the docs

       
User DhyurnTL's avatar
User DhyurnTL
5 posts
about 3 months ago
User DhyurnTL's avatar User DhyurnTL

https://docs.expressionengine.com/latest/templates/layouts.html#layout-variables

       
User z9NVFGOr's avatar
User z9NVFGOr
13 posts
about 3 months ago
User z9NVFGOr's avatar User z9NVFGOr

More I read about Layouts more I realise why I don’t hear much about stash these days.

       
User z9NVFGOr's avatar
User z9NVFGOr
13 posts
about 3 months ago
User z9NVFGOr's avatar User z9NVFGOr

I’ve been using them in a very flat way

       

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.