In Trunk addressbook.index (1.7.001) has NOT photo css class, havnt
checked with 1.6.002, but I doubt we removed it.
Tom Hassold schrieb:
Hello Ralf ,
Thank you for the suggestions
I’m still having trouble. Here is what I did:
Open addressbook.index in eTemplate ( version 1.5.002)
double click on text photo
In Span,Class there was already ,photo
in grid column attributes there was a 60
in disabled there was a @no_photo
in app.css there already were lines
.photo img {
width: 60px;
cursor: hand;
}
Per your suggestion, I added
.photo img
{
width: 60px;
}
to the css style sheet
The photo is still displayed large.
Either you did something wrong, or your browser does NOT honor the css
class. Nothing I can do about that.
Anyway I added that feature to trunk:
http://www.egroupware.org/viewvc/egroupware?view=rev&revision=27527
At the bottom of eTemplate editor when I first
opened addressbook.index I got the warning
nextmatch_widget::pre_process(nm): ‘’ is no valid method !!!
could that have something to do with it?
Nop, the callback get’s supplied via addressbook code, it’s quite normal
it’s empty in the editor.
Ralf
Thank you for your help, Tom
From: Ralf Becker <rb@stylite.de>
Subject: Re: [eGroupWare-developers] addressbook, resizing photo
cosmetic problem
To: "development of eGroupWare, for active developers"
<egroupware-developers@lists.sourceforge.net>
Date: Tuesday, July 21, 2009, 5:31 AM
Hi Tom,
edit the eTemplate "addressbook.index" and give the photo a css class,
eg. "photo" (need to prefix it with a comma, as it's a comma speparated
filed together with span). Then define the CSS class eg. in the
eTemplate itself or in addressbook/templates/default/app.css:
.photo img {
width: 60px;
}
Ralf
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World™ will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Gudrun Müller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers