[ ispman-WishList-1658509 ] Provide a tab in the top menu for custom applikations

"SourceForge.net" <[email protected]> Sun, 18 Feb 2007 10:26:16 -0800
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
WishList item #1658509, was opened at 2007-02-13 01:32
Message generated for change (Comment added) made by jdelker
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=447192&aid=1658509&group_id=8390

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: case (case2020)
>Assigned to: Andreas John (derjohn)
Summary: Provide a tab in the top menu for custom applikations

Initial Comment:
It would be nice if there where a custom menu item which could be individually linked to any url. This could be useful for your domain-registration interface or maybe for your (web-based) accounting/billing software.


----------------------------------------------------------------------

>Comment By: Joerg Delker (jdelker)
Date: 2007-02-18 19:26

Message:
Logged In: YES 
user_id=43997
Originator: NO

Thanks for the contribution!

The code was (slightly modified) added to the main trunk.

/cvsroot/ispman/ispman/install-data/ldifs/conf.sys_vars.ldif,v  <-- 
conf.sys_vars.ldif
new revision: 1.11; previous revision: 1.10
/cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/topmenu.tmpl,v  <-- 
topmenu.tmpl
new revision: 1.13; previous revision: 1.12

----------------------------------------------------------------------

Comment By: case (case2020)
Date: 2007-02-13 05:09

Message:
Logged In: YES 
user_id=1375888
Originator: YES

File Added: customMenu.ldif

----------------------------------------------------------------------

Comment By: case (case2020)
Date: 2007-02-13 04:03

Message:
Logged In: YES 
user_id=1375888
Originator: YES

To solve this for me I have added the attached ldif entry, inserted in
topmenu.tmpl at line 56:
<perl>
if ( $ispman->getConf('customMenu') ne "" ) {
        $var1 = "<TD  valign=top align=right><nobr><a class=$class
target=\"content\" href=\"".$ispman->getConf('customMenu').'">Custom
Menu</a></nobr></td>';
   }
   return $var1;
</perl>
and added customMenu to ispman.conf, so that line 106 reads like this:
$Config->{'ispmanVarSort'}{'sys_vars'}=['agentFrequency','userPassHashMethod','sleepSecondsBetweenRestart','installDir','rootEmail','menuMode','customMenu'];

I hope this might be useful for somebody and moreover someone can put this
in the source?
Rgds,
File Added: customMenu.ldif

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=447192&aid=1658509&group_id=8390

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV