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
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
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.
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.