[trean] Categories show up as numeric and a fatal error when I forget to select a category.

Mike Cochrane mike@graftonhall.co.nz
Fri, 20 Sep 2002 15:51:19 +1200


I've commited your changes which seem to fix most things. 

Thanks

- Mike :-)

> ----- Message from alb@chrisalbertson.com ---------
>     Date: Tue, 17 Sep 2002 16:04:25 -0500
>     From: Chris Albertson <alb@chrisalbertson.com>
> Reply-To: Chris Albertson <alb@chrisalbertson.com>
>  Subject: Re: [trean] Categories show up as numeric and a fatal error when I
forget to select a category.
>       To: trean@lists.horde.org
> 
> Hey there Ed,
> That category number problem was bothering me as well. There were two spots I
> felt needed to be fixed, so I just kinda took it upon myself to fix em.
> They were:
> 1) The main browse screen
> 2) The add screens drop-down selector for the category.
> 
> When I fixed those, I caused a few other errors that I went through and fixed
> as well. I believe my changes are fairly stable. You can put them in an try
> them if you like. They files are attached to this email.
> Note: I'm not a developer on this project. If one of the developers wants to
> take a look at my changes and incorporate them or whatever, please feel free.
> I'm just doing my part to help out this cool add-on for Horde.
> 
> If I get the desire, I'll try to fix the edit link... unless someone else has
> started on that...
> 
> 
> Attached:
> bookmarks.inc - Made it display the name, instead of the address of the cat.
> add.php - Fixed the param sent to browse.php
> Trean.php - Fixed the catSelect function to get the cat name.
> edit.php - Fixed the param sent to browse.php
> changes.txt - detailed changes I made.
> 
> Cheers!
> 
> --
> Chris Albertson
> alb@chrisalbertson.com
> 
> Never be afraid to try something new.
> Remember that amateurs built the ark. Professionals built the Titanic.
> 
> 4783147098
> 
> 
> Quoting Edwin Culp <eculp@encontacto.net>:
> 
> > I am just trying trean for the first time in several weeks and have a
> > couple of observations/questions?
> >
> > When selecting a category for my bookmarks I see a numeric value rather
> > than the name that I gave the category.  What must I do to enable the
> > name?
> >
> > If I mistakenly try to add a bookmark to "My Bookmarks" I get the following
> > error:
> >
> > Fatal error: Call to undefined function: getname() in
> > /usr/local/www/data/horde/trean/add.php on line 27
> >
> > Have I configured something wrong?
> >
> > Thanks,
> >
> > ed
> > --
> > --
> > Trean mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: trean-unsubscribe@lists.horde.org
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> ----- End message from alb@chrisalbertson.com -----