Page 1 of 1

extending com_category/com_section

Posted: Thu Jul 17, 2008 3:55 pm
by bugger999
I am running J! 1.5.3 and am writing a component that is a VERY basic version of com_content (no search, no pagination...etc.)
Problem
i have been trying to find a solution for putting my "articles" in seperate sections and categories, and have recently read that i can use com_categories and com_sections, but after pouring over the com_content and com_newsfeeds code and these forums i am unable to find where they actually connect to each other.
Help
1. show me where in the code it connects
2. how do i add this to a backend form
3.how do i make the address (option=com_golfcourses?.......)link to the sections and categories.
Thanks
in advance.

Re: extending com_category/com_section

Posted: Wed Aug 20, 2008 8:44 pm
by bugger999
The answer is this--
in the 'install.xml'
<administration>
<!-- Administration Menu Section -->
<menu>my component</menu>
<submenu>
<menu >My Component Form</menu>
<menu link="option=com_categories&section=COM_MYCOMPONENT">Categories</menu>
</submenu>

From here, when you upload your component, it will automatically create a section, and the categories page...