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

Publish across channels ("show on front page")

How Do I?

Raymond Dalen's avatar
Raymond Dalen
10 posts
8 years ago
Raymond Dalen's avatar Raymond Dalen

This is probably an easy one, but I have not been able to find answers on how to do the following:

I’m planning a website with a front page, containing news and permanent information.

The news must derive from

a) News posts produced just for the front (dedicated channel)

b) News posts coming from one of the other channels, when posts are checked “show on the front page”

I see that it can be solved by using categories within a channel, but the challenge is that I need to have multiple channels, with associated categories.

Cross publishing across channels under certain conditions, is in reality what I ask for, I guess..

Raymond

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
8 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Would doing {exp:channel:entries channel="front|other-channel|other-channel-2"} do the trick?

       
Raymond Dalen's avatar
Raymond Dalen
10 posts
8 years ago
Raymond Dalen's avatar Raymond Dalen
Would doing **{exp:channel:entries channel="front|other-channel|other-channel-2"}** do the trick?

Maybe, but wouldn’t that list all the entries in other-channel and other-channel-2 ?

I would like only certain entries from other-channel and other-channel-2 to show up in front channel. The ones somehow ticked “show on the front page”

Raymond

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
8 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Yes, it’d show all entries, but you can easily do a conditional like {if show_on_front_page == 'yes'} show the content {/if} – that is assuming the field is called show_on_front_page. However, I personally would not go that route. I’d create a custom status called Front Page and then do:

{exp:channel:entries channel="front|other-channel|other-channel-2" status="Front Page"}

Or you could use a category. There are many ways to accomplish what you’re looking to do, and they potentially all have their pluses and minuses.

Hope this helps.

       
Raymond Dalen's avatar
Raymond Dalen
10 posts
8 years ago
Raymond Dalen's avatar Raymond Dalen
Or you could use a category. There are many ways to accomplish what you’re looking to do, and they potentially all have their pluses and minuses. Hope this helps.

It shure helps. I have some ideas now. Thanks a lot.!

Raymond

PS. I guess i’m not the only one whith this need, so if anyone else has a canned and functional soloution, I’d be glad to hear about it

       
Raymond Dalen's avatar
Raymond Dalen
10 posts
8 years ago
Raymond Dalen's avatar Raymond Dalen

Just another quick question related to this. Will a category_id be valid cross channels. regardless of category_group?

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
8 years ago
Ingmar Greil's avatar Ingmar Greil

I think the simplest solution would be using a “frontpage” status.

       

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.