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
Hallo Matthias, versuch mal vorher eine Gruppe anzulegen und dieser das PDF zuordnen.
Hello, 2. You can upload, but you can't display pdf file on page ?In case 2, I can send you the CKEditor plugin that I created, to display PDF file on page.
config.toolbar_WB_Full = [ { name: 'document', items : ['Source','-','Save','Print','-','DocProps','Preview','NewPage','-','Templates']}, { name: 'clipboard', items : ['Cut','Copy','-','Undo','Redo']}, { name: 'editing', items : ['Find','-','SelectAll','-','SpellChecker', 'Scayt']}, { name: 'colors', items : ['TextColor','BGColor']}, '/', { name: 'basicstyles', items : ['Bold','Italic','Underline','Strike','Subscript','Superscript','Shy','-','RemoveFormat']}, { name: 'paragraph', items : ['NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl']}, { name: 'forms', items : ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton','HiddenField']}, '/', { name: 'styles', items : ['Styles','Format','Font','FontSize' ]}, { name: 'links', items : ['Link','Unlink','Anchor','Wbdroplets','Wblink']}, { name: 'insert', items : ['Image','Table','HorizontalRule','Smiley','emoji','SpecialChar','PageBreak','Iframe']}, { name: 'media', items : ['wboembed']}, { name: 'tools', items : ['Maximize', 'ShowBlocks','Syntaxhighlight','CreatePlaceholder']}, { name: 'info', items : ['About']}, '/', { name: 'custom1', items : ['pdfOglas']} ];
if (!$bWbConfigSetting ) { $ckeditor->config['extraPlugins'] = 'codemirror' . ',filebrowser' . ',syntaxhighlight' . ',wblink' . ',wbdroplets' . ',wbabout' . ',wboembed' . ',wbrelation' // ADD PLUGIN . ',pdfoglas'
Quote from: dbs on February 09, 2022, 07:03:43 AMHallo Matthias, versuch mal vorher eine Gruppe anzulegen und dieser das PDF zuordnen.Das ist das Problem. Ich habe es gerade mal einen einer frischen Installation getestet. Erst wenn eine Gruppe angelegt ist und die Datei dieser zugeordnet ist, wird es im FE (FrontEnd) auch angezeigt.