Koozali.org: home of the SME Server

Customizing the web interface...

danielrm26

Customizing the web interface...
« on: September 27, 2002, 11:28:49 AM »
I am trying to find documentation on adding extra features to the web interface, such as SMS messaging, calendars, autoresponders, etc...

I am not necessarily looking for those in particular, but anything along those lines.  I have been to the horde site and I don't see anything oriented along the lines of how to load these options into a horde/imp interface.

Any help would be appreciated,

--danielrm26

Jim Hale

Re: Customizing the web interface...
« Reply #1 on: September 27, 2002, 04:14:06 PM »
I have all the Horde 'extras' loaded on my site -

All I did was rename the existing horde folder to horde.old (just in case) and then installed Horde/Imp/Turba/Kronolith/Mnemo and Nag (in that order) as if I was just installing them to a straight RedHat box (like I had done before I ever knew about E-Smith).

Everything works great! :)

I have an 'easy step-by-step install' PDF that I had pulled from someone else's website for getting all this running. Shoot me an E-Mail and i'll be more than happy to send it to you. Takes about half an hour to do it all.

Oliver Naegele

Re: Customizing the web interface...
« Reply #2 on: September 28, 2002, 02:39:43 PM »
Hi,
I´d be interested in a short how-to as  well. I tried out some other pim but the Mail-Client is always very bad.
Like to hear from you.

Oliver

leafer

Re: Customizing the web interface...
« Reply #3 on: September 28, 2002, 04:46:19 PM »
please dude send me the pdf FILE.
thnx

p.s how did you change your login to "welcom to Hallmark" ????
Jim Hale wrote:
>
> I have all the Horde 'extras' loaded on my site -
>
> All I did was rename the existing horde folder to horde.old
> (just in case) and then installed
> Horde/Imp/Turba/Kronolith/Mnemo and Nag (in that order) as if
> I was just installing them to a straight RedHat box (like I
> had done before I ever knew about E-Smith).
>
> Everything works great! :)
>
> I have an 'easy step-by-step install' PDF that I had pulled
> from someone else's website for getting all this running.
> Shoot me an E-Mail and i'll be more than happy to send it to
> you. Takes about half an hour to do it all.

Dirk Jullens

Re: Customizing the web interface...
« Reply #4 on: September 29, 2002, 12:21:29 PM »
I would like the howto too please :D

Nick

Re: Customizing the web interface...
« Reply #5 on: September 30, 2002, 01:04:51 AM »
I am to interested in your how too document.

Thanks in advance

Leafer

Re: Customizing the web interface How i done it replies plea
« Reply #6 on: September 30, 2002, 02:32:35 AM »
OKee Guys,
Here's how i upgraded to Horde2.1 and imp, kronolith en the rest on my SME 5.5 with users and all. I've done this serveral times now and server is still running. First make "BACKUP " of your server !!!!!!. IT WASN'T MY. If you have any problems !!!
 
Download from "ftp://ftp.e-smith.org/pub/e-smith/contrib/DanBrown/RPMS/noarch/"
The following RPM's : "horde-2.1-1es.noarch.rpm" and "imp-3.1-2es.noarch.rpm".
Download from "http://staff.interworx.com.au/sme/"
The following RPM's :  "e-smith-kronolith-1.0-01.noarch.rpm"
Download the extra modules from "ftp://ftp.horde.org/pub/"
For the extra modules it's all the same. so only nag is described !!
Download from "ftp://ftp.horde.org/pub/nag/tarballs/"
The following Tar: "nag-latest.tar.gz"
or one of the other modules "ftp://ftp.horde.org/pub/"

Next Put all the files in a dir on your server. Then run

rpm -Uvh horde-2.1-1es.noarch.rpm
rpm -Uvh imp-3.1-2es.noarch.rpm
rpm -Uvh e-smith-kronolith-1.0-01.noarch.rpm
and untar the *.tar.gz to a dir under /home/httpd/horde/html/

okee, Go to "http://yourserver/webmail" and try to login. If you can't. Go to "http://yourserver:980/servermanager" =>"other e-mail settings" and at "Enable/Disable Webmail" select "Disabled" then "Save". And then Enabled and "Save" it again.
Go to "http://yourserver/webmail" and try to login again. :-)
Now Extra Horde Modules (change made to some of the conf files are overwritting by sme-service-manager because You have to make the custom-templates under /etc/e-smith/templates/... yet.)
Go to "/home/httpd/html/horde/config". Open the registry.php file goto the "Application registry". See the last entry could look like this:

