Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    CollectiveAccess
    @collectiveaccess
    It has used an API key for a while now
    but Google used to let you have 2000+ free requests before they started complaining
    Now they don't
    naeemmuhammad
    @naeemmuhammad
    i assume the lookup field will work as it was used to be if we buy an api ke?
    CollectiveAccess
    @collectiveaccess
    yes
    TBthegr81
    @TBthegr81

    Ok now I am confused again.
    I migrated an old CA 1.4 DB to a new 1.7 gitted installation. I copied some settings by comparing new and old configfiles, and upgraded the DB via caUtils.
    Now Im checking that everything works by creating a new object but the Object identifier field is disabled.
    I can't edit the identifier on new or old objects

    I went thru the settings-files I had been in (app.conf global.conf and multipart_id_numbering.conf) but couldn't see anything.
    I checked the interface editor and the "read only" checkbox wasn't checked on the identifier attribute.

    Thiago de Mello Bueno
    @thiagodemellobueno

    Hello!
    I have a question re: pawtucket 2 v1.7.6

    I'm customizing the frontend for the San Francisco Art institute, we're trying to create a more "traditional" (read javascriptless) gallery index.
    So I'm modifying views/Gallery/index_html.php
    However the set information inside that template
    $va_sets = $this->getVar("sets");
    Doesn't include the field that is labeled "Introduction" in the backend.
    a set only has the following info:

    array:18 [▼
      "set_id" => "61"
      "set_code" => "A set name"
      "status" => "0"
      "access" => "1"
      "user_id" => "2"
      "table_num" => "57"
      "type_id" => "14"
      "label_id" => "61"
      "name" => "A set name"
      "locale_id" => "1"
      "language" => "en"
      "country" => "US"
      "fname" => "Gruff"
      "lname" => "McGruff"
      "email" => "gruff@mcgruff.gov"
      "item_count" => 27
      "set_content_type" => "objects"
      "set_type" => "Public presentation"
    ]

    In set_info_html.php (what the original index pulls in via ajax for the set data) I see $this->getVar("description")

    How do i get that into the index?
    Alternately im happy to build some kind of query to get that field info using the set id, but have had a hard time finding how via the docs.

    Any help would be super appreciated!
    Thiago de Mello Bueno
    @thiagodemellobueno
    Further info :
    in gallery.conf I see this: gallery_set_description_element_code = set_description
    This support response makes me think it's possible that fixing it will help me
    https://collectiveaccess.org/support/index.php?p=/discussion/299450/cant-get-public-set-gallery-descpription-displayed-in-pawtucket2
    But I'm still unsure.
    Thiago de Mello Bueno
    @thiagodemellobueno
    I suppose a broader question is "it seems sets are very different beasts from other entities" how do I request aaaaaaalll the info for a set, assuming I have a set_id.
    Sophie
    @pinkfishies
    @animoveronica_twitter It is probably easier to edit an existing profile. Look at pittartgallery for example. You can also add new fields through the UI if you don't want to write XML
    CollectiveAccess
    @collectiveaccess
    @TBthegr81 Check the multipart_id_numbering.conf file?
    @thiagodemellobueno Take a look at the lightbox code
    That works on full sets
    Sophie
    @pinkfishies
    @thiagodemellobueno You can load the set_id into a new set object and then just the get() function to display any metadata you want
    From a display standpoint it is very similar to how we display other page metadata
    Thiago de Mello Bueno
    @thiagodemellobueno
    Thank you @pinkfishies
    I will try this out.
    Thiago de Mello Bueno
    @thiagodemellobueno

    Thanks @pinkfishies, you helped untangle me.
    One additional question.

    If I wanted to change the 'representation_tag' in the gallery sidebar:

    $va_first_items_from_set = $this->getVar("first_items_from_sets");
    ...
    $va_first_item = array_shift($va_first_items_from_set[$vn_set_id]);
    ...
    <?php print $va_first_item["representation_tag"];?>

    to something other than icon to say medium where would I do that?
    Couldn't find much on my own by working backwards from the gallery view.

    Thiago de Mello Bueno
    @thiagodemellobueno
    I'm now modifying the gallery controller, which has those hard-wired.
    Is there a way to override this more elegantly?
    Biblioteca é muito +
    @bib_mais_twitter
    Hi :) I have a question [Providence1.7.3]:
    I would like to search (or make searchable) the permanent ID defined by the system, for example: "object_id / 178970" from URL
    http://mysite.com/index.php/editor/objects/ObjectEditor/Edit/object_id/178970
    Is it necessary to make this information a field (metadata element) or would I be able to insert this data automatically into the created record?
    Is it possible? Any tip?
    CollectiveAccess
    @collectiveaccess
    @thiagodemellobueno No there isn't at the moment. The gallery is fairly inflexible. We are working on changing this.
    @bib_mais_twitter You will need to add the field to search_indexing.conf and reindex
    Biblioteca é muito +
    @bib_mais_twitter
    @collectiveaccess Thanks a lot !
    animoveronica
    @animoveronica_twitter
    @collectiveaccess Thank you! I will have a look at pittartgallery profle and attempt making changes via UI.
    animoveronica
    @animoveronica_twitter
    @collectiveaccess Do you know if the Pitt museum profile is available for common use? I cannot find it within the CA site, or forums. Or by searching online. But it looks perfect for us!
    CollectiveAccess
    @collectiveaccess
    @animoveronica_twitter I'll try to find a copy for you
    Here you go
    animoveronica
    @animoveronica_twitter
    @collectiveaccess oh wow! thank you so much. :D
    CollectiveAccess
    @collectiveaccess
    Let me know if you have questions. I know that profile well.
    animoveronica
    @animoveronica_twitter
    OK, will do.
    naeemmuhammad
    @naeemmuhammad
    @collectiveaccess regarding my previous question about google map api key, is it possible to make this lookup field work with another free api? If yes, which api and how to use it?
    CollectiveAccess
    @collectiveaccess
    @naeemmuhammad Maybe, but it's not something we're planning to pursue in the near future
    bowbot
    @bowbot_twitter
    Does anyone have an efficent way to edit access for records and media so that I can set them all to 'accessible by public’. I am considering a data map to append each record based idno with public access setting. The same would for the media representations.
    CollectiveAccess
    @collectiveaccess
    @bowbot_twitter Try using the batch editor
    bzotivla
    @bzotivla
    Hi all! I need to delete "Summary" and "Log" from the side menu. I was able to delete the content of summary and log, but i cant delete the words. Thanks in advance!
    ca2.jpg
    bowbot
    @bowbot_twitter
    @collectiveaccess I have several thousand records all with media. Is there a less maual approach?
    CollectiveAccess
    @collectiveaccess
    @bzotivla You can edit the navigation.conf file (in app/conf/) to remove those if you wish
    @bowbot_twitter Batch processing is too manual for you?
    You can always just write a sql query I guess
    UPDATE ca_objects SET access = 1;
    UPDATE ca_object_representations SET access = 1;
    bowbot
    @bowbot_twitter
    @collectiveaccess OK OK—I misthought your response as using the spreadsheet edit option like in search results and not the true batch edit option like in sets. Thank you !
    darkkn1te
    @darkkn1te
    Is the wiki down? I've been trying to get installation guides for collective access for a while, but it never shows up
    CollectiveAccess
    @collectiveaccess
    darkkn1te
    @darkkn1te
    Hmm... thanks. I think I need to flush my DNS cache
    bzotivla
    @bzotivla
    @collectiveaccess Thank you!!
    Wendy
    @WlWilson_gitlab
    I'm looking for a programmer in San Diego for CollectiveAccess