PHPackages                             kukrik/qcubed-filefinder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kukrik/qcubed-filefinder

ActiveQcubed-library

kukrik/qcubed-filefinder
========================

QCubed-4 plugin for FileFinder

04PHP

Since Jul 16Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/kukrik/qcubed-filefinder)[ Packagist](https://packagist.org/packages/kukrik/qcubed-filefinder)[ RSS](/packages/kukrik-qcubed-filefinder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

QCubed FileFinder Plugin
========================

[](#qcubed-filefinder-plugin)

FileFinder for QCubed-4
-----------------------

[](#filefinder-for-qcubed-4)

### Simple Examples: Options for Implementing Pop-Up Windows

[](#simple-examples-options-for-implementing-pop-up-windows)

At times, you may require a quick and effortless method to search for and retrieve data from another PHP page through a pop-up window, among other functionalities.

This straightforward Filefinder plugin serves this purpose aptly and can be utilized repeatedly. To achieve this, you'll need to add one or more buttons that can trigger a pop-up according to your requirements. Each pop-up can be tailored to accommodate various datasets or other content.

These plugins work starting from PHP version 8.3+.

Here's a simple example: Begin by specifying the data-popup button: 'some name tag'; at this stage, configuration is necessary:

```
    $button = new Bs\Button($this);
    $button-> etc...
    $button->setDataAttribute('popup', 'some name tag');

    $object = new Q\Plugin\FileFinder($this);
    $object->PopupUrl = "finder.php"; // Any php page
    $object->TargetPopupName = 'some name tag';

```

The default width and height of the popup window are set to 95%. It is possible to adjust the dimensions of the popup to be smaller. For this, you can use the following syntax:

```
    $object->PopupWidth = '...%';
    $object->PopupHeight = '...%';

```

Replace '...%' with the desired percentage value for width and height respectively.

[![Image of kukrik](screenshot/popups_screenhot.png?raw=true)](screenshot/popups_screenhot.png?raw=true)

In this example, we are using finder.php, which is based on FileHandler: .

Finder is placed in a popup window, where you can make some configurations as desired.

If you want to limit file selection by file type, you can change the default values of LockedDocuments and LockedImages to true on lines 168-169 in finder.php.

Additionally, you need to go to line 2659 to view and configure it. Please follow the instructions and recommendations provided there.

```
    // Here, the "files" table needs to be updated to indicate that the selected image(s) are now locked.
    // If this is not done, the file manager will not provide accurate information about whether
    // the files are free or not. This is to prevent accidentally deleting files that are in use by others.
    $objFiles = Files::loadById($arrSome["data-id"]);
    $objFiles->setLockedFile($objFiles->getLockedFile() + 1);
    //$objFiles->save();

    // First, you need to create your own table with your chosen name and define the necessary columns.
    // However, here you must definitely add a column named "file_id", where you will pull the "id" value
    // from the "files" table.
    //
    //This is necessary so that when you need to delete from your table, you can release the lock in
    // the "files" table based on the "file_id". This ensures that FileHandler reflects the correct
    // information to other users.

    // $objSome = new Some();
    // $objSome->setFileId($arrSome["data-id"]);
    // $objSome->.... etc;
    // $objSome->.... etc;

```

If you have not previously installed QCubed Bootstrap and twitter bootstrap, run the following actions on the command line of your main installation directory by Composer:

```
    composer require twbs/bootstrap v3.3.7

```

and

```
    composer require kukrik/qcubed-filefinder
    composer require qcubed-4/plugin-bootstrap

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance40

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fa54a368b30d867f78261c26bffe0198ff3bd0e13d14b82dcd0b6586bcd53b6?d=identicon)[kukrik](/maintainers/kukrik)

---

Top Contributors

[![kukrik](https://avatars.githubusercontent.com/u/2853034?v=4)](https://github.com/kukrik "kukrik (6 commits)")

### Embed Badge

![Health badge](/badges/kukrik-qcubed-filefinder/health.svg)

```
[![Health](https://phpackages.com/badges/kukrik-qcubed-filefinder/health.svg)](https://phpackages.com/packages/kukrik-qcubed-filefinder)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
