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 13:19 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 ;) > > > Ok, thats a good reason. We should think about also useing a text node > for description on image-mode (or a own node like "imageDescription"). > For the moment I will commit the "mixed" version (textNode for page-mode > and attribute for image-mode) Ah, I got it now, we use 2 different approaches? Didn't know that, yes, that should be changed some day :) chregu > > Matthias > >> >> chregu >> >> >> >>> Matthias >>> >>> >>> >>>> >>>> chregu >>>> >>>> -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms