Content from 3rd party apps on non-app pages

20 views
Skip to first unread message

Sergey Kucheryavski

unread,
May 17, 2012, 10:18:45 AM5/17/12
to Django FeinCMS
Hi,

is it possible to include some content from 3rd party apps to other
non-app pages?

E.g. I have a homepage which contains some static text. I also have a
News application which has /news root url (e.g. /news gives a news
list, /news/2007 gives news from 2007 etc.). Can I make a block with
last 5 news on my homepage or any other page outside the url scope of
News app? Will be very grateful for any suggestions, references, etc!

Marc Tamlyn

unread,
May 17, 2012, 10:33:32 AM5/17/12
to django-...@googlegroups.com
This is exactly what custom content types are for.


You can include extra options you might want, like the number of news items or a particular year/category as fields on the content type.

Marc


--
You received this message because you are subscribed to the Google Groups "Django FeinCMS" group.
To post to this group, send email to django-...@googlegroups.com.
To unsubscribe from this group, send email to django-feincm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-feincms?hl=en.


Sergey Kucheryavski

unread,
May 17, 2012, 1:18:04 PM5/17/12
to Django FeinCMS
Thanks! But seems like I misunderstand something. Besides others,
custom content type needs abstract model. If I make News model
abstract in my app I will not be able to add/change news items in the
app.


On May 17, 4:33 pm, Marc Tamlyn <marc.tam...@gmail.com> wrote:
> This is exactly what custom content types are for.
>
> http://feinheit.ch/media/labs/feincms/contenttypes.html#implementing-...
>
> You can include extra options you might want, like the number of news items
> or a particular year/category as fields on the content type.
>
> Marc
>

Sergey Kucheryavski

unread,
May 17, 2012, 2:07:08 PM5/17/12
to Django FeinCMS
Ok I think I figured out how it works. Thanks a lot once again!

On May 17, 7:18 pm, Sergey Kucheryavski <svkucheryav...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages