Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Seeking Code Samples for Creating a Component based on a Nested Set Table
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sid Childers  
View profile  
 More options Jul 26 2012, 10:58 am
From: Sid Childers <sid.child...@gmail.com>
Date: Thu, 26 Jul 2012 07:58:12 -0700 (PDT)
Local: Thurs, Jul 26 2012 10:58 am
Subject: Seeking Code Samples for Creating a Component based on a Nested Set Table

Good Morning,

I am creating a component for 2.5 that will be used to maintain a hierarchy
of categories, topics and finally articles or posts.  I need to permit
admins to add categories, topics and posts as well as move them from one
branch to another.  Does anyone have suggestions on code samples for this
task, specifically for the model and view classes?  

Thanks,
Sid


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dexter  
View profile  
 More options Jul 26 2012, 5:21 pm
From: Mark Dexter <dextercow...@gmail.com>
Date: Thu, 26 Jul 2012 14:21:27 -0700
Local: Thurs, Jul 26 2012 5:21 pm
Subject: Re: [jplatform] Seeking Code Samples for Creating a Component based on a Nested Set Table
Do you simply want to use categories with your component items? If so,
it is exceedingly simple. All you do is add a category manager and add
a category id column to your item table. You can look at
administrator/components/com_weblinks/weblinks.xml to see how to add a
menu item for a component category manager. Good luck. Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sid.child...@gmail.com  
View profile  
 More options Jul 26 2012, 5:40 pm
From: sid.child...@gmail.com
Date: Thu, 26 Jul 2012 21:40:09 +0000
Local: Thurs, Jul 26 2012 5:40 pm
Subject: Re: Re: [jplatform] Seeking Code Samples for Creating a Component based on a Nested Set Table

I'm not sure. There are about 6 branches that will contain several nodes  
per branch. Each node will have several properties such as users, job  
posts, news articles and more. Would category manager do the trick here?

On , Mark Dexter <dextercow...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dexter  
View profile  
 More options Jul 26 2012, 5:48 pm
From: Mark Dexter <dextercow...@gmail.com>
Date: Thu, 26 Jul 2012 14:48:30 -0700
Local: Thurs, Jul 26 2012 5:48 pm
Subject: Re: Re: [jplatform] Seeking Code Samples for Creating a Component based on a Nested Set Table
If I understand you correctly, you are describing the items. The way
it works in Joomla is that an item (for example an article) is
assigned to exactly one category. The categories are nested any way
you like. So the category table does the work of creating the
hierarchy and nodes, and the item just gets a free ride by being
assigned to the category. I don't see why that wouldn't work in most
cases. The item table is just a simple flat table where each item
points to a node in the category table. If that works, you get this
functionality almost with zero effort. Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »