Adam Vessey
63d505a1f1
Use the relevant constant.
13 years ago
Adam Vessey
5db38dde91
Use drupal set headers to allow proper page caching, but disable caching...
...
Noticed at first that it wasn't working, and then it made the DB huge...
Anyway.
13 years ago
Adam Vessey
c1b3890357
Fix syntax error.
13 years ago
Adam Vessey
429b70c518
ISLANDORA-485 AHAH causes file upload
...
Little patch to allow use of upload_element instead of the normal
"file" element
13 years ago
Adam Vessey
d2474b9112
Set the title.
13 years ago
Randy Fischer
4bdc234721
path requests for Fedora_Repository lowercased - Postgres does case-sensitive matching
13 years ago
Adam Vessey
582d735f07
Minor cleanup.
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
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
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
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
948bba9827
Generate the download form.
...
... As opposed to spitting out markup for it directly.
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
fe7628559f
Use wrapping modify_datastream wrapper in replace datastream callback.
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
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
3696cab9ea
Generate the download form.
...
... As opposed to spitting out markup for it directly.
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
5aefe46f85
Use wrapping modify_datastream wrapper in replace datastream callback.
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
e4cad8c448
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
0e5bab5706
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
jonathangreen
9bbf9e8423
ISLANDORA-527: Fixed the SOAP URL.
13 years ago
Adam Vessey
0983d5c059
Undo some minor changes...
13 years ago
William Panting
a691d23b83
acted on comments from jonathangreen
13 years ago
William Panting
8e3e02634c
object details tab is now diableable
13 years ago
Adam Vessey
378e060d2f
Allow breadcrumbs to be overridden by CModels
13 years ago
Adam Vessey
1c48ace390
Use hook mechanism and improve version acquisition
13 years ago
jonathangreen
17a91d971c
ISLANDORA-479 Error replacing X Datastream
...
When you tried to replace a datastream that was anything but managed,
you would get a SOAP error. Changed this behavior so that you can
replace a managed datastream, an inline xml datastream, and it gives
a reasonable warning if you try to replace a reference or redirect
datastream.
13 years ago
Ben Woodhead
7101d28d7d
Fixed OBJECTHELPER couldn't be found outside of islandora bug
13 years ago
Adam Vessey
972e97d498
Comment out debug lines.
13 years ago
Adam Vessey
417b1ab050
Handle redirect streams better, and various minor changes.
13 years ago
Ben Woodhead
fec776de32
Added a force reinstall and fixed a move to trash bug
13 years ago
Adam Vessey
5cb3023204
Get rid of useless instantiations
13 years ago
Ben Woodhead
b60921adf4
Switched queries from dc:title to fedora label
13 years ago