WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • CKEditor WBLink does not detect modules
  • Print
Pages: 1 [2]   Go Down

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

Offline crnogorac081

  • Posts: 2163
  • 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..
Logged
Web developer

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • 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.
Logged
https://onkel-franky.de

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: CKEditor WBLink does not detect modules
« Reply #27 on: February 11, 2020, 09:48:06 AM »
Quote from: dbs 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.

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 :)
Logged

  • Print
Pages: 1 [2]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • CKEditor WBLink does not detect modules
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2