Author Topic: CKEditor WBLink does not detect modules  (Read 959 times)

Offline crnogorac081

  • Posts: 1945
  • Gender: Male
Re: CKEditor WBLink does not detect modules
« Reply #25 on: February 08, 2020, 09:51:32 PM »
So ine of theese two

const ACCESSFILES_SUBDIR   = '';
And
    protected $sAccessFilesRoot = '';


Could be array ( different url path for different pages)  then to chech if not empty - foreach  - chech if php file exists..
UI / UX Designer

Offline dbs

  • Betatester
  • **
  • Posts: 8367
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: CKEditor WBLink does not detect modules
« Reply #26 on: February 11, 2020, 09:19:34 AM »
No idea for dynamically pages dir.

But a question. Can it be, the wblink.php for a ofa with a directory name like "my_ofa" (module name: my ofa) will not work?
Seems the underscore (maybe also the hyphen in /pages/my-ofa) is a problem.

Offline CodeALot

  • Posts: 488
  • Gender: Male
Re: CKEditor WBLink does not detect modules
« Reply #27 on: February 11, 2020, 09:48:06 AM »
No idea for dynamically pages dir.

But a question. Can it be, the wblink.php for a ofa with a directory name like "my_ofa" (module name: my ofa) will not work?
Seems the underscore (maybe also the hyphen in /pages/my-ofa) is a problem.

Can't tell you if that would be a problem. I don't use any hyphens or underscores in module names anymore, just to avoid problems like that :)

 

postern-length