Skip to Content Skip to Menu

How to hide "compose" button of the inbox ?

  • keroman
  • keroman
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
13 years 3 months ago #168201 by keroman
Hi,

How I can hide the "compose" button in the inbox ?

I am using UDDIEM for joomla 1.5.

Kind regards,

Keroman

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
13 years 3 months ago #168205 by slabbi
This is not possible using the backend (since it is a PMS, not a newsletter component).
Nevertheless you can modify the code. Please note that I do not support any modifications and you might have troubles when updating to a newer version.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • keroman
  • keroman
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
13 years 3 months ago #168209 by keroman
I understand that it is a PMS component. The point is that I want to use it in a constrained way:

- new message will only be called by a 3rd party program (fabrik component)
- users will then exchange message using "reply" button.

When I say "hide" the button, it could also mean "do not display" it, but it will not chang the need of a code modification.

Can help find the needle indicating which part of the code has to be modify and how ?

Of course any modifiction will be made at my own risks...

Kind regards,

Keroman

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
13 years 3 months ago #168211 by slabbi
includes.php -> function uddeIMprintMenu()

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • keroman
  • keroman
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
13 years 3 months ago #168409 by keroman
Hi Slabbi,

Should I just remove the following part of the code ?

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";
}

Kind regards,

Keroman

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum