WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: igr on October 20, 2015, 05:37:44 PM

Title: Droplets no show, no work
Post by: igr on October 20, 2015, 05:37:44 PM

Hello, I'm new, I have a problem with the display of droplets, once entered in the editor, these remain as they were on the page.In practice they do not work.
I have made several upgrades and added new droplets, perhaps there are some bugs?
I have the latest version of FCKeditor and even the latest version of WYNWIG ..
To be more precise:

Code: [Select]
wysiwyg 2.9.0
massmail 3.4.3
faqmaker 1.21
members 0.8.3
bakery 1.73
postits 0.60a
miniform 0.7
code 2.8.3
sitemap 3.1.3
form 2.8.4
news 3.5.7
menu_link 2.8
wrapper 2.8.3
formx 2.4.8
topics 0.8.1
code2 2.2.5

show_menu2 4.9.6
capslider/snippet 0.1.3
cookieperm 0.1.1
require 0.2.5
SecureFormSwitcher 0.6.6
captcha_control 1.2.0
droplets 1.2.0
jsadmin 1.4.0
user_search 0.33
userstat 0.30
capslider 0.1.2
backup 2.8.0.6
userextend 2.1
addon_monitor 0.5.2
wbSeoTool 0.5.0
wbstats 0.1.9
fckeditor 2.9.6
ckeditor 4.4.3

Besides, there are droplets unnecessary that I could uninstall and suggestions?
Title: Re: Droplets no show, no work
Post by: dbs on October 20, 2015, 08:37:02 PM
Hi, can you show us the head of your index.php in your used template?
Is there this line?
Code: [Select]
register_frontend_modfiles('js');
Title: Re: Droplets no show, no work
Post by: igr on October 20, 2015, 10:17:44 PM
Yes in this mode

Code: [Select]
<?php
if( function_exists('simplepagehead') ) {
simplepagehead(); 
} else { 
?>

<title><?php page_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />
<meta name="description" content="<?php page_description(); ?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />

  <?php  
  
}
  
// automatically include optional module files (frontend.css, frontend.js) if required
  // include the template CSS files below to prevent that CSS definitions are overwritten by modules
  
if(function_exists('register_frontend_modfiles')) {
    
register_frontend_modfiles('css');
register_frontend_modfiles('jquery');
    
register_frontend_modfiles('js');
}
  
?>
Title: Re: Droplets no show, no work
Post by: Gast on October 20, 2015, 11:12:55 PM
Hi, can you show us the head of your index.php in your used template?
Is there this line?
Code: [Select]
register_frontend_modfiles('js');

this line is not longer needed for the droplets, but i'm not sure, in which version it started

and also this line
Code: [Select]
if(function_exists('register_frontend_modfiles')) {}
it's enough to have the this lines (if needed)
Code: [Select]
<?php  
 register_frontend_modfiles
('css');
 
register_frontend_modfiles('jquery');
 
register_frontend_modfiles('js');
?>