$this->applications['kronolith'] = array(
    'fileroot' => dirname(__FILE__) . '/../kronolith',
    'webroot' => $this->applications['horde']['webroot'] . '/kronolith',
    'icon' => '/horde/kronolith/graphics/kronolith.gif',
    'name' => _("Calendar"),
    'allow_guests' => false,
    'show' => true

Copy it below. Change the values to nag. Something like this:

$this->applications['nag'] = array(
    'fileroot' => dirname(__FILE__) . '/../nag',
    'webroot' => $this->applications['horde']['webroot'] . '/nag',
    'icon' => '/horde/nag/graphics/nag.gif',
    'name' => _("Todo"),
    'allow_guests' => false,
    'show' => true
"Save".
(Do the same for every other module you want to register.)

Go to "/home/httpd/html/horde/imp/config". Open the conf.php file goto the "Menu Settings". See the last entry could look like this:
$conf['menu']['apps'] = array('turba','kronolith');
Fill in the name of the extra modules. Something like this:
$conf['menu']['apps'] = array('turba','kronolith','nag');
"Save"
Go to "http://yourserver/webmail" and try to login as a user. :-) and See of it works
Seems to work this way with every module. It worked for my !!!

Quick and Dirty changes
Changing IMP login message !!!!
horde/imp/templates/login/login.inc
Line 63:
and just change it to whatever you want. :)
example:
Q'S
Kronolith give blank page?????
Try http://yourserver/horde/kronolith/month.php does it work !!!!

Then change the Horde/config/registry.php.
$this->applications['kronolith'] = array(
    'fileroot' => dirname(__FILE__) . '/../kronolith',
    'webroot' => $this->applications['horde']['webroot'] . '/kronolith/month.php',
    'icon' => '/horde/kronolith/graphics/kronolith.gif',
    'name' => _("Calendar"),
    'allow_guests' => false,
    'show' => true
'webroot' => $this->applications['horde']['webroot'] . '/kronolith',

Have Fun !!!!
If I made any mistakes. SORRRYYYY
Wanna try it again, because it messed up your machine: Do a upgrade with you SME 5.5 CD.
Ps. If you have any improvements please, send them to my !!!

Thanx to
Ben Morrisson
JIm Hale
Dan Brown

Leafer

Re: Customizing the web interface How i done it replies plea
« Reply #7 on: September 30, 2002, 02:34:59 AM »
OKee Guys,
Here's how i upgraded to Horde2.1 and imp, kronolith en the rest on my SME 5.5 with users and all. I've done this serveral times now and server is still running. First make "BACKUP " of your server !!!!!!. IT WASN'T MY. If you have any problems !!!
 
Download from "ftp://ftp.e-smith.org/pub/e-smith/contrib/DanBrown/RPMS/noarch/"
The following RPM's : "horde-2.1-1es.noarch.rpm" and "imp-3.1-2es.noarch.rpm".
Download from "http://staff.interworx.com.au/sme/"
The following RPM's :  "e-smith-kronolith-1.0-01.noarch.rpm"
Download the extra modules from "ftp://ftp.horde.org/pub/"
For the extra modules it's all the same. so only nag is described !!
Download from "ftp://ftp.horde.org/pub/nag/tarballs/"
The following Tar: "nag-latest.tar.gz"
or one of the other modules "ftp://ftp.horde.org/pub/"

Next Put all the files in a dir on your server. Then run

rpm -Uvh horde-2.1-1es.noarch.rpm
rpm -Uvh imp-3.1-2es.noarch.rpm
rpm -Uvh e-smith-kronolith-1.0-01.noarch.rpm
and untar the *.tar.gz to a dir under /home/httpd/horde/html/

okee, Go to "http://yourserver/webmail" and try to login. If you can't. Go to "http://yourserver:980/servermanager" =>"other e-mail settings" and at "Enable/Disable Webmail" select "Disabled" then "Save". And then Enabled and "Save" it again.
Go to "http://yourserver/webmail" and try to login again. :-)
Now Extra Horde Modules (change made to some of the conf files are overwritting by sme-service-manager because You have to make the custom-templates under /etc/e-smith/templates/... yet.)
Go to "/home/httpd/html/horde/config". Open the registry.php file goto the "Application registry". See the last entry could look like this:

