WebsiteBaker Support (2.12.x) > Modules

CKEditor WBLink does not detect modules

<< < (2/6) > >>

crnogorac081:
So either to modify plugin to eork with ofa (easier way) or to create another button in ckeditor for ofa. Either way you must create droplet that create reverse link from [ofa-id] to real link..

CodeALot:

--- Quote from: crnogorac081 on February 04, 2020, 06:36:40 PM ---So either to modify plugin to eork with ofa (easier way) or to create another button in ckeditor for ofa. Either way you must create droplet that create reverse link from [ofa-id] to real link..

--- End quote ---
True. Can you give me the code for your droplet? I know it's not exactly for my situation, but it may serve as a good starting point :)

crnogorac081:
Hello,

here is solution for OFA.

rename .txt to .php and place to OFA folder


Can someone link this to original topic, https://forum.WebsiteBaker.org/index.php/topic,27895.275.html  because its locked.

Also it would be good to include in original OFA module page from WB addon repository

CodeALot:
Very nice, thank you!
Still work in progress though, I'm afraid.
 
In CKEditor I now get the dropdown-list with all the OneForAll items, so that is great.
In the source code, I can see how the item is 'called', for instance:


--- Code: ---<a href="[wblink23?addon=oneforall&amp;item=27]">OFA item</a>
--- End code ---

However, when it's saved, and I check the live page (frontend) and the link is turned into


--- Code: ---<a href="#">OFA item</a>
--- End code ---

I must add: I use ShortURL. Maybe that's causing problems?

dbs:
Hi, the dialog is now like it should. But the generated link works not for me.
Looks like

--- Code: ---<a href="[wblink58?addon=oneforall&amp;item=9]">
--- End code ---
In frontend i see as link the same page with a # at the end.
mydomain.de/de/current-page#  (yes, with shorturl)

Is there something to do except rename/upload the one file?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version