WebsiteBaker Support (2.13.x) > Modules
WBLINK for modules
CodeALot:
It's an old problem, I have asked about this before, but the solution that used to work is not 'valid' anymore.
Problem: When linking using a WBLINK, the drop-down only shows pages. It will not show entries (detail-pages) of OneForAll-modules, for instance.
This used to be fixable by editing /ckeditor/ckeditor/plugins/wblink/pages.php but it seems that file has been completely rewritten.
Is there a new way to fix it?
-------------------
Es handelt sich um ein altes Problem, ich habe bereits zuvor danach gefragt, aber die Lösung, die früher funktioniert hat, ist nicht mehr „gültig”.
Problem: Bei der Verknüpfung mit einem WBLINK werden im Dropdown-Menü nur Seiten angezeigt. Einträge (Detailseiten) von OneForAll-Modulen werden beispielsweise nicht angezeigt.
Früher konnte dies durch Bearbeiten der Datei /ckeditor/ckeditor/plugins/wblink/pages.php behoben werden, aber diese Datei scheint komplett neu geschrieben worden zu sein.
Gibt es eine neue Möglichkeit, das Problem zu beheben?
Übersetzt mit DeepL.com (kostenlose Version) Don't shoot the messenger)
dbs:
I thought that was controlled in the WbLink.php file in the module folder.
But that didn't work for me at all.
sternchen8875:
We talk about something like this in the Ckeditor-Wblink-Plugin?
Before WB introduced the WbLink file, this was indeed done by adjusting the pages.php file, but that was probably 7 or 8 years ago, maybe even longer.
Since CKEditor is a third-party product, except for a very few custom plugins, you don't necessarily have any influence over what you get from it.
Today, this is done by the WbLink.php file, which is included with the News module, for example. I have similar files in 5 other modules that were created on behalf of clients. It has to be customized for each module. There's also a similar file for OFA, which was created years ago. I don't know if it still works today; I'm not an OFA user. I'm using the module somewhere, but without subpages, so I'd have to create a test environment first.
dbs:
As I have just discovered, WbLink.php works exactly as it should. It works.
Uwe has created a small zip file with the file and instructions. It only takes a few seconds.
CodeALot:
--- Quote from: dbs on September 18, 2025, 12:18:22 PM ---As I have just discovered, WbLink.php works exactly as it should. It works.
Uwe has created a small zip file with the file and instructions. It only takes a few seconds.
--- End quote ---
Diving into that right now. Thank you!
Navigation
[0] Message Index
[#] Next page
Go to full version