[pLog-svn] Do we allowed blogCategory = null in blog Info?

Mark Wu markplace at gmail.com
Tue Apr 4 03:25:58 GMT 2006


BTW, the same problem in GlobalArticleCategory
 
in the DB design, we do not allow it null...
 
But, in our article.class.php, seems we allow it as null
 
Mark


  _____  

From: plog-svn-bounces at devel.lifetype.net
[mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Mark Wu
Sent: Tuesday, April 04, 2006 11:21 AM
To: plog-svn at devel.lifetype.net
Subject: [pLog-svn] Do we allowed blogCategory = null in blog Info?


Hi All:
 
Do you think we need to allow blogCategory = null in blogInfo object?
 
I plan to modify the wizard and registeration process:
 
1. I will create deafult BlogCategory and default GlobalArticleCategory in
wizard.php
2. Assign the deafult BlogCategory  to the blog that user created in wizard
3. Assign the default GlobalArticleCategory  to default article
4. Add a BlogCategory selector in registeration process, and user and select
their own
 
The, I think I can bsed on this to modify our summary, to let user see the
folloing information
 
1. RecentPost based on All, BlogCategory and GlobalArticleCategory
2. MostReadedPost based on All, BlogCategory and GlobalArticleCategory
3. ...blahblahblah
 
According to the proposal, I suggest we change the blog_category_id to non
null .... and maybe we also need to modify the upgrade process.
 
Of course, we still can keep it as allow null.  :D
 
Mark
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http:// devel.lifetype.net/pipermail/plog-svn/attachments/20060404/758344fe/attachment.html


More information about the pLog-svn mailing list