Adding_unique_IDs_to_tablerenders - e107inc/e107v1 GitHub Wiki
title: Adding unique IDs to tablerenders permalink: /Adding_unique_IDs_to_tablerenders/
As of e107 0.7 tablestyle()
's $mode
variable can be used to allow themers to style your specific menus in their theme.php
's tablestyle()
function.
e107's core menus have all been given their own unique $mode
ID's - for example the chatbox menu has been given the ID chatbox.
In order to allow the themer to uniquely style your menus and other tablerenders you should also add your own $mode
ID's to your tablerender()
calls.
Where yourplugin is the directory name of your plugin and id is a unique identifier for this particular tablerender in your plugin.