Multiple Content types in single Template?

More
14 years 3 months ago #8155 by watts
Is it possible to pull the data from multiple content types into a theme template?

Ex: If I had a website with two different content types, News and Events - and wanted to display the most 5 most recent published items from both of the content types on a single page.

Thanks,

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #8156 by watts
Is it possible to pull the data from multiple content types into a single theme template file?

Ex: If I had a website with two different content types, News and Events - and wanted to display the most 5 most recent published items from both of the content types on a single page.

Thanks,

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #8167 by micker
hello type and template are independant !
the category and template are linked
you can assign the any type on category and same template on multiple category
Regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #8194 by watts
So then how exactly would I display 2 different content types on single page?

Sorry, new at this :)

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #8200 by micker
it's not possible ! and i don't understand the idea sorry ...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #8202 by watts
Sorry if I haven't explained myself correctly :)

If you go to this site that I'm making with WordPress you'll see what I mean:

dev.nathanielwatts.com/bobbywilsongolf/

So on this hompage - I'm pulling different submitted content types.

You can see the Schedule [which is one content type]:
it is listing the 3 most recent events coming up.

Then you see Affiliates [which is a second content type]:
which is displaying 4 of his most recent affiliates.

You can see here that there is data from multiple content types being pulled from the database and getting displayed with a single template.

Is something like this possible?

Thanks for your help!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.662 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline