Re: Content Categorization with CakePHP ?

2009-05-20 Thread brian

I don't think you require Tree for this. Have a look at TagBehavior
for one way to do this.

http://bakery.cakephp.org/articles/view/simple-tagging-behavior

Otherwise, a common way to do this is to create a table of categories
and another categories_posts, then associate Post HABTM Category. If
you search "CakePHP post category" you'll probably come up with lots
of info, as this is a pretty common thing.

On Wed, May 20, 2009 at 4:50 AM, ntw  wrote:
>
> I just want to simply categorize my content.
> Like Wordpress - content categorizing in categories.
> Tree is kind of explained, but I still have no idea how to make a
> navigation from categories ( click category "PHP"and get my blog posts
> about PHP etc.).
> I am really noob in MVC's and OOP, so this is confusing for me.
>
>
> On 19 maijs, 00:56, brian  wrote:
>> On Mon, May 18, 2009 at 4:52 PM, the...@gmail.com  wrote:
>>
>> > Hey.
>> > I am pretty confused with CakePHP's Tree, I actually do not have a
>> > clue how to categorize my content with tree. I tried a few ways,
>> > almost did it, but still having trouble with it.
>> > Maybe someone could write a tutorial or link me to a tutorial outside
>> > cakePHP's bakery.
>> > Thankyou.
>>
>> Maybe you could explain what kind of data you have, along with at
>> least a *hint* of what you want to do.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Content Categorization with CakePHP ?

2009-05-20 Thread ntw

I just want to simply categorize my content.
Like Wordpress - content categorizing in categories.
Tree is kind of explained, but I still have no idea how to make a
navigation from categories ( click category "PHP"and get my blog posts
about PHP etc.).
I am really noob in MVC's and OOP, so this is confusing for me.


On 19 maijs, 00:56, brian  wrote:
> On Mon, May 18, 2009 at 4:52 PM, the...@gmail.com  wrote:
>
> > Hey.
> > I am pretty confused with CakePHP's Tree, I actually do not have a
> > clue how to categorize my content with tree. I tried a few ways,
> > almost did it, but still having trouble with it.
> > Maybe someone could write a tutorial or link me to a tutorial outside
> > cakePHP's bakery.
> > Thankyou.
>
> Maybe you could explain what kind of data you have, along with at
> least a *hint* of what you want to do.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Content Categorization with CakePHP ?

2009-05-19 Thread DanielMedia

In the manual they give a pretty good explanation of setup/usage:

http://book.cakephp.org/view/91/Tree

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Content Categorization with CakePHP ?

2009-05-18 Thread brian

On Mon, May 18, 2009 at 4:52 PM, the...@gmail.com  wrote:
>
> Hey.
> I am pretty confused with CakePHP's Tree, I actually do not have a
> clue how to categorize my content with tree. I tried a few ways,
> almost did it, but still having trouble with it.
> Maybe someone could write a tutorial or link me to a tutorial outside
> cakePHP's bakery.
> Thankyou.

Maybe you could explain what kind of data you have, along with at
least a *hint* of what you want to do.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Content Categorization with CakePHP ?

2009-05-18 Thread the...@gmail.com

Hey.
I am pretty confused with CakePHP's Tree, I actually do not have a
clue how to categorize my content with tree. I tried a few ways,
almost did it, but still having trouble with it.
Maybe someone could write a tutorial or link me to a tutorial outside
cakePHP's bakery.
Thankyou.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---