Closed (fixed)
Project:
IMCE
Version:
6.x-1.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2010 at 22:01 UTC
Updated:
4 Oct 2010 at 14:10 UTC
Hi,
so I noticed that when I go to www.mysite.com/imce, the file browser displays. However it doesn't show any of the menus or blocks that are enabled, just the file browser.
I was looking into the module code and I found this:
function imce_menu() {
$items = array();
$access = array('administer site configuration');
$items['imce'] = array(
'title' => 'File browser',
'page callback' => 'imce_page',
'access callback' => 'imce_access',
'file' => 'inc/page.inc',
'type' => MENU_CALLBACK,
);
I was wondering, does the imce filebrowser have an inbuilt menu link? More specifically, is there an inbuilt men link that will take you to the file browser on a page where the menus/blocks are there?
Comments
Comment #1
ufku commentedIMCE had problems when displayed inside a regular page. That's why it has its own page template.
You may try 2.x which embeds IMCE page in an iframe at user/X/imce
Comment #3
Daniel Norton commentedBack to the original request, which remains unanswered, is there a way to create a menu link to the browser page?
Comment #4
ufku commentedYou can include IMCE page in an iframe(pointing to /imce path) inside a regular page. Then you can create the menu link for this regular page.
Comment #5
Daniel Norton commentedThanks. Putting this in a page did it for me:
<iframe class="imce-frame" style="height: 600px; width: 99.9%;" src="/imce"></iframe>In case Drupal is not at the site root, you’ll need a bit of PHP:
Comment #6
Daniel Norton commentedSorry, I didn't intend to change the status before.