Request not to show "new message"

1 year 8 months ago #292325 by todwart
Hello,

i created a menu item with "uddeIM PMS component", it's working fine but i don't want the tab "new". I only want the default tabs "inbox, outbox, trash". Which lines and where have i to comment out?


Thanks
1 year 8 months ago #292357 by todwart
Under "components\com_uddeim\includes.php" comment out the following lines:

if ($uddeaction=="new") {
echo "<li class='uddeim-activemenu'><span>";
if ($config->showmenuicons==1 || $config->showmenuicons==2)
echo "<img src='".$pathtosite."/components/com_uddeim/templates/".$config->templatedir."/images/menu_new.gif' alt='"._UDDEIM_COMPOSE."' />";
if ($config->showmenuicons==0 || $config->showmenuicons==1)
echo _UDDEIM_COMPOSE;
echo "</span></li>\n";
} else {
echo "<li>";
echo "<a href='".uddeIMsefRelToAbs("index.php?option=com_uddeim&task=new&Itemid=".$item_id)."'>";
if ($config->showmenuicons==1 || $config->showmenuicons==2)
echo "<img src='".$pathtosite."/components/com_uddeim/templates/".$config->templatedir."/images/menu_new.gif' border='0' alt='"._UDDEIM_COMPOSE."' />";
if ($config->showmenuicons==0 || $config->showmenuicons==1)
echo _UDDEIM_COMPOSE;
echo "</a>";
echo "</li>\n";
}
Moderators: beatnantslabbikrileon
Time to create page: 0.357 seconds
Facebook Twitter Google LinkedIn