Closed (fixed)
Project:
BUEditor
Version:
6.x-1.2
Component:
User interface
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2009 at 23:00 UTC
Updated:
12 Jun 2009 at 20:20 UTC
I'm trying to figure out how to make a certain button and can't for the life of me figure out how to do it.
Essentially what I want to do is have the ability for users to select a file and have the link to the file placed in a list with some predefined text around it. I'm using IMCE to allow users to select uploaded files but can't figure out where to put the code to place all my additional code. I have attached a screen show of what I would like the final version to look like.
Any help is appreciated, and apologies in advance if this is the wrong place to request assistance. Thank!
Bob
| Comment | File | Size | Author |
|---|---|---|---|
| List File Example.jpg | 125.51 KB | Bob Moyce |
Comments
Comment #1
ufku commentedThis example uses IMCE to get a file information. Also demanding an extra input from the user, it creates the html string where it uses all these variables.
Note the php tags are for only coloring purposes.
Comment #2
Bob Moyce commentedThanks for the input but I'm having trouble with the IMCE part. When a user clicks the button, I get an "Object not found!" error even though I have IMCE installed. I have had success using this piece of code to pull up IMCE for other buttons:
What is the easiest way to merge the two so that the same style pop-up window can be used?
Thanks.
Bob
Comment #3
ufku commentedchange the line that opens imce window to:
window.open(Drupal.settings.basePath +'index.php?q=imce&app=BUEditor|sendto@myImceHandler', '', 'width=760,height=560,resizable=1');
Comment #4
Bob Moyce commentedGreat thanks! This helps a lot.
Bob
Comment #5
ufku commented