Перейти к контенту

Рекомендуемые сообщения

I want to briefly show our new cover photo support. Cover photos allow users to upload an image to represent something in the community; we currently support them in profiles and calendar events and may roll out support to other areas later.

 

Here's a video of it in action for a calendar event.

 

 

It's really simple to use, and of course still works responsively like the rest of our default theme. We hope it adds a new element of customization for content in your community.

 

Developers

 

For developers, supporting cover photos in your own addons is as easy as you'd expect. A helper is available which handles the nitty-gritty for you; you simply add $item->coverPhoto() to your template, override a couple of methods in your controller, and optionally build your own menu to control the user interaction (or you can let the helper output them for you, as in the video above). That's it!

 

As always, screenshots are from pre-release software and are subject to change before release.  

View the full article

 

Тема на форуме Invision Power

Ссылка на комментарий
Поделиться на других сайтах

Гость
Эта тема закрыта для публикации сообщений.
×
×
  • Создать...

Важная информация

Находясь на нашем сайте, вы соглашаетесь на использование файлов cookie, а также с нашим положением о конфиденциальности Политика конфиденциальности и пользовательским соглашением Условия использования.