how to add the default post

how to add the default post

Postby gastoncs on Thu Feb 21, 2008 2:04 pm

Hi all I am using the Blog class to create blogs and also the User calss to add users to the blog and the Permission class to give permissions, but what I need also is the default post that is created whit the blog the "Congratulations" message; I think I need to use the Articles class but I am not sure how to use it.

Can some one help me with this?

Thanks in advance
gastoncs
 
Posts: 25
Joined: Wed Feb 13, 2008 11:24 am

Postby jondaley on Fri Feb 22, 2008 10:45 am

Sounds like you are on the right track. I'd take a look at the code that gets called when blogs are created the usual way, and copy out the lines for creating the default post.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby gastoncs on Fri Feb 22, 2008 12:48 pm

Thanks jon

let me see if I can find it. :)
gastoncs
 
Posts: 25
Joined: Wed Feb 13, 2008 11:24 am

Postby gastoncs on Fri Feb 22, 2008 6:31 pm

I allways try to do it my self (find out how to do it) before I ask for help, but I am having difficulty to track the the code that calls for a new blog.

can you help me?

thanks
gastoncs
 
Posts: 25
Joined: Wed Feb 13, 2008 11:24 am

Postby jondaley on Sun Feb 24, 2008 1:54 am

/class/summary/action/dofinishregister.class.php
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby asers on Sun Feb 24, 2008 6:26 am

In simple terms, registration code in the imminent end of the local implementation of a database of orders...

What about My Eng? Google translation :P :P
asers
 
Posts: 3
Joined: Fri Feb 22, 2008 5:25 pm
Location: Jianwai SOHO, East 2 ring Rd, BeiJing , China


Return to LifeType 2.0 Development

cron