Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel
Re: enhanced keywords in bricolage
 

Index | Next | Previous | View Flat


dawn at dawnthots

Apr 20, 2011, 7:13 PM


Views: 1199
Permalink
Re: enhanced keywords in bricolage [In reply to]

Yes you said that today on IRC. Greg and I looked at keyword groups in the API and a solution didn't leap out at us.

http://www.bricolagecms.org/docs/devel/api/Bric/Util/Grp/Keyword.html
http://www.bricolagecms.org/docs/devel/api/Bric/Util/Grp.html

So would we make a parent group for the keyword group? Could you have groups of keywords that have groups of child keywords?

my $parent_id = $grp->get_parent_id;
$grp = $grp->set_parent_id($parent_id);

Or what is a member collection? It's a private method. Should we use that?

my $memb_coll = $get_memb_coll->($self)
Returns the collection of members for this group. The collection is a Bric::Util::Coll::Member object. See that class and its parent, Bric::Util::Coll, for interface details.


Or woud you uses classes of the keyword groups?

my $class_id = Bric::Util::Grp::Keyword->get_class_id;
Returns the Bric::Util::Class object ID representing this class.

I don't dig into the guts of Bricolage normally so I don't know what the first step would be.

Dawn



On 2011-04-20, at 7:09 PM, David E. Wheeler wrote:

> On Apr 20, 2011, at 12:57 PM, Dawn Buie wrote:
>
>> I could see a way to hack bricolage to do this for a client - but would it be of any interest to the group to have it added as a feature to bricolage?
>>
>> Also - does anyone see a better way to do this job?
>
> If it was a feature, I wouldn't use categories to do it, but keyword groups.
>
> Best,
>
> David
>

Subject User Time
enhanced keywords in bricolage dawn at dawnthots Apr 20, 2011, 12:57 PM
    Re: enhanced keywords in bricolage david at kineticode Apr 20, 2011, 4:09 PM
    Re: enhanced keywords in bricolage dawn at dawnthots Apr 20, 2011, 7:13 PM
        Re: enhanced keywords in bricolage david at kineticode Apr 20, 2011, 7:49 PM
    Re: enhanced keywords in bricolage dawn at dawnthots Apr 20, 2011, 7:55 PM
    Re: enhanced keywords in bricolage zdravko.balorda at siix Apr 20, 2011, 10:32 PM
        Re: enhanced keywords in bricolage dawn at dawnthots May 2, 2011, 12:21 PM
    Re: enhanced keywords in bricolage dawn at dawnthots May 2, 2011, 12:42 PM
        Re: enhanced keywords in bricolage david at kineticode May 4, 2011, 11:14 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.