Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    CollectiveAccess
    @collectiveaccess
    @naeemmuhammad The PHP_Excel library we use to read the input file reads the entire file into memory. Not much we can do about it.
    If you need to "stream" data then convert the Excel file to tab or CSV and import that.
    yosarian6
    @yosarian6
    @collectiveaccess Hi, I have problem with the Providence 1.7 rc after upgrading from 1.63. Looks like it doesn't read the style-sheets or some other problem with the Providence default theme.
    Julia
    @juliaweist
    @yosarian6 you probably have a cached version of the old style sheet. Clear your browser cache/history and try again?
    yosarian6
    @yosarian6
    @juliaweist I cleared cache but it did not help
    Julia
    @juliaweist
    What is set under "User interface theme" within Preferences > General?
    What is set in app.conf under theme = , themes_directory = , themes_url = , and views_directory =?
    yosarian6
    @yosarian6

    @juliaweist It looks like all settings is by default, so under "User interface theme" is set "CollectiveAccess default theme" and in app.conf is set

    theme to use when user is not logged in (when they're logged in their preferred theme is used)

    theme = default
    themes_directory = <ca_base_dir>/themes
    themes_url = <ca_url_root>/themes
    views_directory = <themes_directory>/<theme>/views

    Julia
    @juliaweist
    What about the theme info in setup.php?
    yosarian6
    @yosarian6

    @juliaweist Also looks like all is set by default:

    Path to CollectiveAccess 'themes' directory containing visual presentation elements

    if (!defined("CA_THEMES_DIR")) {
    define("CA_THEMES_DIR", CA_BASE_DIR."/themes");
    }

    Now that we have CA_APP_DIR set we can load our request helpers - very basic functions we need to set up request handling

    require_once(CA_APP_DIR.'/helpers/requestHelpers.php');

    Name of theme to use for this request

    if (!defined("CA_THEME")) {
    define("CA_THEME", 'default');
    }

    Root-relative URL path to 'themes' directory

    if (!defined("CA_THEMES_URL")) {
    define("CA_THEMES_URL", CA_URL_ROOT."/themes");
    }

    Directory and URL paths to current theme

    if (!defined("CA_THEME_DIR")) {
    define("CA_THEME_DIR", CA_THEMES_DIR."/".CA_THEME);
    }
    if (!defined("CA_THEME_URL")) {
    define("CA_THEME_URL", CA_THEMES_URL."/".CA_THEME);
    }

    ericwm
    @eriwm
    @collectiveaccess
    Hi < Just wondering whether Prov 1.7 release has or will have a search-able PDF function like 1.6. I have the same external apps and paths as 1.6 but just get jpeg views?
    CollectiveAccess
    @collectiveaccess
    1.7 will not have in-viewer PDF search. A later revision of 1.7 will reintroduce that feature.
    ericwm
    @eriwm
    @collectiveaccess Thanks for the feedback.
    juan jullian
    @juanjullianf_twitter
    For those who can't install C/A because of database problem, i've used previous version (1.5) of setup.php (with the same DB settings), and moved to 1.7rc1 installation folder and worked perfectly.
    yosarian6
    @yosarian6
    @juliaweist Ok, I found that in the file pageHeader.php (in theme/default/views/pageHeader.php) was missed some lines of code which load css, so I added them from old (1.63) version of file and It works fine.
    ericwm
    @eriwm
    @collectiveaccess
    Hi, Regarding the in-viewer PDF Search I have noted from previous posts that in Preferences/ Media the "use browser document viewer with fall back etc' option does not appear to work and that the NYT Document Viewer is the only one likely to be detected. I have tried Firefox and Chromium and neither worked. Is this still a problem? If not have I got something wrong somewhere, if yes where in CA is the code that tries to detect the browsers viewer? I would like to play around with it even if it may only provide a solution to my specific installation - or am I chasing fairies!!!!!!!
    juan jullian
    @juanjullianf_twitter
    Hi, i installed C/A on my asustor NAS, and i finally managed to install al the required binaries (Ghostscript, ffmpeg, imagemagick, etc). the system says that is using Imagick PHP extension, but it can't import (or transcode) tif files. now i'm figuring out how to install Gmagick php extension (since the asustor's php installation doesn't include phpize) so after that i'll disable Imagick an libGD to test). Also, JPG import is horribly slow (taking 20mins per item, when the size of each is about 5MB, working on LAN).
    blob
    blob
    Julia
    @juliaweist
    @yosarian6 Glad it's resolved
    juan jullian
    @juanjullianf_twitter
    Solved the NAS problem building a server with an old computer, installed ubuntu server and C/A on it, and managed to mount the media folder and import folder from the NAS. Now the problem is to import a lot of items on the database. I've an excel file with the path/to/the/file and metadata content (in that way i've always imported to FileMaker), but it seems that C/A wont support this import method? could you help me?
    juan jullian
    @juanjullianf_twitter
    i read the data import wiki page, and i understood everything, but there's no instructions about the way to tell to the C/A importer where the file (photo .jpg file) is stored inside the import directory, so i can import all the metadata for a file but not the file itself
    the exact issue is: In the wiki appear a special sources named: filename and filepath, but: 1. Its impossible to put that special source in the mapping xlsx because it have to be in the same "source" column where i have to put the number of the Data xlsx where the path/to/file is
    sterlingjenson
    @sterlingjenson
    Perhaps the devs have a better answer, but you might need to import the media separetly.
    Mike Benowitz
    @mwbenowitz
    @juanjullianf_twitter If you are importing media for objects, you should be able to use the objectRepresentationSplitter (& specifically the mediaPrefix parameter: http://docs.collectiveaccess.org/wiki/Data_Importer#objectRepresentationSplitter) to import media from your directory. Depending on what you want to do @sterlingjenson might be right and it could be easier to do media as a secondary import
    mrdale1958
    @mrdale1958
    Can you map "list item code" to a field that actually appears in a list item definition screen? (and verify that a "list item" is actual a concept/facet/guide term/hierarchy name?)
    "map" being the plain English meaning not what one does when importing data
    ThunderTurtles
    @ThunderTurtles
    Hi @mrdale1958 I'm not sure I follow the question exactly but the list item code is present in the UI editor screen. It is equivalent to ca_list_items.idno. All list items are by definition of a "type" (it's not a list item if it's not either a concept/facet/guide term etc.) You can verify which type a certain list item is by viewing the list item record's inspector (the info box in the top left of the record). It will say if it's a concept or something else.
    mrdale1958
    @mrdale1958
    Hmmm that just introduced more concepts that I'm not able to map into my understanding of the CA interfaces. I'm not sure what you mean by "UI editor screen" If it is a screen accessed through Manage->Administration->User Interface, what would it be called? Or are you referring to the item editor available through Lists and Vocabularies for the concept in the list? If so then there is no field labeled "List item code" there nor any using the word "code". As far as viewing the records in ca_list_items I have no clue how to do that short of using SQL while your reference to a "record's inspector" would seem to indicate you have another interface in mind. Sorry to be so thick.
    murchmurch
    @murchmurch
    Hi! I have a question regarding displaying dates in pawtucket2. My objects have 2 dates a create date and a transcribed date associated to them. How do I display only the first date? When i use the {{{<ifdef code="ca_objects.date.dates_value"><H6>Date:</H6>^ca_objects.date.dates_value<br/></ifdef>}}} i get both the dates separated by a ; and if I instead use the {{{<ifdef code="ca_objects.date.dc_dates_types"><H6>Date:</H6>^ca_objects.date.dc_dates_types<br/></ifdef>}}} i get the two types separated by a ;. Is there some way to get the first tag of the date and then the first date element for each object?
    Aleksegal
    @Aleksegal
    Hello,
    My site's data importer has stopped working - it just gets stuck at 0%. I was hoping someone might know why!
    ThunderTurtles
    @ThunderTurtles
    Hi @mrdale1958 I was referring to the editor for any particular list item, accessed via Manage - Lists & Vocabularies. The list item code is equal to the "Identifier."
    Julia
    @juliaweist
    @Aleksegal response over on the support forum
    Kehan Harman
    @kehh
    Is it possible to browse entities by related entities (or any table by relationships to that table)?
    @murchmurch try something like
    <unit relativeTo="ca_objects.date">
        <if rule="^dc_dates_types =~ /created/">^ca_objects.date.dates_value</if>
    </unit>
    This filters the values in the container and only prints them out if the date type matches created.
    Kehan Harman
    @kehh
    I've added a feature request to providence for self browsing: http://clangers.collectiveaccess.org/jira/browse/PROV-2101
    murchmurch
    @murchmurch
    @kehh Thanx! It works, but i still have an extra ";" character appear (think its the divider between the two dates) How do i remove it from the display?
    Kehan Harman
    @kehh
    @murchmurch add delimiter=" " inside the <unit/> element
    murchmurch
    @murchmurch
    @kehh Thanx! It works now as expected!!!
    Hi all, In pawtucket2 is the only supported map interface GoogleMaps?
    TBthegr81
    @TBthegr81
    Can non-admin users use the service API?
    Anything I try that is not in group: Admin and Role: Admin can't do anything that needs permissions in the API
    Kehan Harman
    @kehh
    @TBthegr81 There is a permission in the roles actions screen, so I'd suggest you create a role for 'Web Service Users' that has the action 'Use JSON * service' along with the action things you want that role to do (eg 'Edit occurrence', 'Search occurrences').
    sathishlmt
    @sathishlmt

    I installed providence CollectiveAccess 1.7 .After i goto login page and login with above login credential. But its show the following error

       Not Found

    The requested URL /system/Auth/DoLogin was not found on this server.

    I TRIED LOT OF TIMES . BUT SHOW SAME ABOVE ERROR.

    Please help me .

    Kehan Harman
    @kehh
    @sathishlmt have you got the apache rewite module enabled? You can enable it using sudo a2enmod rewrite on debian/ubuntu systems.
    sathishlmt
    @sathishlmt
    i got . anyway tnks fa yur replay ... solution is define("CA_USE_CLEAN_URLS", 0);
    TBthegr81
    @TBthegr81
    If ya wanna use CA_USE_CLEAN_URLS ya need to set "AllowOverride All" in the <Directory> settings in your Apache-site config. (Or set it via .htaccess) And also enable rewrite module.
    Keskora
    @Hyperchema
    Hello! I've just got providence and pawtucket both installed but it seems that they were installed without the Dublin Core profile. I've seen that the best option to get that enabled is to simply reinstall providence. I was wondering if there was any trick to doing this? Will I need to reinstall pawtucket too?