Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    mrjayviper
    @mrjayviper
    me again.... Is it possible to customize the summary screen? When viewing an object, there's a summary section at the bottom. But when I looked at the UI for object, there's nothing there. thanks
    Kehan Harman
    @kehh
    @jessica-s you can also change the access level for the individual user interfaces by allocating group / role based access to each user interface, and specifying 'Read' access rather than 'Edit' access. This means that all the fields in those UI's become readonly.
    @mrjayviper The summary screen is a 'Display'. At the top right there should be a drop down of available displays for that particular record type. To edit these you need to visit Manage > My displays or a new <display/> element in your installation profile.
    Kehan Harman
    @kehh
    Any idea if it's possible to rename Other forenames(from the other_fornames field in ca_entity_labels) to Initials (ie a string override)? I thought I saw something like that in one of the config files, but can't find it now.
    ?
    Stefan
    @stefankeidel
    @kehh No, those are hardcoded. The only way to override is by using the gettext translation files. You can put a "user" file here: __CA_APP_DIR__.'/locale/user/[en_US|en_AU]/messages.mo
    ericwm
    @eriwm
    Good Day, Have you changed anything in 1.7 for media representation upload. External apps all seem to be in place and permissions set but clicking on upload results in no activity or messages?
    Stefan
    @stefankeidel
    What "upload" button are you talking about? Uploading media works okay for me in develop
    ericwm
    @eriwm
    The little orange button next to the browse box. e.g browse for file you get the file name selected but no upload.
    Stefan
    @stefankeidel
    Sorry, I'm not following. Can you provide a screenshot?
    ericwm
    @eriwm
    Ok /home/eric/Pictures/Screenshot from 2016-05-02 15:29:06.png
    Stefan
    @stefankeidel
    Can't do much with a local file path on your computer unfortunately :-)
    ericwm
    @eriwm
    Sorry my mistake - I think this is a similar problem to the one where I did not have a collectiveaccess/workspace directory. It seems as though I also need to create an /image directory as well. I will try this and get back to you.
    ericwm
    @eriwm
    Ok There was no images folder in media/collectiveaccess/. I created one and set permissions but trying to upload now gives an error saying permission for /tilepics are not correct so I will add this folder and see what happens (uploading a jpeg)
    Ok adding /tilepics has solved the problem .
    Stefan
    @stefankeidel
    Hmm, the installer should have created all of those subdirectories when you set up the system
    ericwm
    @eriwm
    Maybe I got something wrong on this side, like using old setup.php or conf files. If it's ok by you just leave it until you release 1.7 meanwhile if I have any further similar problems I'll do a complete clean reinstall.
    Kehan Harman
    @kehh
    @eriwm The directories that should exist in that directory are listed in app/conf/media_volumes.conf, and these should all get created by the installer. If you moved your media directory then possibly these did not move with it?
    @stefankeidel I was afraid you'd say that ;)
    ericwm
    @eriwm
    Hello, This is just an observation. I have just deleted my providence-develop directory and unzipped a new version. Edited a new setup.php and logged in from my browser. Got the usual error messages re permissions etc.. Looked in the media directory and the only files there were - readme and htaccess files. I created /collectiveaccess and then workspace, images and tilepics, set permissions and everything worked ok. Am i doing something wrong that prevents these folders being written to the media directory?
    CollectiveAccess
    @collectiveaccess
    The installer should create them on installation.
    Oops, I'm repeating everyone else :-)
    The odd thing is that the installer should refuse to install if it can't write to the media directory. Is the media directory mounted in some semi-odd way?
    ericwm
    @eriwm
    Such as?
    CollectiveAccess
    @collectiveaccess
    NFS?
    Is it just a plain old directory? If so, what are the permissions?
    ericwm
    @eriwm
    not that I am aware of I am using Ubuntu server
    CollectiveAccess
    @collectiveaccess
    Which version?
    ericwm
    @eriwm
    permissions are 777 vers 14.04.1
    CollectiveAccess
    @collectiveaccess
    ok, then that's just odd. When you install those media subdirectories (images, workspace, tilepics, etc.) are consistently never created?
    ericwm
    @eriwm
    no - maybe I should try setting the permission on the media directory immediately after I unzip 1.7
    CollectiveAccess
    @collectiveaccess
    As long as you do it before you install it should work
    you're running develop code? Or the 1.6.1 release?
    ericwm
    @eriwm
    Ok I will give it a try. I did another unzip and set the media directory permission to root before logging in from browser. Same result no subdirectories in media.
    yes using develop code
    Stefan
    @stefankeidel
    You are running the installer after you unzip, right? Or are you just plugging in an existing database? The installer can't create anything if you don't run it, obviously
    ericwm
    @eriwm
    That's probably where I have gone wrong - will dump everything again and start from scratch.
    CollectiveAccess
    @collectiveaccess
    ah...
    good call Stefan. Didn't think of that one :-)
    ericwm
    @eriwm
    Hi all, Don't want to waste too much more of your time but can I use a saved profile from my 1.6.1 install in a 1.7 new install if so where do I put the file ? .I have tried putting it profiles/xml as collectiveaccess.xml but cannot access it from the install menu.
    Stefan
    @stefankeidel
    That's the right location ... the name of the profile in the dropdown might be different though. It's taken from the <profileName/> element in the XML file
    To be clear, you're talking about <ca_root>/install/profiles/xml/, yes?
    Oh, and to answer the question: Yes, you should be able to use a profile export. Might have to tweak a few lines because we got rid of a couple of bundle but it should mostly work
    ericwm
    @eriwm
    Thank you I will try it.
    ericwm
    @eriwm
    Tried it and got this error - There were errors parsing the profile(s): Profile validation failed. Your profile doesn't conform to the required XML schema.
    Stefan
    @stefankeidel
    Well there probably is a very small (and fixable) schema error in the exported profile. Try running it through a XML validator like xmllint yourself to find out where it is
    Usually it's idnos/codes that are being cut off by the profile exporter causing violations of some of the uniqueness contraints we impose on profiles (e.g. a placement code has to be unique within a screen)
    ericwm
    @eriwm
    xmllint did the trick after running this on my xml file and then copying into the xml folder my file appeared in the drop down list and installation completed with only one error namely invalid type for ui code bundle_mapping_editor_ui
    Stefan
    @stefankeidel
    That's an editor for the very old and never finished importer. You can just delete that entire <userInterface> block
    ericwm
    @eriwm
    Ok 1.7 up and running with all correct media directories. My mistake from the beginning with the install not running. Thank you all for your time and patience. Eric