Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    bowbot
    @bowbot_twitter
    @pinkfishies So are you saying the the GRPM example I shared is a solution from ShareThis?
    bowbot
    @bowbot_twitter
    Anyone else out there integrating social sharing with their Pawtucket instance?
    Sophie
    @pinkfishies
    Hi @bowbot_twitter Yes I believe GRPM is using embed code from ShareThis
    Usually when we implement social media with Pawtucket2 it's with a third party service so the organization can track shares/social media involvement
    Biblioteca é muito +
    @bib_mais_twitter
    Hello, does anyone know if is it possible to apply Boolean operators in the advanced search form ? I tried to apply "NOT operator" on a search item, but I have no result. Only when I use in the quick search area.
    I also need to search two terms at the same search field, something like to use ( ) parenthesis to combine terms to be searched together. Two different terms from the same controlled vocabulary list. Any tips? (Providence Application version 1.7.3)
    Sophie
    @pinkfishies
    hi @bib_mais_twitter you can create an advanced search form with multiple fields separated by by a boolean dropdown
    For example to conduct AND/OR/NOT searches on object type you would use the {{{ca_objects.type_id:boolean}}} markup
    Biblioteca é muito +
    @bib_mais_twitter
    @pinkfishies nice! thank you very much :)
    jessica-s
    @jessica-s

    Hi, I am trying to find out the best way to track individual parts that make up an object.

    For example, Object X (is made up of 100 photographs. One of these 100 photos has been framed and stored in a different location from the rest of the photographs. It was suggested we use the ‘Location in Hierarchy’ element to track the singular photo, giving it a new idno (e.g. idno:1234K, the parent being idno:1234).

    My questions are:
    • Is the Location in Hierarchy element the best way to track object parts? I am concerned that if we record all the 100 photos individually using the Location in Hierarchy, it would mean we have an additional 100 works listed in the collection).
    • If we do use the Location in Hierarchy element, can I create a User Interface for that element that only contains the fields we need for tracking? For example location / movement tracking; dimensions, title, idno. And how to assign that user interface only to the child records under the parent one?

    I have looked at the wiki re: multipart id numbering and Configuring a Numbering System for Hierarchical Records but still unclear on the above.

    naeemmuhammad
    @naeemmuhammad
    Hi, Is it possible to use redis cluster for backend cache for Providence (1.7.5)? We are already using redis for one of our Providence installation but want to use it in cluster setting. We are using 'phpredis' php extension that supports redis cluster.
    Karl Krägelin
    @karkraeg
    Hi @collectiveaccess I was wondering if you could help me with my question :point_up: November 28, 2018 8:38 AM – I need to get a specific metadata element for further processing in PHP… Thanks!
    bowbot
    @bowbot_twitter
    @collectiveaccess We are going to go ahead and get this developed. We want to give it back to the codebase, what is the best way for you wall to recieve it?
    Biblioteca é muito +
    @bib_mais_twitter
    Hello, someone would know if in the library circulation module would be possible to replace the name users (ca_users) by entities (ca_entities)? Instead of controlling 'check out' and 'check in' using users of the system we would like to use a list of entities (type researcher). Someone have tried something like that?
    Sophie
    @pinkfishies
    @karbecker You can use the option relativeTo to jump between relationships
    $t_object->getWithTemplate('<unit relativeTo="ca_occurences.related"><unit relativeTo="ca_objects">^ca_objects.preferred_labels</unit></unit>'); for example
    Sophie
    @pinkfishies
    @jessica-s The only way to track this without creating additional records would be to track them through a field on the parent record, which is clumsy as it makes information on the sub-objects not searchable and not very robust. Though this could just be a repeating field that includes the object number and a field for location
    It is better to do this by creating hierarchies, and you can make a simplified UI for your child elements. Under My Preferences > Editing, you will see the options of UIs available for your record types
    You can always suppress child records from appearing in your searches in Providence and Pawtucket if you're concerned about clutter
    TBthegr81
    @TBthegr81
    I used letsencrypt and enabled HTTPS on both Providence and Pawtucket, it all works except that Pawtucket insists on using http:// for all the image-urls, I tried define("CA_SITE_PROTOCOL","https"); in setup.php, cleared cache via caUtils and I can't find anything else when googling.
    Is there some configfile or something to declare usage of HTTPS?
    CollectiveAccess
    @collectiveaccess
    @TBthegr81 Check your global.conf file. You might have "http" hardcoded in there for the site_protocol setting?
    In current global.conf files it should be set to CA_SITE_PROTOCOL
    Karl Krägelin
    @karkraeg
    @pinkfishies Thanks! I wasn’t aware that you could use whole display templates!
    jessica-s
    @jessica-s
    Thanks @pinkfishies
    • I used the element 'Location in hierarchy' to make the child record – it must be an intrinsic field, as I cannot access through the metadata elements list, only when I’m adding it to a UI – would you suggest I create a new hierarchy from objects and not use ‘location in hierarchy’?
    • I created a new object UI with only a couple of fields but not sure make it appear only when viewing the child records – how would I do this?
    • How do I suppress child records from appearing in my searches in Providence? And how would you then suggest we then track how many items we have in our collection (the current figures appear in statistics and also in the Object Counts widget)
    Sophie
    @pinkfishies
    @jessica-s The Location in hierarchy bundle just displays the hierarchical organization of the record you are viewing. If you use the "create child" icon in the upper left, the new child record will still appear in Location in hierarchy
    If you want to use a distinct UI, you'll need to make your child records a different object type than the parent. Then, under preferences, you can assign the UIs to each type
    in app.conf you can use the option to hide child results: ca_objects_children_display_mode_in_results = hide
    this functionality doesn't carry over to the widget
    jessica-s
    @jessica-s
    Thanks @pinkfishies I'll give that all a shot. Appreciate your help.
    TBthegr81
    @TBthegr81
    @collectiveaccess I searched the whole providence folder after "site_protocol" and defined it "https" everywhere I could and then it worked, I could change some of them back to using the variable
    Pat Reynolds HP
    @Heritage_People_twitter
    Hi @collectiveaccess I'm looking for a cms for a project I'm working on (remotely) to catalogue the collections of Tristan da Cunha. Main challenge is this UK Overseas Territory in the South Atlantic doesn't have a good internet connection (emails with small attachments are ok, but downloading or uploading good quality images, etc. is not possible. We are looking for a system that can run on a pc, and be regularly downloaded to a hard drive and shipped to Cape Town and then flown to the UK ... where it would be uploaded to a website for public access and shared with the British Library for long term preservation. Does this sound possible? Thanks, Pat.
    CollectiveAccess
    @collectiveaccess
    @TBthegr81 that's odd. Maybe the old value was cached? But you said you cleared caches.
    @Heritage_People_twitter You could run CA on a local server on the island, and then just ship a copy back periodically
    It's doable, but you'd need someone with an idea of how to administer it
    Ari
    @artturimatias

    Hi, I'm trying to show types of relationships in display but I just don't get it.
    I have "Entities related entities" in display list and there I have this:
    ^ca_entities.related.preferred_labels.displayname :

    ^relationship_type_name
    ^relationship_type_id
    ^relationship_type_code

    This shows "Sam Sam : 91 root_for_189"
    So, person's name is what it should be but relationship type not.
    What am I doing wrong?

    animoveronica
    @animoveronica_twitter
    Hi all. Am looking for an insiders perspective and advice from someone with a similar experience. I work in a small public museum. None of the installation profiles are quite what we need. We have a collection of art work (paintins, sculptures, works on paper). Investigation and catalogue information. We need to be able to keep track of location and restoration. We have no budget and I am doing everything by myself. I am looking at tweaking an existing profile to create a database which has the information of the work as a first page, restauration and location in second page, and extra info like investigation or education resources as an extra. Not too difficult for computer illiterate users to get around. I wonder if it recommended, considering our current scenario, is it better to teach myself how to do a .xml profile (I have some basic knowledge of things like HTML etc), or to tweak from inside one of the existing installation profiles (despite the fact that they are quite different to what we need).
    naeemmuhammad
    @naeemmuhammad
    Hi, we are experiencing a problem with geocode type fields. In the past we could search via a lookup field at the top of the map but now this lookup stopped working. We get the following error:
    Geocoding Service: You must use an API key to authenticate each request to Google Maps Platform APIs
    Probably we need to buy google map api key (there is no free key available). Any idea how it was working in the previous providence versions without buying any api key and not working in version 1.7.6?
    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