17.6.2014. 10:16:45
188
Reputacija
18
Ukupno objava
Hi,
There is no easy way to do that.
If you want to implement this feature you will need to follow steps:
1. Create your own event table that will be connected to MonoX snEvent table.
2. Add a new event type to the table SnEventType for news.
3. Using Dependency Injection kick in your own repository and BLL for news creation.
- This is necessary because you need to create saving of an event when user creates new news article.
4. Create a new Event control that will inherit MonoX control and override following methods:
- EventIdsToDisplay (Gets the type ids of events that should be displayed.)
- FetchEventCollection
- Using Dependency Injection kick in your own EventRepostory and EventsBLL for event fetching.
- FormatEventText (Formats the event text that is shown in the module.)
- FormatEventIcon (Formats the event icon - each event can have a separate icon.)
Regards
Povijest ocjena (Sadržaj je ocijenjen sa 0,00 od ukupno 0 glas(ova).)
Prikaz osoba koje su ocjenile ovaj sadržaj i dodjeljenih ocjena.