Browse Source

made the islandora menu a menu normal item so it gets added to the navigation menu

pull/111/merge
Paul Pound 13 years ago
parent
commit
0c7463b669
  1. 4
      islandora.module
  2. 31
      islandora_basic_collection/css/islandora_basic_collection.theme.css
  3. 2
      islandora_basic_image/islandora_basic_image.module

4
islandora.module

@ -96,10 +96,10 @@ function islandora_menu() {
$items['islandora'] = array(
'title' => 'Islandora Repository',
'page callback' => 'islandora_view_default_object',
'type' => MENU_CALLBACK,
'type' => MENU_NORMAL_ITEM,
'access arguments' => array(FEDORA_VIEW),
);
$items['islandora/object/%'] = array(
'title' => 'Repository',
'page callback' => 'islandora_view_object',

31
islandora_basic_collection/css/islandora_basic_collection.theme.css

@ -8,30 +8,29 @@
/* islandora-basic-collection STYLES*/
.islandora-basic-collection {
width: 100%;
margin: 0 auto;
overflow: hidden;
margin: 2% auto;
overflow: hidden;
width: 96%;
}
dl.islandora-basic-collection-object
{
width: 20%;
min-width: 100px;
text-align: center;
float: left;
margin: 2% 2% 50px 2%;
float: left;
margin: 2% 2% 50px;
width: 20%;
height: 180px;
}
.islandora-basic-collection-object dt img {
max-width: 100%;
*width: 100%;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
max-width: 100%;
*width: 100%;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.islandora-basic-collection-object dd
{
margin: 0;
padding: 0;
}
margin: 0;
padding: 0;
}

2
islandora_basic_image/islandora_basic_image.module

@ -38,7 +38,7 @@ function islandora_basic_image_menu() {
'page arguments' => array('islandora_basic_image_admin'),
'file' => 'admin/islandora_basic_image.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
);
/* example menu paths
$items['islandora/object/%/manage/image'] = array(
'title' => 'Manage Image Types',

Loading…
Cancel
Save