Re: title and description in gallery-overview
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
On 16.6.2005 12:19 Uhr, Matthias Dieke wrote: > Hi, > > Christian Stocker wrote: > >> >> On 16.6.2005 11:56 Uhr, Matthias Dieke wrote: >> >>> Hi, >>> >>> >>> I like to use the title and the description of an image in the >>> "overview-mode". >>> >>> Therefor I have to uncomment someting in the gallery.php-file. >>> >>> What do you thinking about two additional paramters for gallery-plugin. >>> >>> <parameter name="titleInOverview" value="true|false" /> >>> <parameter name="descriptionInOverview" value="true|false" /> >>> >>> >>> So the user hasn't to uncomment the stuff and has the full control via >>> .configxml. >>> >>> For the image Title I would add a attribute "title" to the image-tag. >> >> >> >> >> sure. no problem. Just make it default to false. > > > That goes without saying ;) > > > For the image-mode the description is also a attribute. For the page > mode thats still a textNode. Should I change this to a attribute for > consistent usage in page- and image-mode? I choose that, because a description can theoretically contain also tags (links for example) and for that putting it as child of the image-element is more appropriate. Furthermore, a description could be long and I don't like long attribute-values ;) To sum up, I would leave it as textNode ;) chregu > > Matthias > > >> >> >> chregu >> >> -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms