Opened 19 years ago

Closed 15 years ago

#1172 closed enhancement (wontfix)

add html header and footer tags for layer and class blocks in legend templates

Reported by: schut@… Owned by: dmorissette
Priority: high Milestone: 6.0 release
Component: MapServer CGI Version: unspecified
Severity: minor Keywords:
Cc: eidsnessl@…

Description (last modified by dmorissette)

In addition to the general legend html header and footer tags [leg_header_html] and [leg_footer_html] I would like to see the same kind of tags for the separete legend components, especially for layer and class but then why not also for group too. So we would get [leg_group_header_html], [leg_layer_header_html], [leg_class_header_html], their closing equivalents, and the corresponding footer tags. Code that is between these [header] header tags will be placed before the parsed group/layer/class block, code in the footer tags after the corresponding block, just like code within the generic [leg_header_hmtl] and [leg_footer_html] tags is placed before and after the entire parsed legend block. To illustrate one situation where this would come in handy: if you want to place all layers of a group in one <div id=layerblock> </div> block to have it rendered using css id's/classes.

Change History (8)

comment:1 by dmorissette, 19 years ago

Cc: mapserver-bugs@… added

comment:2 by godwinl@…, 19 years ago

Cc: godwinl@… added

comment:3 by sdlime, 16 years ago

Description: modified (diff)
Milestone: 5.4 release
Owner: changed from sdlime to mapserver-bugs@…

comment:4 by dmorissette, 15 years ago

Milestone: 5.6 release6.0 release
Owner: changed from mapserver-bugs@… to dmorissette

Peter, Liz, do you still see a need for this?

comment:5 by eeidsness, 15 years ago

Cc: godwinll@… added; godwinl@… removed

I can't speak for Peter, but from where I sit - no I've not missed this.

In the 5 years since this was posted, a lot of changes have happened to the HTML templating. I'm not sure what was originally there anymore.

comment:6 by eeidsness, 15 years ago

I did mean Legend Templating (though the HTML ones have changed a lot too)

comment:7 by eeidsness, 15 years ago

Cc: eidsnessl@… added; godwinll@… removed

comment:8 by dmorissette, 15 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

Closing WONTFIX. Let's reopen if the need for this resurfaces.

Note: See TracTickets for help on using tickets.