فتحات العرب Joomla! • Index page: Administration Joomla! 2.5 • Re: Assistance in assigning module to a module item

Thursday, October 16, 2014

Administration Joomla! 2.5 • Re: Assistance in assigning module to a module item


  • Create the module(s) you wish to include within a Custom HTML module. Assign to non existing positions by simply typing a name in the position field, so there is no display other than the custom setup. I usually use 'z' just so it displays at the end of the list



  • Create a Custom HTML module and assign to the menu item as needed. Set Prepare Content to 'Yes'



  • Enter the loadmodule plugin code as shown in the method below


Code:

{loadmodule mod_latest_articles,View The Latest Posts,xhtml}




  • The first parameter defines the module type.



  • The second param is the name of that module, and it must be exact as the name given to the saved module



  • The third param is the chrome style as found in the template's module.php. You don't need this param. It will default to xhtml but it gives you the option to use any other available style.




loadmoduleusage.png

Statistics: Posted by jackrabbit — Thu Oct 16, 2014 8:29 pm








via Joomla! http://ift.tt/1wdVIW8

No comments:

Post a Comment