How to develop categories and Sub categories

100 views
Skip to first unread message

josef amalraj

unread,
May 14, 2012, 7:17:11 AM5/14/12
to joomla-...@googlegroups.com
Hi,,everyone to all,
                         i nedd assistance from your side,,i develop small components  How to develop categories and Sub categories from joomla admin components mmmis there any idea pls reply or given some example codings ,,,and packages to easy lines
  

Thanks 
Josef

Daniel

unread,
May 14, 2012, 5:09:38 PM5/14/12
to joomla-...@googlegroups.com
Hi Josef,

https://github.com/Niambie
This is a J! component creator.
Just amazing, very helpful and free.

Regards,
Daniel
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.


Mark Dexter

unread,
May 14, 2012, 7:25:37 PM5/14/12
to joomla-...@googlegroups.com
You can add a category manager with just a few lines of code. If you
look at administrator/components/com_weblinks/weblinks.xml, you will
see a menu link element with:

<menu link="option=com_categories&amp;extension=com_weblinks"
view="categories" img="class:weblinks-cat"
alt="Weblinks/Categories">com_weblinks_categories</menu>

This adds the category menu during installation. Then, in
administrator/components/com_weblinks/helpers/weblinks.php there is
this code:

JSubMenuHelper::addEntry(
JText::_('COM_WEBLINKS_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_weblinks',
$vName == 'categories'
);
if ($vName=='categories') {
JToolBarHelper::title(
JText::sprintf('COM_CATEGORIES_CATEGORIES_TITLE',
JText::_('com_weblinks')),
'weblinks-categories');
}

That adds the Categories tab to the Web Links manager. All we are
doing is calling com_categories with the extension variable in the
URL.

Good luck. Mark

joseph amalraj

unread,
May 16, 2012, 9:10:24 AM5/16/12
to joomla-...@googlegroups.com
hi friends thanks for your information..........
Reply all
Reply to author
Forward
0 new messages