$this->applications['kronolith'] = array(
    'fileroot' => dirname(__FILE__) . '/../kronolith',
    'webroot' => $this->applications['horde']['webroot'] . '/kronolith',
    'icon' => '/horde/kronolith/graphics/kronolith.gif',
    'name' => _("Calendar"),
    'allow_guests' => false,
    'show' => true

Copy it below. Change the values to nag. Something like this:

$this->applications['nag'] = array(
    'fileroot' => dirname(__FILE__) . '/../nag',
    'webroot' => $this->applications['horde']['webroot'] . '/nag',
    'icon' => '/horde/nag/graphics/nag.gif',
    'name' => _("Todo"),
    'allow_guests' => false,
    'show' => true
"Save".
(Do the same for every other module you want to register.)

Go to "/home/httpd/html/horde/imp/config". Open the conf.php file goto the "Menu Settings". See the last entry could look like this:
$conf['menu']['apps'] = array('turba','kronolith');
Fill in the name of the extra modules. Something like this:
$conf['menu']['apps'] = array('turba','kronolith','nag');
"Save"
Go to "http://yourserver/webmail" and try to login as a user. :-) and See of it works
Seems to work this way with every module. It worked for my !!!

Quick and Dirty changes
Changing IMP login message !!!!
horde/imp/templates/login/login.inc
Line 63:
and just change it to whatever you want. :)
example:
Q'S
Kronolith give blank page?????
Try http://yourserver/horde/kronolith/month.php does it work !!!!

Then change the Horde/config/registry.php.
$this->applications['kronolith'] = array(
    'fileroot' => dirname(__FILE__) . '/../kronolith',
    'webroot' => $this->applications['horde']['webroot'] . '/kronolith/month.php',
    'icon' => '/horde/kronolith/graphics/kronolith.gif',
    'name' => _("Calendar"),
    'allow_guests' => false,
    'show' => true
'webroot' => $this->applications['horde']['webroot'] . '/kronolith',

Have Fun !!!!
If I made any mistakes. SORRRYYYY
Wanna try it again, because it messed up your machine: Do a upgrade with you SME 5.5 CD.
Ps. If you have any improvements please, send them to my !!!

Thanx to
Ben Morrisson
JIm Hale
Dan Brown

Jim Hale

Re: Customizing the web interface How i done it replies plea
« Reply #8 on: September 30, 2002, 02:47:36 AM »
Well, where you have customizing the 'Welcome To" message ain't where I said it was (but that's ok).

Look AROUND Line 63 in (imp/templates/login/login.inc) for:




And change to:


  getMethod('auth/login') == 'imp') ? $registry->getParam('name', 'horde') : $registry->getParam('name')) ?>



or whatever you want to name your Webmail name to.

I also didn't use any of the RPM's since as Horde upgrades parts of the 'Suite' I didn't want to have to wait for someone else to do RPM's for SME. I'm still new to Linux and ain't that comfortable building my own RPM's yet. :)

I guess that I've just done this so many times over the past 3 months that the instructions you gave are a bit confusing, nothing wrong with them, just seems like a lot to throw at someone who's never done it before. :)

Leafer

Re: Customizing the web interface How i done it replies plea
« Reply #9 on: September 30, 2002, 11:56:30 AM »
That's correct,
it's a bit much.
But since i also done this serveral times. I just put it down because i'm a lazzy mother.....

Sander

Re: Customizing the web interface How i done it replies plea
« Reply #10 on: September 30, 2002, 02:24:12 PM »
Leafer,

Thanx-a-lot. Followed your instructions, and it works like a charm.
But instead of changing every conf.php to relflect the new menu-items, I changed the index.php, and created a frameset using the existing menu.php. That way the applications stay visible in the bottom of the screen.

Sander
NL

Dirk Jullens

Re: Customizing the web interface How i done it replies plea
« Reply #11 on: September 30, 2002, 03:22:32 PM »
Txs for the howto!
Its working like a charm.

Leafer

Re: Customizing the web interface How i done it replies plea
« Reply #12 on: September 30, 2002, 03:37:00 PM »
Sander (bijl_AT_nieuwland.nl,
can you please post your improvements. Maybe i can use them to ?????,
thnx

Leafer

Re: Customizing the web interface How i done it replies plea
« Reply #13 on: October 01, 2002, 04:33:44 PM »
sander,

is het misschien mogelijk dat ik een uitleg van je krijg over dat index.php verhaal voor het menu.


thnx,

leafer

danielrm26

Re: Customizing the web interface How i done it replies plea
« Reply #14 on: October 01, 2002, 11:07:48 PM »
Ok, I started this thread but have since decided to not go with the addons due to worrying about update issues.

I am instead going to just change some text on my login page.  Does anyone know the name of the file that I edit to do that?

Thanks,

--danielrm26

 


  getMethod('auth/login') == 'imp') ? $registry->getParam('name', 'horde') : $registry->getParam('name')) ?>