Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

IPagePlugin does not work in V3 in views
koruyucu
#1 Posted : Monday, August 15, 2011 2:32:22 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 8/15/2011(UTC)
Posts: 8
Im starting to work with kooboo v3 and found that IPagePlugins are not working in views. I've created simple plugin, that writes to the text file and tried to add it to the view. That view is used in Layouts. My goal is to execute code on all pages opening. Is there another way to achieve that? If there is no other way then how to make page plugins play well with views?
jifeng
#2 Posted : Tuesday, August 16, 2011 1:13:59 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
HI

The page plugin is only executed in the controller, when the view added into a page, the plugins in it will be executed in the controller. But when you using the RenderView to render a view, the plugins will not be execute, because the controller do not know the which views will be rendered via the code.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
1 user thanked jifeng for this useful post.
koruyucu on 8/16/2011(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.039 seconds.