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

Notification

Icon
Error

How to use t4 template generator from kooboo toolkit
Hrvoje_86
#1 Posted : Friday, October 28, 2011 8:44:59 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 1/28/2011(UTC)
Posts: 157
Location: Croatia
Hi,

I have never used t4 templates and im not sure how to use t4 template generator from kooboo toolkit.
Anyone know how do i use it?
NjayWu
#2 Posted : Saturday, October 29, 2011 1:59:27 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/14/2011(UTC)
Posts: 34
Location: XM
open AutoModels.tt file,change the database value first:

var @namespace = "Kooboo.CMS.Toolkit";
var database = "SampleSite";//change this with your site database name
ar schemaDir = .....

Then Right click the file ,Select "Run Custom Tool".

If you get an Schema path error, just close the project,then restart the project ,
or set the schemaDir with an absolute path.
Regards,

NJ Wu

Kooboo3 Fans

http://www.qiyeqiye.com
1 user thanked NjayWu for this useful post.
Hrvoje_86 on 10/29/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.083 seconds.