Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Q to hackers: Upload.php as a popup window?  (Read 2441 times)

0 Members and 1 Guest are viewing this topic.

stilgar

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Stilglog
Q to hackers: Upload.php as a popup window?
« on: August 11, 2005, 07:21:08 am »

This question is for a Coppermine integration plugin I'm working on, but this question can be generalized to any CMS integration project.

I want to be able to upload pictures from within the editor screen in WordPress, and I don't want to leave the editor while doing that. The obvious solution is a popup window. After the pictures are uploaded, I want the bar above the editor to show the most recent pictures in the Gallery (with some AJAX, if you must hear the buzzwords  ;) )

Look at the picture, you will see what I mean.


Now, my problem is that by default, upload.php is themed. So I created a new minimal theme for the upload window, and for this screenshot I set it manually (?theme=nada).

So, is there a way to run upload.php without theming, and without having to reset the theme with ?theme=xxx ? A requirement is to keep Coppermine intact (no hackyhacky with the core... ) Or maybe you know another way to achieve this ?

My apologies if I should have posted this elsewhere, I didn't really know where to ask...

bvd,
stilgar
« Last Edit: August 30, 2005, 07:17:19 am by GauGau »
Logged

stilgar

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • Stilglog
Re: Q to hackers: Upload.php as a popup window?
« Reply #1 on: August 29, 2005, 07:18:04 pm »

Nevermind, I created a new php file adapted from upload.php . I would have prefered a way to just theme upload.php to do that since it would be easier to upgrade, but it works.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.