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
One of the reasons for this wishfullness from my side, is that I'm working on (maybe a bit ambiguous on my part) what is to be my first real page,which are to be in Norwegian, English, Dutch, Finnish, .....
I think you talk about the Readme-Files and the Previews, do you? .....But I'm willing to add those files for the "core module" if you can help me to do translations into NO. jQueryAdmin can look for them the same way it looks for language files. (Example: "readme_no.html available? Yes -> use it; No -> show english readme")
Ah. Hm. But these are "product names". How is "Windows" called in Norway?
(at this time some Plugins have the easing.js included should be removed to avoid double loadings or files in /plugins/ directory
[[jQueryInclude?plugin=<Name>]]
[[jQueryInclude?plugin=Cycle-all-2-8-6]]
<h1>Cycle Test</h1><div id="s1" class="pics"><img width="200" height="200" alt="" src="http://localhost/_projects/wb28/media/FG/Test/topic-pictures/1.jpg" /> <img width="200" height="200" alt="" src="http://localhost/_projects/wb28/media/FG/Test/topic-pictures/2.jpg" /> <img width="200" height="200" alt="" src="http://localhost/_projects/wb28/media/FG/Test/topic-pictures/3.jpg" /></div><p> </p><h1>ImageOverlay Test</h1><ul class="image-overlay" id="myGallery"> <li style="text-align: center;"><a href="http://domain.tld"> <img width="20%" height="20%" alt="" src="http://localhost/_projects/wb28/media/FG/Test/Christmas%20Nature%2012.jpg" /> <div class="caption"> <h3>Image #2</h3> <p>click for LINK</p> </div> </a></li></ul><div> </div><h1>Dialog Test</h1><div> </div><div id="dialog">Dialog text.<br /><br />You can drag me around by clicking left on the title.<br />You can resize me by clicking left on the bottom right corner.<br />You can close me by clicking on the X on the upper right corner.<br /><br /><strong>Theme used: ui-lightness</strong></div><p>[[jQueryInclude?preset=dialog]] [[jQueryInclude?preset=imageoverlay]] [[jQueryInclude?plugin=Cycle-all-2-8-6]]</p>
<h1>Superfish Test</h1><ul class="sf-menu"> <li class="current"><a href="#a">menu item</a> <ul> <li><a href="#aa">menu item that is quite long</a></li> <li class="current"><a href="#ab">menu item</a> <ul> <li class="current"><a href="#">menu item</a></li> <li><a href="#aba">menu item</a></li> <li><a href="#abb">menu item</a></li> <li><a href="#abc">menu item</a></li> <li><a href="#abd">menu item</a></li> </ul> </li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> </ul> </li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> </ul> </li> </ul> </li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a> <ul> <li><a href="#">short</a></li> <li><a href="#">short</a></li> <li><a href="#">short</a></li> <li><a href="#">short</a></li> <li><a href="#">short</a></li> </ul> </li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> </ul> </li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> </ul> </li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> </ul> </li> <li><a href="#">menu item</a> <ul> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> <li><a href="#">menu item</a></li> </ul> </li> </ul> </li> <li><a href="#">menu item</a></li></ul><p> </p><h1>Cycle Test</h1><div class="pics" id="s1"><img width="200" height="200" src="http://localhost/_projects/wb28/media/FG/Test/topic-pictures/1.jpg" alt="" /> <img width="200" height="200" src="http://localhost/_projects/wb28/media/FG/Test/topic-pictures/2.jpg" alt="" /> <img width="200" height="200" src="http://localhost/_projects/wb28/media/FG/Test/topic-pictures/3.jpg" alt="" /></div><p> </p><h1>ImageOverlay Test</h1><ul id="myGallery" class="image-overlay"> <li style="text-align: center;"><a href="http://domain.tld"> <img width="20%" height="20%" src="http://localhost/_projects/wb28/media/FG/Test/Christmas%20Nature%2012.jpg" alt="" /> <div class="caption"> <h3>Image #2</h3> <p>click for LINK</p> </div> </a></li></ul><div> </div><h1>Dialog Test</h1><div> </div><div id="dialog">Dialog text.<br /><br />You can drag me around by clicking left on the title.<br />You can resize me by clicking left on the bottom right corner.<br />You can close me by clicking on the X on the upper right corner.<br /><br /><strong>Theme used: ui-lightness</strong></div><p>[[jQueryInclude?preset=dialog]] [[jQueryInclude?plugin=ImageOverlay]] [[jQueryInclude?plugin=Cycle-all-2-8-6]][[jQueryInclude?plugin=Superfish-1.4.8]]</p>
I think I found a really easy way to auto-include a jQueryAdmin Preset into a page. grin Just name it after the PAGE_ID and add all the plugins and UI components you need. Then add the new [[jQueryLoader]] Droplet (without any params) to your template or page footer.
One question bevore i start testing could i use a specific pesent (for example i need the superfish on every page but on page 15 _additional_ i need the dialog or something else...and so on)
[[jQueryInclude?plugin=Superfish-1.4.8]][[jQueryLoader]]
@oeh - You make me fear that you're kidnapped by aliens. Are you still on air?
Take for example the Scroll to top droplet . It has an output text "Scroll to top" this text needs to be translatable and to work on multilingual sites.
<a id="toTop" href="#">^ <?php echo translate('Scroll to Top'); ?></a>
<?php$LANG=array( 'This is text to be translated' => 'This is the translation',);?>
<!-- jquery begin translation -->This is text to be translated<!-- jquery end translation -->