Knowledge Base / Category / Plugin development

Plugin development

Examples how to add links do site links

Automatically added links during installation. Note: They are not added if already exists link with the same name.
Example on e107.org is outdated.

plugin.xml

<siteLinks>
    <link url="{e_PLUGIN}efiction/authors.phpnewsfeed/newsfeed.php" >Newsfeeds</link>
</siteLinks>

with icons and custom function:

<siteLinks>
	<link url='{e_PLUGIN}faqs/faqs.php' description='FAQs' icon='images/icon_32.png' iconSmall='images/icon_16.png' function="faqCategories">LAN_PLUGIN_FAQS_NAME</link>		
</siteLinks>

plugin_setup.php

another way