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?
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.
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.
gallery_set_description_element_code = set_description
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.