[pLog-svn] About the menu structure in 2.0

Mark Wu mark.wu at markplace.net
Tue Jan 8 13:15:40 EST 2008


Hi Oscar:
 
Why we need the "managePosts " in our menu.xml?
===
 
 <Content url="?op=editPosts">
     <managePosts ignoreBreadCrumbs="1"
orPerms="add_post,view_posts,add_category,view_categories,view_comments,view
_trackbacks">
        <newPost url="?op=newPost" andPerms="add_post" />
        <editPosts url="?op=editPosts" andPerms="view_posts" />
        <editArticleCategories url="?op=editArticleCategories"
andPerms="view_categories" />
        <editComments url="?op=editComments" andPerms="view_comments" />
        <editLinks url="?op=editLinks" andPerms="view_links" />
        <editLinkCategories url="?op=editLinkCategories"
andPerms="view_link_categories" />
        <blogCustomFields url="?op=blogCustomFields"
andPerms="view_custom_fields" />
   </managePosts>
 </Content>
 
Can we just remove it and reduce the menu structure to less level?
===
 
 <Content url="?op=editPosts">
       <newPost url="?op=newPost" andPerms="add_post" />
       <editPosts url="?op=editPosts" andPerms="view_posts" />
       <editArticleCategories url="?op=editArticleCategories"
andPerms="view_categories" />
       <editComments url="?op=editComments" andPerms="view_comments" />
       <editLinks url="?op=editLinks" andPerms="view_links" />
    <editLinkCategories url="?op=editLinkCategories"
andPerms="view_link_categories" />
    <blogCustomFields url="?op=blogCustomFields"
andPerms="view_custom_fields" />
 </Content>
 
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20080109/c79022dc/attachment.htm 


More information about the pLog-svn mailing list