[wp-trac] Re: [WordPress Trac] #7607: Image gallery to have multiple
galleries inside one post
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 17 14:12:44 GMT 2008
#7607: Image gallery to have multiple galleries inside one post
--------------------------------------------+-------------------------------
Reporter: ShaneF | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.6.1
Severity: normal | Resolution:
Keywords: gallery has-patch dev-feedback |
--------------------------------------------+-------------------------------
Comment (by Otto42):
The "groups" column seems unnecessary to me. Why does the parent post of
these attachments need to know how many groups there are? What happens
when you have it say "2" but there's actually an attachment with a
group_number of "3"?
My suggestion would be to simply add a "post_group" column to posts. Make
it a bigint(10). Attachment posts can get grouped together by virtue of
all having the same value in that post_group column. The parent post of
them can leave it blank.
Additionally, with this plan, the group column is more generic. It can be
used for other things as well, if you want to group any set of posts
together in some fashion in the future. Much like the term_group column.
--
Ticket URL: <http://trac.wordpress.org/ticket/7607#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list