Rss Feed
  1. Joomla custom template

    Friday, 4 January 2013

    Converting html to joomla template

    http://www.tobacamp.com/tutorial/5-easy-steps-converting-html-template-to-joomla-template/


    overwriting default output of joomla 1.5

    http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

    joomla main menu



    // Get default menu - JMenu object, look at JMenu api docs
    $menu = JFactory::getApplication()->getMenu();
    
    // Get menu items - array with menu items
    $items = $menu->getMenu();
    
    // Look through the menu structure, once you understand it
    // do a loop and find the link that you need.
    var_dump($items);


    http://stackoverflow.com/questions/3787669/how-to-get-specific-menu-items-from-joomla

    Joomal module

    To get module title and content
    <jdoc:include type="modules" name="top" style="xhtml" />

    To get module title alone
    <jdoc:include type="modules" name="home_1" />

  2. 0 comments:

    Post a Comment