Adam Vessey
61204b9168
Fix datastream replacement errors.
13 years ago
Adam Vessey
c7e05f4c30
Improve code documentation.
13 years ago
Adam Vessey
73c55ca3ca
Use hook_islandora_tabs_alter() to ensure that fedora_object_details tab remains selected.
13 years ago
Adam Vessey
83cd4b871a
Introduce hook_islandora_tabs_alter().
...
Called just before return of drupal_render()'d markup. Passed the
tabset and associative array of the parameters with which
hook_islandora_tabs() was called; that is:
array(
'content_models' => {an array of ContentModel objects},
'pid' => {the PID of the object being rendered},
'page' => {the page of the object to be displayed},
)
13 years ago
Adam Vessey
ee2b6a9588
Use hook_islandora_tabs() to add ALL the tabs.
...
... Including those provided by islandora proper.
13 years ago
Adam Vessey
d2b0a11a7a
Truncate titles for regular display to 60 character +/- a word.
...
Should make the length an actual configurable value... Shouldn't be hard, though.
13 years ago
Adam Vessey
5714ef776f
Merge branch '6.x' of github.com:adam-vessey/islandora into 6.x
13 years ago
Adam Vessey
ee2477df91
Add the page parameter to the islandora_tabs hook call.
...
... Facilitates implementation of equivalent functionality, where
the object was instantiated with the PID, and then the page was
passed to the method declared in your ISLANDORACM stream.
13 years ago
Adam Vessey
5655a5170b
Extract Drupal collection view assembly into separate function.
...
Hurray for enabling code reuse!
13 years ago
Adam Vessey
6d57165be0
Avoid warning/error when file does not exist.
13 years ago
Adam Vessey
01c5a4736f
Fix error in CollectionClass.
...
Was able to instantiate without a PID, which would mean that the
'collectionObject' object helper would not get created... Blargh.
13 years ago
Adam Vessey
47d85f6a6f
Add comments and rename XSLT so it is not used by default...
...
The XSLT will still be used if it is present, though.
13 years ago
Adam Vessey
7645a7b438
Format XSLT and pass parameters.
13 years ago
Adam Vessey
1460b8e5ce
Fix error.
13 years ago
Adam Vessey
2ac5ad45c7
Try to use covertQDC.xsl before using the Drupal's table generating business.
13 years ago
Adam Vessey
27d6c763ff
Fix syntax error.
13 years ago
Adam Vessey
62e43518da
Merge branch '6.x' of github.com:adam-vessey/islandora into 6.x
...
Conflicts:
ObjectHelper.inc
13 years ago
Adam Vessey
08545aa194
Fix error message.
...
Was using wrong variable name.
13 years ago
Adam Vessey
278afdf4d8
Fix syntax error involving reference.
13 years ago
Adam Vessey
6006effbb3
Make a little closed to convertQDC.xsl
13 years ago
Adam Vessey
27fdb97f2d
Merge branch '6.x' of github.com:Islandora/islandora into 6.x
...
Conflicts:
ObjectHelper.inc - fix content size acquisition
13 years ago
Adam Vessey
3696cab9ea
Generate the download form.
...
... As opposed to spitting out markup for it directly.
13 years ago
Adam Vessey
5b3fe1ef76
Use Sparql query for breadcrumbs.
13 years ago
Adam Vessey
132248951d
Fix error when label contains an extension.
...
Error intro'd during datastream replace 'improvements'.
13 years ago
Adam Vessey
7bc755f231
Make control group selection optional.
13 years ago
Adam Vessey
8cfdc902ab
Fix issue with downloading versioned datastreams.
...
Had to do with migration to use of newer REST API; it takes the version
parameter differently, as a query parameter instead of a position in the
URL.
13 years ago
Adam Vessey
01ac63a3d9
Allow the addition of Redirect and External datastreams.
13 years ago
Adam Vessey
fa77552e57
Get the extension without exploding.
13 years ago
Jonathan Green
d230f27463
Merge pull request #100 from adam-vessey/6.x
...
Fix error intro'd during refactor.
13 years ago
Adam Vessey
5aefe46f85
Use wrapping modify_datastream wrapper in replace datastream callback.
13 years ago
Adam Vessey
364e908ff5
Fix error intro'd during refactor.
13 years ago
Jonathan Green
dd475a8c80
Merge pull request #99 from adam-vessey/6.x
...
6.x
13 years ago
Adam Vessey
3b64841ca7
Conform a little better with the Drupal code standards.
13 years ago
Adam Vessey
cfc6a4f6e7
Merge branch '6.x' of git://github.com/Islandora/islandora into 6.x
...
Conflicts:
CollectionClass.inc - chunk moved due to intro of XSLT-less collection view
ObjectHelper.inc - chunk extracted into separate function
fedora_repository.install - syntax error fixed...
13 years ago
Adam Vessey
8cebf38560
Undo making a couple functions static and fix merge error.
13 years ago
Adam Vessey
f7bd67d015
Use an item_list instead of a table, for the XSLT-less display.
...
Should add some default CSS.
13 years ago
Adam Vessey
b2c1d613f1
Remove include added in previous (reverted) commit.
13 years ago
Adam Vessey
3a559b7701
Undo bit of code which ended up producing warnings/errors...
...
... In calling deprecated code, but anyway.
13 years ago
Adam Vessey
ccb4ff5671
Remove PHP_VERSION shenanigans, as we don't look back before 5.2...
...
Needed at least 5.1 to be able to add XSLT parameters by array.
13 years ago
Adam Vessey
ccfc845464
Clean up and formatting
13 years ago
Adam Vessey
af364d04be
Fix syntax error.
13 years ago
Adam Vessey
eaff54436b
Get rid of more explicit markup output, in favour of Drupal methods.
13 years ago
Adam Vessey
4182bfac27
Add the ability to render a collection view without an XSLT.
13 years ago
Adam Vessey
a5e6054fbd
Extract the Sparql parser out, so it might be used elsewhere during transition.
13 years ago
Adam Vessey
548861b7bc
Avoid DSMing the DC... Derp.
13 years ago
Adam Vessey
7934e43880
Fix string which was bugging me.
13 years ago
Adam Vessey
f18ce11ba5
Overhaul FedoraObjectDetailedContent and Object helper.
...
FODC tab now uses theme functions to generate the DC content, datastream info,
and list of parents. Only thing not really being generated is the tiny
(but repeated) form for downloading. Also, make the convertQDC XSLT a little
simpler, even though it really won't need to be used anymore...
Refactored to use the new RI search methods as well.
13 years ago
Adam Vessey
5ae0e46053
Overhaul breadcrumbs and nuke fedora_repository_{name,title}
...
Addresses the title/name issues of ISLANDORA-562 (by getting rid of them).
Menu/root title is provided through the menu system.
13 years ago
Adam Vessey
8dde6736b7
Add comments/inline docs, and change the function names to be more the norm.
13 years ago
Adam Vessey
e7df7b358b
Use function returned by get_t()
...
Because of Drupal's workflow, we may not have access to the regular t()
function. Drupal provides get_t() function to address this issue, it
just has to be used (and it's return used).
Also, use the bloody url function instead of appending $base_url.
13 years ago