Jonathan Green
bd573f71b1
Merge pull request #102 from ppound/ISLANDORA-596
...
fixes for tickets ISLANDORA-596 and ISLANDORA-597
13 years ago
Paul Pound
06907b7a86
fixes for tickets ISLANDORA-596 and ISLANDORA-597
13 years ago
Adam Vessey
536c6e58aa
Add missing include.
13 years ago
Adam Vessey
c1615e4875
Use Drupal functions in XSLT to generate URLs.
...
Also, use imagecache_external!
13 years ago
Adam Vessey
8bd4b29e38
Test and add configuration.
13 years ago
Adam Vessey
933d0bc598
Fix stream addition with language prefixes.
13 years ago
Adam Vessey
9a52580ed9
Comment refinement.
13 years ago
Adam Vessey
7749a2f39f
Introduce and use function to render an image.
...
This function tries to make use of imagecache(_external) if it is
avaiable; otherwise, falls back to using theme('image').
13 years ago
Adam Vessey
f674a99b0b
Use url() to build query.
13 years ago
Adam Vessey
830b597c4a
Add parameter to suppress error messages on get_datastream
13 years ago
Adam Vessey
1314b0992b
Merge branch '6.x-merged' of github.com:adam-vessey/islandora into 6.x
...
Conflicts:
CollectionClass.inc
ObjectHelper.inc
13 years ago
Adam Vessey
2d1e6409ca
Add usage of imagecache_external, if available.
13 years ago
Adam Vessey
1463c78a38
Improve code documentation.
13 years ago
Adam Vessey
828c6965f7
Use hook_islandora_tabs_alter() to ensure that fedora_object_details tab remains selected.
13 years ago
Adam Vessey
67bd855852
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
f51cdfe115
Use hook_islandora_tabs() to add ALL the tabs.
...
... Including those provided by islandora proper.
13 years ago
Adam Vessey
6d6342c269
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
c01495947a
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
ee4427910b
Extract Drupal collection view assembly into separate function.
...
Hurray for enabling code reuse!
13 years ago
Adam Vessey
0d6c34e10f
Avoid warning/error when file does not exist.
13 years ago
Adam Vessey
1068dbde0a
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
d44aca62d1
Format XSLT and pass parameters.
13 years ago
Adam Vessey
373c390a87
Try to use covertQDC.xsl before using the Drupal's table generating business.
13 years ago
Adam Vessey
948bba9827
Generate the download form.
...
... As opposed to spitting out markup for it directly.
13 years ago
Adam Vessey
c76891ff25
Use Sparql query for breadcrumbs.
13 years ago
Adam Vessey
b609a8fd5c
Make control group selection optional.
13 years ago
Adam Vessey
c3ccdec4b6
Allow the addition of Redirect and External datastreams.
13 years ago
Adam Vessey
842b8b5a31
Get the extension without exploding.
13 years ago
Adam Vessey
fe7628559f
Use wrapping modify_datastream wrapper in replace datastream callback.
13 years ago
Adam Vessey
2d9c55fc5d
Make a little closed to convertQDC.xsl
13 years ago
Adam Vessey
48c1551533
Fix Headers for FlowPlayer
...
FlowPlayer requires the "Content-Length" header to be returned in order to work properly,
but it wasn't getting returned in the header when a user was not logged in.
A slight change to the semantics, and opening up of the getDatastream API-M method via
XACML seems to work.
13 years ago
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