Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 85 of 807  Not logged in ELOG logo
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Thu Feb 23 08:44:25 2006 
Hello Mr. Ritt,

I've changed the category to "Request" because I think it would be practical
if I can hide the attributes which are build on values of other attributes with
"Change".

Regards
Holger Mundhahs

> > because I've got a very quick response on my 1st question regarding
> > "Change attributes" here is anonther one:
> 
> Don't stress it too much ;-)
> 
> > I've defined 2 attributes with "Change attribute" / "List Change attribute" (see configuration).
> > Because this values are build on other attributes I want to hide these attributes in 
> > NEW / EDIT mode. How is this possible?
> 
> Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP
> 
> hides the attributes in the New/edit mode, but unfortunately also in the detailed view.
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Thu Feb 23 09:19:27 2006 
> I've changed the category to "Request" because I think it would be practical
> if I can hide the attributes which are build on values of other attributes with
> "Change".

Have you tried

Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP

???

Does it bother you if then the attributes are also hidden in the detailed view?
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Thu Feb 23 09:45:54 2006 
No, I havn't tried it, because it's the only way where I can see ALL attributes, and
I belief, that it works to hide the attributes on all views.

Here an Example:

I have 5 attributes where I can enter values, and 5 addtitional attributes build on them.
I can't see all of them in list view, so the only way to see/use them is the detailed view.
But because there is no value to insert/change these attributes should be hidden in NEW/EDIT mode.
As an workaround I LOCK/FIX these attributes so I can't insert values, but there are now many empty lines.
So if you can implement this functionality it would be great, but if not it's not so bad, 
I can "live" with it ;)

Regards
Holger

> > I've changed the category to "Request" because I think it would be practical
> > if I can hide the attributes which are build on values of other attributes with
> > "Change".
> 
> Have you tried
> 
> Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP
> 
> ???
> 
> Does it bother you if then the attributes are also hidden in the detailed view?
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Wed Mar 1 10:30:51 2006 
I implemented a "Hide attributes = ..." option, with which you can do what you requested, but unfortunately I'm
sitting here in Siberia and have only limited internet access, so I can only submit the modification next weekend.

- Stefan
icon4.gif   Attachments in duplicated entries, posted by Bertram Metz on Thu Dec 8 10:32:37 2005 
Hi,

the duplicate command duplicates the entry text itself, but it does not duplicate attachments.
If attachments in a duplicated entry are deleted, the original attachment files are deleted as well and cannot be accessed anymore within the original entry.

My suggestion is to copy the attached files too and to use file names of the copies in the duplicated entry.

Kind regards,
Bertram
    icon2.gif   Re: Attachments in duplicated entries, posted by Stefan Ritt on Wed Dec 21 20:54:11 2005 

Bertram Metz wrote:
The duplicate command duplicates the entry text itself, but it does not duplicate attachments. If attachments in a duplicated entry are deleted, the original attachment files are deleted as well and cannot be accessed anymore within the original entry.

My suggestion is to copy the attached files too and to use file names of the copies in the duplicated entry.


I chaned it such that attachments are removed from the duplicated entry, which was easier to implement. I hope this is ok as well. The change is in SVN revision 1584.
    icon14.gif   Re: Attachments in duplicated entries, posted by Bertram Metz on Tue Jan 24 14:39:21 2006 

Stefan Ritt wrote:

Bertram Metz wrote:
The duplicate command duplicates the entry text itself, but it does not duplicate attachments. If attachments in a duplicated entry are deleted, the original attachment files are deleted as well and cannot be accessed anymore within the original entry.

My suggestion is to copy the attached files too and to use file names of the copies in the duplicated entry.


I chaned it such that attachments are removed from the duplicated entry, which was easier to implement. I hope this is ok as well. The change is in SVN revision 1584.


Yes, that's ok for me.
Thank you very much Stefan.

Best Regards,
Bertram
icon1.gif   hide attributes when view the logbook, posted by Juliana Peng on Wed Jul 20 19:49:21 2005 
Hi Stefan,

Thanks for the great work. We have been using elog for a year as inventory management.

Now we have a long list of attributes in our logbook, some of those we want to keep in database for record, but we don't want to see them because they are not used very often. I tried the "Show Attributes". my conf is like this:

Attributes = Name, SysAdmin, OS, Manufacturer, Model, Serial Number, Description, Main Function, Location, Memory, CPU Speed, Num CPU, Owner, Contact Name, Contact Phone, Contact Email, Bought From, Bought Date, Maintenance, Network Drop, Console Drop
.
.
.
Options OS = SunOs{1}, Linux{2}, Aix
{1} Show Attributes = Name, SysAdmin, OS, Manufacturer, Model, Serial Number, Description


but it seems only effective when adding the new entry. All the attributes will show in logbook. Is there a way to hide some of the attributes? It would be good to let each user to choose what to see what not to see, create their own view. Can you put it on your to-do list or wishlist?

Thanks
ELOG V3.1.5-3fb85fa6