@igr: 
whats your wb-version?
upgrade the droplet module also? and if YES, startet the manuell upgrade after upload the droplet module files? (Addons -> Modules -> Advanced -> manuell Upgrade: select Droplet Module

some of the standard droplets are changed in WB 2.8.3 SP4, so check the code from your existed droplet in backend -> admin Tools -> Droplets with the code from the files in modules -> droplets -> example

if the droplet function doesnt work, you have a output in the frontend, for example the (not longer needed) Droplet [[EmailFilter]] somewhere in the template.index.php makes a output with exact these chars [[EmailFilter]]

if you have problems like that, make please a manuell upgrade from the module output_filter

But....  simplepagehead is not a droplet, its a snippet - a little part of code for some extra functions

if you have more problem, please activate the PHP-Error-Messages in Options -> Advanced Options
Title: Re: Droplets no show, no work
Post by: igr on October 21, 2015, 02:32:03 AM
I have upgrade all droplets and only two or three of those have modified the database, but not "Droplets" or "wysiwyg" etc.

The Droplets not work, I make a output with exact these chars of Droplets!

My version of WB is 2.8.3 SP4

I have select the PHP Error "E_ALL^E_NOTICE" and in the AdminTool/Droplets I have this allert: "tablesorter not loaded!"

Thank you again.
Title: Re: Droplets no show, no work
Post by: dbs on October 21, 2015, 08:21:43 AM
Quote
and in the AdminTool/Droplets I have this allert: "tablesorter not loaded!"
Seems you use not the original Droplets-version. This message cames from Biankas "WebBird" droplet version (1.73).
I think you have to deinstall module droplets and upload the SP4 version per FTP and install manually.
Or reinstall WebBirds version.

Save your database, maybe some own created droplets get lost.

Title: Re: Droplets no show, no work
Post by: Gast on October 21, 2015, 11:39:59 AM
Quote
This message cames from Biankas "WebBird" droplet version (1.73).
I think you have to deinstall module droplets and upload the SP4 version per FTP and install manually.

i'm sure, you have actually a mix from the wb-version and bianka's version.
for a first help rename the file "backend_body.js" in the droplet-folder, then go to AdminTools -> Droplets and make a backup from your Droplets as a zip-file.
save this droplet-backup in another folder outside from the folder modules/droplets
Now deinstall the module droplet with Addons-> Modules -> Advanced -> uninstall -> select: droplet
be sure, that you have now no droplet-folder inside of the module folder

now you take your favorite droplet module and install it as a new module. both variants works in wb 2.8.3 SP4

if you need the wb-original, use it from the WB 2.8.3 full package. Unzip this Zip-File, go to the folder module/droplets, so that you see the files with the info.php from the droplet module, build a zip from all this files and folders and use this to install the "new" module
Title: Re: Droplets no show, no work
Post by: igr on October 21, 2015, 04:56:04 PM
The Droplets had functioned untill I installed or upgraded other module!

This is which you speak http://forum.WebsiteBaker.org/index.php/topic,20431.0.html ?

Where I download exactly version?
I not understand this row "now you take your favorite droplet module and install it as a new module. both variants works in wb 2.8.3 SP4"

I download the modules in http://www.websitebakers.com/ or http://WebsiteBaker.org/ , which is correct?

I make reinstall ALL modules with the ZIP file in  AdminTools -> Droplets -> Advanced -> Install


Thanks for all
Title: Re: Droplets no show, no work
Post by: Gast on October 21, 2015, 06:11:07 PM
Quote
I not understand this row "now you take your favorite droplet module and install it as a new module. both variants works in wb 2.8.3 SP4"

we have two modules with the same name and same function -> Droplets

one of them is a part of the wb-core / part of the wb2.8.3 - Package (see Downloads (http://wiki.WebsiteBaker.org/doku.php/downloads))
the other one is a "private" version with a little more functionality (see here (http://www.websitebakers.com/pages/droplets/module-wb-2.8.2.php))

on the first view in AdminTools -> Droplet you see some of the differents (icon to modify, controlbox to activate droplets etc), theses advanced functions are not avaiable in the wb-standard-droplet module

if you upgrade your wb-software, you overwrite some of the files in module/droplet-folder and now you have a mix between advanced droplet module with files from the standard module and because of that you have the error-message with the table-sorter. with this function you can change the displayed order of the droplets via drag&drop, but only in the advanced droplet module.

the file tool.php from the advanced module included the js-file and the backend_body.js use this function, but not in the standard module

both module variants are "correct", both variants works, thats way i write: choose you favorite version. if you like the version from  here (http://www.websitebakers.com/pages/droplets/module-wb-2.8.2.php), its enough, if you overwrite the files from the server with the files from the zip.
if you go the way over deinstall/new install, see my first post

Title: Re: Droplets no show, no work
Post by: igr on October 21, 2015, 07:13:24 PM
With the AddonMonitor i report the modules width version and author; ..sorry but if I upgrade the Droplets the version is always 1.2:
Code: [Select]
Modules

wysiwyg 2.9.0 Ryan Djurovich
massmail 3.4.3 Johannes Holzer Uffe Christoffersen Rob Smith EDITED BY: Sander Lahaye Tiny_MCE integration by Karl Pierce
faqmaker 1.21 Nick Willey
members 0.8.3 Chio:www.websitbaker.at RuudE
bakery 1.73 Christoph Marti
postits 0.60a Christian Sommer (doc) Marcus Jann
miniform 0.7 Ruud
code 2.8.3 Ryan Djurovich
sitemap 3.1.3 Ryan Djurovich Frank Schoep Woudloper Ruebenwurzel Rob Smith Mouring Kolhoff Michael Milette Dietrich Roland Pehlke (last)
menu_link 2.8 Ryan Djurovich thorn
news 3.5.7 Ryan Djurovich Rob Smith Werner v.d.Decken
formx 2.4.8 Ryan Djurovich & Rudolph Lartey - additions John Maats - PCWacht - html added by Greg Bosen - File Attachement Stefano Ricci
form 2.8.4 Ryan Djurovich & Rudolph Lartey - additions John Maats - PCWacht
topics 0.8.1 Started by Chio Maisriml
www.WebsiteBaker.at
wrapper 2.8.3 Ryan Djurovich
code2 2.2.5 Ryan Djurovich minor changes by Chio Maisriml Search-Enhancement by thorn Mode-Select by Aldus FTAN Support and syntax highlighting by Martin Hecht (mrbaseman)


Snippet

require 0.2.5 Dietrich Roland Pehlke Ralf Hertsch
show_menu2 4.9.6 Brodie Thiesfield
ismobile 0.5 Ruud
anyitems 0.7 Jan (Seagull)
cookieperm 0.1.1 Ruud Eisinga (Ruud)

Admin-Tool
userstat 0.30 Christian Sommer (doc)
capslider 0.1.2 Ruud
jsadmin 1.4.0 Stepan Riha Swen Uth
user_search 0.33 Bernd Michna Daniel Fankhauser (badknight)
droplets 1.2.0 Ruud and pcwacht
backup 2.8.0.6 Ryan Djurovich John Hans>Null (QuickFix) Dietrich Roland Pehlke (aldus) File Backup (mjm4842) Ruud
userextend 2.1 Beat Jost Christian M. Stefan (Stefek)
captcha_control 1.2.0 Thomas Hornik (thorn)
SecureFormSwitcher 0.6.6 D. Wöllbrrink (Luisehahne) Florian Meerwinck (instantflorian) Michael Tentschert (testör)
addon_monitor 0.5.2 Christian M. Stefan (Stefek)
wbSeoTool 0.5.0 Christian M. Stefan
wbstats 0.1.9 Dev4me - Ruud Eisinga - www.dev4me.nl

WYSIWYG
fckeditor 2.9.6 Christian Sommer P. Widlund S. Braunewell M. Gallas Wouldlouper Aldus Luisehahne
ckeditor 4.4.3 Michael Tenschert Dietrich Roland Pehlke erpe Luisehahne.