by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    peterjanssens
    @peterjanssens
    I got a "invalid controller path" navigating a tilepic because there is a test on DefaultController.php in the RequestDispatcher (https://github.com/collectiveaccess/providence/blob/master/app/lib/Controller/RequestDispatcher.php) but it looks like there is no DefaultController in the repository ??
    peterjanssens
    @peterjanssens
    @collectiveaccess sorry I missed this :point_up: March 30, 2020 3:43 PM I managed to do this with hookBeforeBundleUpdate for all existing records by doing a bulk action on status (set value for each item: status=status). I did it in two runs (finished, in progress) because the complete set was relatively large.
    AJ
    @docudoc_gitlab
    @peterjanssens Thanks, that's the one I used and could not get to work. It's from 2014 though, so ...
    peterjanssens
    @peterjanssens
    @docudoc_gitlab I can send you my conf if you like, it worked in a docker fpm setup this year :)
    CollectiveAccess
    @collectiveaccess
    @docudoc_gitlab You should be able to set up nginx with PHP as usual and it will work.
    The code in the develop branch on github has some newish nginx-specific functionality to support "clean" urls (Eg. without "index.php" in every URL).
    Here's a working nginx config
    Obviously, change the hostname and paths to suit
    This runs fine under nginx 1.14
    I haven't tried it with anything since 1.14 (which was released last winter I think), but I doubt there'll be any problems with later versions. This is all pretty standard stuff.
    Se7en
    @Se7en-IT
    hi everyone
    i have a problem with textarea field
    when i write inside field this:
    <iframe>Test</iframe>
    after save
    tag iframe disappear
    where is the problem?
    thanks
    CollectiveAccess
    @collectiveaccess
    @Se7en-IT Text is filtered for tags that might be dangerous. Iframes are considered dangerous.
    Matías Butelman
    @mbutel_twitter
    Hello everyone. I'm trying to make an importer for list items. Is there an example available?
    phobia77
    @phobia77
    Hi everyone - Pawtucket2 public Register a new user (for Lightbox) fails - it simply goes back to the top of the Register form. Very frustrating, and can't seem to find the cause - anybody else seen this or have a fix? Prov 1.78, can be seen at https://archive.kaldorartprojects.org.au/. Thanks for any help! :-)
    Biblioteca é muito +
    @bib_mais_twitter
    hello everyone :) does anyone have a tip on how to create a display expression that shows parts of date or a different date format, for example, just year or month, month / year. I have used the expression "^ca_objects.unitdate.date_value" to display dates, but I would like to separate this value into parts.
    phobia77
    @phobia77
    Anyone getting <span>s around their search field autocomplete results? Any ideas how to fix?
    Matías Butelman
    @mbutel_twitter
    Hello. Any idea on how to import multiple values to a container? For example, multiple dates with different types.
    Or different measurement sets.
    8 replies
    0nobody0
    @0nobody0
    appreciate all the nginx tips in here - helped with a setup over the past week. posted the confs at https://collectiveaccess.org/support/index.php?p=/discussion/300468/issue-setting-pawtucket-as-root-for-site-in-nginx-conf-working-nginx-providence-confs-attached#latest if that is useful to anyone else
    poplar media
    @poplarmedia

    @kehh I am trying to configure for this but it is escaping me how to do so--can you share details on how you moved a child object to another parent?

    And another query - is it possible to move objects to a different hierarchy using the hierarchy location bundle?

    Lior Kesos
    @liorkesos
    Hey any freelancers floating around? I need to do some work on the rest API , it appears that it does not support media uploads and I'd be happy to sponsor the feature...
    CollectiveAccess
    @collectiveaccess
    Put an explanation of what you need on JIRA (https://collectiveaccess.atlassian.net) and we'll see about adding what you require.
    @mbutel_twitter You can't have repeating values in a container. Only the container can repeat, not the values within it.
    @poplarmedia Yes you can move objects to a different hierarchy by searching for the external hierarchy, selecting it and then clicking on the location in that hierarchy where you want to move it.
    @0nobody0 Thanks. We'll work to integrate this into the new manual
    Lior Kesos
    @liorkesos
    Basically I see there is allready an issue for it.
    Karl Krägelin
    @karkraeg
    How easy would it be to present Pawtucket2 in more than one language? i.e. have an option to switch from english Frontend to a german one (especially static pages, not Metadata)?
    poplar media
    @poplarmedia

    @collectiveaccess
    It only works if I change this setting to '0'
    ca_objects_enforce_strict_type_hierarchy = 1

    I have 3 object types each with 1 subtype. If I change the setting to zero, then any object can have any subtype and the object type hierarchy breaks but I can move a child record to its own parent record. Is there another configuration or approach I need to be applying?

    @poplarmedia Yes you can move objects to a different hierarchy by searching for the external hierarchy, selecting it and then clicking on the location in that hierarchy where you want to move it.

    CollectiveAccess
    @collectiveaccess
    @liorkesos I see. Thanks.
    We'll try to add that before the end of 2020
    CollectiveAccess
    @collectiveaccess
    @poplarmedia If ca_objects_enforce_strict_type_hierarchy is set to 1 you'll only be able to move objects under appropriate types.
    You can try ca_objects_enforce_strict_type_hierarchy = ~, which will be a bit less strict in that it will allow any child type to be placed under a parent, not just direct children
    @karkraeg You can maintain current user locale in Pawtucket2. Metadata, date formats, etc will respect this. For static pages you'd have to create separate pages for each language.
    @phobia77 This had been a problem in the past and is fixed in current develop branch code.
    Lior Kesos
    @liorkesos

    @liorkesos I see. Thanks.

    Any way to accelerate this or take part in thedevelopment?

    Biblioteca é muito +
    @bib_mais_twitter
    Hello everyone, I would like to create an expression to display a data but replacing a list value (Not assigned) by a number, for example 1, something like : <if rule = "^ ca_objects.unitdate.assigned_date = ~ / Not assigned /"> ??? =1 </if> Does anyone have a tip?
    Karl Krägelin
    @karkraeg
    @collectiveaccess Is there any tutorial or documentation for this? Also I’d like pages to be viewable in two languages without the viewer needing to be logged in (if this is what you refering to with "maintain current user locale")
    CollectiveAccess
    @collectiveaccess
    @karkraeg There is not
    Karl Krägelin
    @karkraeg
    ok, I’ll look into it; if I figure it out would you be interested in any documentation for https://manual.collectiveaccess.org/index.html?
    CollectiveAccess
    @collectiveaccess
    Yes
    thanks