WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<a href="[wblink30?addon=oneforall&item=1]">Linktext</a>
You need to create separate droplet for this. For example [ofa-30] i have this for custom addon..
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..
<a href="[wblink23?addon=oneforall&item=27]">OFA item</a>
<a href="#">OFA item</a>
<a href="[wblink58?addon=oneforall&item=9]">
I will take a look, hovewer i never used OFA module before
// set link on failure ('#' means, still stay on current page) $sRetval = '#';
This # comes from WbLinkAbstract.php line 119Code: [Select]// set link on failure ('#' means, still stay on current page) $sRetval = '#';Seems the following sql query has no result.
SELECT `link` FROM `wb_mod_news_posts` WHERE `post_id`=1
/posts/breaking-news-1-1
SELECT `link` FROM `wb_mod_oneforall_items` WHERE `item_id`=1
/first-item
hello,In OFA module file , WBReorg.php line 50 const ACCESSFILES_SUBDIR = '';change to const ACCESSFILES_SUBDIR = '/ofa'; or whatever ofa item folder is in /Pagessomeone test
if you have for example OFA item id = 1, what is his real path from /pages direcotry ?? root/pages/ofa/item-link-1.php ?
if ($this->oDb->TablePrefix.$this::TABLE_NAME == 'wb_mod_oneforall_items') { $extrapath="oneforall/"; }$sLink = $extrapath.$sLink;
/** sub directory for accessfiles * @description This is needed to correct db::x_mod_table::link entries of former versions<br /> * let it empty without a hardcoded subdirectory name like our news addon with a * hardcodet subdirectory. The root directory always will be the pages_directory. * with trailing slash if not empty */ const ACCESSFILES_SUBDIR = '';/** root directory for accessfiles */ protected $sAccessFilesRoot = '';
const ACCESSFILES_SUBDIR = 'de/listen/oneforall';