WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => jQuery => Topic started by: BlackBird on March 25, 2010, 12:11:08 PM

Title: New Module: jQueryAdmin v2.13
Post by: BlackBird on March 25, 2010, 12:11:08 PM
Current Version:2.14 (2011-05-05)
Download:http://www.websitebakers.com/pages/libs/jqueryadmin.php
Additional Themes und Plugins:http://jquery.websitebakers.com/plugins/download.php
Plugins Showroom:http://jquery.websitebakers.com/

jQueryAdmin installs as an Admin Tool and includes the following jQuery components:

* jQuery 1.6
* jQuery UI 1.8.12
* jQuery UI Themes (basic, start, ui-darkness, ui-lightness)

Plugins included (meant as examples; Fancybox and ClueTips also used by jQueryAdmin itself):


Feel free to post your questions and/or suggestions here. You may also suggest plugins you'd like to see included. Take a look at the Themes and Plugins page at AMASP (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php) to see what's already available. You can install Themes and Plugins using the jQueryAdmin Admin Tool.

Known issues

Help?

If you'd like to support this project, you may


English Usage Page: http://www.webing.de/webbird/WebsiteBaker/JQueryAdminUsage (under construction)

Screenshot taken in the jQuery Plugins Showroom (http://jquery.websitebakers.com/)

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on March 25, 2010, 08:52:30 PM
Norwegian language file.

Maybe it is possible to putt the stuff you stripped down in to yet an other module, or for that mater
in different modules with the specific function in each module.



[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 26, 2010, 12:02:51 PM
Cool, thank you! :-D :-D :-D

I think I will provide the stripped parts and additional Plugins as single downloads you can upload simply via FTP. (One Plugin per download.) Do you think this would be okay?

I am also working on a method to scan the rendered page for specific rel-Tags and/or id's to see if there are specific jQuery components to be loaded. Of course, this kind of "intelligence" is also an performance issue and should be handled with care. But the user decides to use that feature or not. :-D
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 26, 2010, 12:40:25 PM
Just uploaded v0.7. This is a bugfix release.

* Fix: Storing of custom preset files failed because of wrong path
* Removed ScrollToTop Plugin
* Added SlimBox2 Plugin (provided by "mr-fan" - thank you!)
* Added NO language file (provided by "oeh" - thank you!)

http://www.websitebakers.com/pages/libs/jqueryadmin.php
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on March 26, 2010, 01:19:50 PM
Quote from: BlackBird
I think I will provide the stripped parts and additional Plugins as single downloads you can upload simply via FTP. (One Plugin per download.) Do you think this would be okay?

This would be wery cool.
Maybe it would be a good thing to use a folder within the media folder e.g.
Code: [Select]
MEDIA_DIRECTORY/media/jq/plugins/"modname"/to store these additional plugins.
It would make the handling  and installing of plugins much easier.

Quote from: BlackBird
I am also working on a method to scan the rendered page for specific rel-Tags and/or id's to see if there are specific jQuery components to be loaded. Of course, this kind of "intelligence" is also an performance issue and should be handled with care. But the user decides to use that feature or not. :-D

This is awesome, looking forward to this.
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 26, 2010, 01:30:09 PM
Maybe it would be a good thing to use a folder within the media folder e.g.
Code: [Select]
MEDIA_DIRECTORY/media/jq/plugins/"modname"/to store these additional plugins.
It would make the handling  and installing of plugins much easier.

Hm, it's an option. But you could also upload the plugins using the AFE. Maybe I just include an upload option directly to jQueryAdmin. ;) Should be simple enough then.
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: mr-fan on March 26, 2010, 01:48:26 PM
Media Folder isn't the best choice for such things - i've used it just for some improvments with my droplets exercises....
for a beginner or a normal WB User it would be to critical that someone delet a script needed in the frontend...
so a admin modul for this things and to store such scripts is much better as Media!

For now Jqueryadmin search in all the modules/templates + in the jqueryadmin folder for .preset files to change or view in the admin tool.

I'm testing jQueryadmin and will provide more plugins soon to try out what this mod could do for loading frontendscripts...

regards martin
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 26, 2010, 01:56:19 PM
Note: .preset is the suffix for including plugins. .jquery is the suffix for presets created using the Admin Tool. The suffixes differ to make it easier to distinguish.
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 26, 2010, 02:17:10 PM
Last update for this week. (v0.8 )

* Fixed some issues with loading and saving presets
* Added "readme.html" files with some basic info to plugins (with links to plugin homes, license information etc.)
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: mr-fan on March 26, 2010, 02:46:44 PM
for some first other testers how easy it is to create a preset..... :wink:

it's simple the script 1:1 like on such demosites like the fancybox doku page or other plugin stuff!

simple copy needed scripts + some special jQuery <script type="text/javascript"> ...stuff in a default.present file together with the needed grafics/CSS in a folder under /jqueryadmin/plugins

and you could choose this plugin to load with your personal myscriptstoload.jquery Present

in frontend and backend simplest way with the Droplet + the name

for example in my template is before loading module JS files to prevent jquery is needed for some modules by a frontend.js....:

Code: [Select]
<?php if (function_exists(&#39;register_frontend_modfiles&#39;)) {register_frontend_modfiles(&#39;css&#39;);}?>
[[jQueryInclude?preset=myscriptstoload]]
<?php if (function_exists(&#39;register_frontend_modfiles&#39;)) {register_frontend_modfiles(&#39;js&#39;);}?>

nothing more nothing less

only actual problem with this method is to search for a simple solution to load scripts really only if they needed - but bianka is working on this issue!  :wink:


here a new plugin demo for testers simple unzip it in the /jqueryadmin/plugins/ folder....

more details of my test's will follow

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: mr-fan on March 26, 2010, 03:23:54 PM
..because it's so easy...... :-D

here is the pageslide plugin for jQueryAdmin:

http://srobbin.com/blog/jquery-pageslide/

simple make a "hidden" Page and on a other page (or footer/global section) a link with a id

used examples in the default.preset file is:

Code: [Select]
<script typ="text/Javascript">
$(document).ready(function() {
    $("#slide-left").pageSlide({ width: "350px", direction: "left" });
    $("#slide-right").pageSlide({ width: "350px", direction: "right" });
});
</script>

you could choose for CSS id #slide-left or #slide-right for your hidden page link!

simple unzip it to the /jqueryadmin/plugins/ folder and choose it for your personal preset file that is load in your template like i've told bevore with the droplet....

regards martin

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: mr-fan on March 26, 2010, 08:38:14 PM
so next one - a simple Tooltip Plugin

just use the given classes or create additional classes in the default.preset in the plugin folder

Code: [Select]
$('a.ttlight').tinyTips('light', 'title');
$('a.ttpyellow').tinyTips('yellow', 'title');
$('a.ttgreen').tinyTips('green', 'title');
$('a.ttblue').tinyTips('blue', 'title');

.ttlight - .ttyellow - .ttgreen - .ttblue  are prepared!

more details here:

http://www.digitalinferno.net/blog/jquery-plugin-tinytips-1-1/

unzip to /jqueryadmin/plugins/

have fun

martin

it's so easy to implement such plugins - it's just copy and paste only the usage of the loading mechanism is once to learn... 8-)

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 29, 2010, 11:00:38 AM
Thank you, mr-fan, for your support! I am curious to hear about any ideas to make this module more convenient and easy to use. We have just made some first steps on the way, so I'm sure there's still much potential to make this perfect. :-D

I am going to create a download page for plugins. Maybe I will also add a method to add and update those plugins directly from the Admin Tool. (There are some prerequisites the server must fulfil for this to work.) :-D
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 30, 2010, 03:03:38 PM
v0.9

* Fix: Typo in path to jquery-1.4.2.js
* New: Files in jquery-ui-1.8/external can be added now, too
* New: Prepared Plugins can be added (uploaded) using the Admin Tool now
* New: There's only one Droplet now that can do it all :-D
* New: Presets can be deleted, too

Help pages are in progress.

"erpe" and "mr-fan" already sent me prepared jQuery Plugins that can be easily added using the jQueryAdmin Admin Tool. :-D I'm sure they'll help me to set up an easy to understand explanation on how to do this. :-D

Edit: Removed attached plugin zip. An "official" download page is in progress.

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: erpe0812 on March 30, 2010, 06:11:53 PM
Hi

I really like the feature to upload plugins and the way to get the readme files in the 0.9 release.
And as Martin said: it is so easy to vreate new plugins.........
I reworked the readme file (modified some links) of ImageOverlay-plugin.
http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php
Good work Bianka.

rgds

erpe
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 30, 2010, 07:01:31 PM
With next version 0.10 you will be able to add themes the same way you add plugins. :-)

Also, I am working on preset files for the UI components that are included when choosing a component. This makes it possible to solve dependencies, add default script etc.

Example: The Accordion component needs the Widget component. Also, the accordion must be added to a certain div. So here's the content of the accordion.preset:

Code: [Select]
<script src="{WB_URL}/modules/jqueryadmin/jquery-ui-1.8/ui/jquery.ui.widget.js" type="text/javascript"></script>
<script>
  $(document).ready(function() {
    $("#accordion").accordion();
  });
</script>

Usage example:

* Create a new preset, name it "accordion" (for example) and check the Accordion UI Component.
* Add a WYSIWYG section on a page of your choice.
* Add a <div> with id "accordion" with any content of your choice; there should be a nested list or something to see the effect. (See the Accordion docs for details. -> http://docs.jquery.com/UI/Accordion)
* Add the jQueryLoader Droplet beneath the div:
Code: [Select]
[[jQueryLoader?preset=accordion]]* View the page and enjoy! :-D

(You will need v0.10 for this to work!)

Edit: Just uploaded v0.10. Try the theme attached to check out the new theme upload function. :-D

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 31, 2010, 03:02:29 PM
New version v0.11 is available now.

* Fix: Hardcoded "admin" directory
* New: Renamed the "getall" option to "anyjs" (which is more specific)
* New: Only "minified" scripts are included now; this makes the module smaller and easier to use (dropped backend option "use minified scripts")
* New: Added some previews for UI components (Accordion, Tabs, Dialog, Datepicker)
* New: Added two predefined presets (Accordion, Dialog)
* New: Backend now uses "Fancybox" for Readme files and previews
* New: Added predefinition files for component dependencies (Example: If you check the "Dialog" UI component, all other components that are necessary for this one to work are added automatically)

There are still some "known issues", but we're very close to Beta now. :-D

http://www.websitebakers.com/pages/libs/jqueryadmin.php

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: erpe0812 on March 31, 2010, 04:00:48 PM
Plugins and Themes can now be downloaded:
http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php

Latest module-release is available on this page:
http://www.websitebakers.com/pages/libs/jqueryadmin.php

rgds

erpe
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on March 31, 2010, 06:58:09 PM
Updated Norwegian Languagefile.

Any chance the plugins could be made multi lingual where it is any dialogs involved?


sorry oeh  :roll: i've missed the right button and didn't realize that...regards martin

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 31, 2010, 07:34:24 PM
Hum??? How could this happen? The post is by "oeh" but modified by mr-fan???
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on March 31, 2010, 07:36:54 PM
Uhm, I can only offer multilingual files where these are offered by the original plugin author. (Most of them don't) For the jQuery UI, all available i18n files are shipped with the module. I don't know for sure, but I think most plugins simply aren't multilingual. (Correct me if I'm wrong...)
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: Waldschwein on March 31, 2010, 10:09:37 PM
Hum??? How could this happen? The post is by "oeh" but modified by mr-fan???
Perhaps Martin just wanted to use the Quote-Button and used the Edit-Button (he's moderator). But nothing to worry, that can happen as it's really hard on that... *good* design and the original post by oeh is just his quote.

Yours Michael
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on March 31, 2010, 10:10:42 PM
Well, not quite sure how comes mr-fan edited my post, but it's ok by me.


When it comes to multi lingual, I was only thinking of any
adaptions made in any case where a module are adapted ore written for WB
and has some kind of interaction/ written output that are possible to put in to a language file.

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, .....
As I'm no coder, as for the time being that is, I find it quite hard
to adapt Droplets, Scripts....... in to being able to handle by bilingual needs.

Regards
;-}
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: Stefek on April 01, 2010, 12:14:45 AM
@oeh
He accidentally used the "edit"  button instead of the "cite" button.
Can happen if you're logged in as Admin  :wink:
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on April 01, 2010, 12:35:12 AM
@oeh
He accidentally used the "edit"  button instead of the "cite" button.
Can happen if you're logged in as Admin  :wink:
:lol: I know. Ben there, don that :wink:
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 01, 2010, 10:10:21 AM
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, .....

That's quite interesting. :-) I'm not sure at the moment where we can do this for jQueryAdmin, but I'm open to every kind of suggestion. I think you talk about the Readme-Files and the Previews, do you? Should be easy enough to create Readme's in different languages, but I'm afraid you will have to hope that the Plugin authors provide translations. But I'm willing to add those files for the "core module" if you can help me to do translations into NO. :-D 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")

Edit: I have changed this for readme-files now. Works smoothly. :-D I will add german translations to all items that have readme's or preview's yet. Please wait for v0.12 before creating translations into other languages. Thanks.
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 01, 2010, 12:13:20 PM
I've just release v0.12.

Important! I've removed the "jQueryLoader" Droplet for consolidation purposes. The droplet just went to be too complex to be still easy to use. :wink: Instead, a "jQueryInclude" Droplet is installed. (Well, this is still Alpha, so things may change...)

* New: Readme's (Plugins only) and Demo's (UI Components only) can be included in different languages. See the "Dialog" UI Component for an example. (If you're using German, it will be shown in German. Switch to English and the Readme will switch to English, too.)
* New: You can choose "UI Theme" -> "None" now to use no theme. Also, you can switch the default UI Theme in the tool.php ($default_theme)
* New: When receiving an error message (if you forget to insert a preset name when creating a new preset, for example) the selections you made persist

Droplet usage

[[jQueryInclude?preset=<presetname>]]

More params:

position=body -> to include the preset before </body>
module=whatever -> different module folder to use (default: jqueryadmin)

What does the droplet do with my page?

* Page AND Preset are scanned for jQuery-JS; the occurences are used to build a list
* All occurences are removed from the page and the preset, leaving any other content intact (CSS, for example)
* The list built in step 1 is cleared up; doubles are removed
* The cleared list is included into the head (or the body)

As you may note, it may happen that jQuery JS already included in the page is moved to the wrong place (from page bottom to header, for example). This is a "known issue" for now. The behaviour will be corrected later.
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on April 01, 2010, 01:35:40 PM
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. :-D 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")


Hi I'll supply the Norwegian translations 8-)

When i was talking about bi lingual possibilities, my thoughts went in the direction
of eg. ScrollToTop has the text "Scroll to top" as text output.
This would in Norwegian be "Gå til Toppen"....
If text constants like this where to be put in to a NO, DE, EN....php file
it would be really great bilingual wise.

OE
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 01, 2010, 01:49:37 PM
Ah. Hm. But these are "product names". How is "Windows" called in Norway? ;)
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 01, 2010, 01:53:05 PM
Please note: If you include the droplet more than once into a page, using different positions ("head", "body"), only the first position setting is used. This seems to be an issue in the droplets module. (I'm using 1.0.2) So there's no chance to fix this in jQueryAdmin.
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 01, 2010, 06:19:05 PM
Just uploaded v0.13. This version now scans only the page part where the preset should be included. (head or body) This hopefully fixes the issue mentioned above. (JS moved to the wrong place.)

Necessary core files (jquery-1.4.2.min.js, jquery.ui.core.min. js, ...) are always loaded into the header. I don't know if this may cause problems. Worked for me. :roll:

Inclusion of more than one instance of the droplet works here now. I don't know what was wrong. The info.php of the Droplets module showed v1.0.2, but extracting it again from the ZIP into the same directory fixed the problem. So be sure you have Droplets v1.0.2 installed if you wish to include the droplet more than once.

What's next?

Hm... Moving CSS into the header, I think. Or do you have suggestions? :roll:
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: oeh on April 02, 2010, 02:20:11 PM
Ah. Hm. But these are "product names". How is "Windows" called in Norway? ;)

I'm not talking of the name of the module, just any text output the module produces.

 
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 06, 2010, 11:11:09 AM
@Oeh, maybe we should clear this by PN. I'm still not sure what you mean exactly. :roll: But we'll find out. :wink:
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: mr-fan on April 06, 2010, 03:17:12 PM
next round for jQuery Plugins  8-)

1. jQuery Cycle Plugin easy to use with a preset like the online howto "beginners demo" on

http://malsup.com/jquery/cycle/begin.html

could changed easily to other animations or CSS id names...

2. jQuery Easing Plugin for usage with other Plugins or not...(at this time some Plugins have the easing.js included should be removed to avoid double loadings or files in /plugins/ directory

have fun martin

if someone have test it - i will put them to the official gallery

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 06, 2010, 05:24:30 PM
Just tested the Cycle plugin, works great with my current development version of jQueryAdmin. :-D Just two notes:

* There is a typo in the readme. (Step 5: "Than you just ad a ..." => "Then you just add a ...")
* Maybe you should add a complete example to the readme file. ("erpe" uses externally linked screenshots for this. "Externally" means that they are not included with the plugin zip, but stored on a webserver and referenced by the readme.)

Thank you for sharing your Plugins!
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 06, 2010, 05:26:20 PM
(at this time some Plugins have the easing.js included should be removed to avoid double loadings or files in /plugins/ directory

The jQueryAdmin Droplet should avoid double loadings. (I'm still working on it.) It takes also care of loading the different components into the right place. (CSS into head, for example)
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 06, 2010, 06:17:59 PM
So here's v0.14. :-D

http://www.websitebakers.com/pages/libs/jqueryadmin.php

* New: Added KLogger.php for Debugging (Debugging is off by default)
* New: CSS included in the Presets is moved to the HTML-Header automatically (even if the preset is included in the <body>)
* New: The appropriate position of a plugin (body or head) can be defined in the plugin's default.preset, so you don't have to know about this when using the plugin
* New: Added an option to include a plugin directly without creating a preset
* Added some more translations
* Added some more placeholders (TEMPLATE_DIR, WB_PATH) that are replaced by the droplet

Include a plugin directly

When trying out the plugins provided by mr-fan, I found it annoying to first create a preset before using the plugin. So I added the option to include a plugin directly.

Usage:

Code: [Select]
[[jQueryInclude?plugin=<Name>]]

Example:

Code: [Select]
[[jQueryInclude?plugin=Cycle-all-2-8-6]]

What's the difference?

This only includes the given Plugin. When creating a preset, you can include more than one plugin and/or additional UI Effects, Themes etc.

So,
* if you just need a special plugin, the simple way is to add it directly using the ?plugin param.
* if you need some more jQuery components, create a preset and include it using the ?preset param.

Please note: The ?plugin and ?preset params exclude each other. If both are set, the ?plugin param "wins". (This means, the preset is not included!)

On my test page, I have the ImageOverlay and Cycle Plugins working together with the Dialog Component. Here's the WYSIWYG HTML source code:

Code: [Select]
<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>&nbsp;</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>&nbsp;</div>
<h1>Dialog Test</h1>
<div>&nbsp;</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>
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 07, 2010, 05:44:05 PM
I just added a new Plugin: Superfish-1.4.8

Demo here:
http://users.tpg.com.au/j_birch/plugins/superfish/#examples

Download here:
http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php?lang=EN

Edit: I have 4 instances of the Droplet included on the same page, running smoothly together: Cycle-all, Dialog, ImageOverlay, and the new Superfish. :-D Here's the HTML source code of the WYSIWYG-Section if you wish to check it out:

Code: [Select]
<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>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<h1>Dialog Test</h1>
<div>&nbsp;</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>
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 08, 2010, 12:03:02 PM
I've just uploaded v0.15 to AMASP.

http://www.websitebakers.com/pages/libs/jqueryadmin.php

I think I found a really easy way to auto-include a jQueryAdmin Preset into a page. :-D 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.

Example: On a certain page, you need the Dialog UI Component and the Superfish Plugin.

Step 1: Create the preset

* Open your WB Backend and navigate to Admin Tools -> jQueryAdmin; you will get a form to create a new preset
* Put the number of the page (example: 15) into the name field
* Mark "Superfish" and "Dialog" in the list (of course, you will first have to install the Superfish Plugin. Download here: http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php)
* Save the preset

Step 2: Include the droplet

We will add the droplet to the footer in this example.

* In your WB Backend, navigate to Settings.
* In the "Website Footer:" input field, add [[jQueryLoader]]
* Save the settings.

Step 3: Add the page contents

* For Superfish, just create an unordered list and add class="sf-menu" to the <ul>
* For Dialog, create a <div> containing the dialog contents, and add id="dialog" to the <div>

Now, open your page and enjoy! :-D

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: mr-fan on April 08, 2010, 01:10:15 PM
hi Bianka,

Quote
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.

Could be a real easy way to get special contents on selected pages.....great idea!  8-)

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=menu]] + [[jQueryLoader]] special preset for Page 15  => create a preset named "15" ?

This would be a cool Option with this two Droplets for general Use & special Use!

Best regards
Martin
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 08, 2010, 01:19:33 PM
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)

In this case, put the two Droplets into your page footer. Example:

Code: [Select]
[[jQueryInclude?plugin=Superfish-1.4.8]][[jQueryLoader]]

This will now include the Superfish Plugin into all pages, and your "15.jquery" preset only into page 15.  :-D

Edit: Please pay attention to the notation! Plugin/preset names are case sensitive on UNIX/Linux-Systems! (I think the droplet name is always case sensitive.)

Edit2: I started a tutorial on how to add a custom plugin. (German language) http://www.webing.de/webbird/WebsiteBaker/JQueryAdminPlugins
Title: Re: New Module: jQueryAdmin (Alpha)
Post by: BlackBird on April 09, 2010, 11:16:23 AM
Announcement: With next version 0.16, the development state will be upgraded to "Beta". (Which means "feature freeze".) :-D
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 12, 2010, 02:48:48 PM
I've just uploaded v0.16 to AMASP. http://www.websitebakers.com/pages/libs/jqueryadmin.php

As promised, this version has now BETA state. So there's one last feature added:

* New: When uploading plugins or themes, an index.php file will be generated automatically if it not exists.

Please note: When creating the index.php files, the WB_URL constant is used to create a redirect location. If the WB_URL changes (after moving the complete WB installation to another server, for example), the redirect location may be wrong. I don't treat this as a serious problem, because a wrong redirect is still better than a browsable folder. ;)

So feel free to check out this new version and maybe one of the 11 ready-to-use plugins and/or 2 additional UI themes that are already available at AMASP!  :-D

http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 13, 2010, 12:49:28 PM
Some good news:

* There's another theme "Le frog" available for download now. --> http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php
* "erpe" wrote a nice article about jQueryAdmin on AMASP. --> http://www.websitebakers.com/pages/topics/include-jquery.php
* I've created an NL translation file that will be added in v0.17; but as I'm not a "native speaker" and just using online translators to create this file, it would be very kind if anyone who is a "native speaker" could take a look at the translations. (File attached.)

If you'd like to add your own jQuery UI Themes, you don't have to wait for someone to upload it on AMASP. Just download the theme you like (or create your own using Themeroller) from http://jqueryui.com/themeroller, create a subfolder under ./modules/jqueryadmin/jquery-ui-1.8/themes and unpack the theme to that folder. There's nothing to be done in addition, except choosing that theme when creating your own preset. ;)

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 13, 2010, 12:50:20 PM
@oeh - You make me fear that you're kidnapped by aliens. :wink: Are you still on air?
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 13, 2010, 04:49:58 PM
I just uploaded v0.17 to AMASP. http://www.websitebakers.com/pages/libs/jqueryadmin.php

* New: clueTip 1.0.6 plugin is included (used by the Backend). See http://plugins.learningjquery.com/cluetip/#getting-started for details
* New: Added jquery.hoverIntent. js (used by clueTip) to subfolder jquery-ui-1.8/external
* Fix: When using the "plugin=" param for the [[jQueryInclude]] droplet, the jQuery base was not loaded automatically. (When creating a preset, it is added to the preset file.) The droplet now looks if the base file is already included and adds it if not.
* Some Backend enhancements (Tooltips on icons using the clueTip Plugin, for example)

Edit: Uploaded fixed v0.17.

Admin Screenshot v0.17 (http://www.webing.de/webbird/uploads/WebsiteBaker/jqueryadmin_scrshot.jpg)
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: oeh on April 13, 2010, 09:30:50 PM
@oeh - You make me fear that you're kidnapped by aliens. :wink: Are you still on air?

Hi I've not been kidnapped by aliens, just had my hands full regarding dog related stuff,
and a person making my life a bit to hellish for my liking :x.

Well, I'm back again whistling in the awesome nice and sunny weather. Ahh, finally
the darn snow are almost gone.

 :-D

I've also translated the v0.17 Norwegian language file.


[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 14, 2010, 10:54:12 AM
Great, thanks for the translation. :lol: I will add it to the next version. Maybe this will be our first RC. :lol:

Regarding the translations, "oeh" sent me an example by PN I'd like to answer here.

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.

Hm. In this case, the markup has to be added to the page "by hand". I think I know what you mean - you'd like to insert something like

Code: [Select]
<a id="toTop" href="#">^ <?php echo translate(&#39;Scroll to Top&#39;); ?></a>
into the page and have translations for different page languages automatically. I'm not sure if this should be a feature for jQueryAdmin. But, on the other hand, it's not very hard to implement. (It's already implemented in wbTemplate, which is part of the wblib I created.)

I don't know if there are already solutions for this. (Droplets or other modules.) Maybe someone else knows.

Just to fantasize a bit... I could think of an implementation like this:

* A plugin can have language files, like modules have.
* The jQueryAdmin droplets regard some kind of markup, for example: <!-- jquery begin translation --><Text><!-- jquery end translation -->
* If it finds a markup like this in the page, and if the plugin has language files, it tries to find a translation for the <text>, leaving it as is if none is found

With this solution, the <text> will still work if the jQueryAdmin droplet is not used (or a translation is not available).

A translation file may look like this:

Code: [Select]
<?php
$LANG
=array(
  &
#39;This is text to be translated&#39; => &#39;This is the translation&#39;,
);
?>


And the markup in the page would look like this:

Code: [Select]
<!-- jquery begin translation -->This is text to be translated<!-- jquery end translation -->
If the droplet finds a translation for that text, the markup will be replaced with that text. If not, you will still see the original text on the page.

But! As v1.x is in Beta state now, this would be a feature for a future version. (2.x or something) :wink:
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: erpe0812 on April 14, 2010, 12:16:26 PM
Added a new plugin: easySlider
http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php

rgds

erpe
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 14, 2010, 12:27:44 PM
Really nice plugin, thanks to erpe! I just checked this out, works like a charm. :-) Also, very good plugin readme. :-D Just copy&paste and you're done.
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: oeh on April 14, 2010, 12:44:19 PM
Hm. In this case, the markup has to be added to the page "by hand". I think I know what you mean - you'd like to insert something like

Code: [Select]
<a id="toTop" href="#">^ <?php echo translate(&#39;Scroll to Top&#39;); ?></a>
into the page and have translations for different page languages automatically. I'm not sure if this should be a feature for jQueryAdmin. But, on the other hand, it's not very hard to implement. (It's already implemented in wbTemplate, which is part of the wblib I created.)

I don't know if there are already solutions for this. (Droplets or other modules.) Maybe someone else knows.

Just to fantasize a bit... I could think of an implementation like this:

* A plugin can have language files, like modules have.
* The jQueryAdmin droplets regard some kind of markup, for example: <!-- jquery begin translation --><Text><!-- jquery end translation -->
* If it finds a markup like this in the page, and if the plugin has language files, it tries to find a translation for the <text>, leaving it as is if none is found

With this solution, the <text> will still work if the jQueryAdmin droplet is not used (or a translation is not available).

A translation file may look like this:

Code: [Select]
<?php
$LANG
=array(
  &
#39;This is text to be translated&#39; => &#39;This is the translation&#39;,
);
?>


And the markup in the page would look like this:

Code: [Select]
<!-- jquery begin translation -->This is text to be translated<!-- jquery end translation -->
If the droplet finds a translation for that text, the markup will be replaced with that text. If not, you will still see the original text on the page.


Yup. You hit the nail there.
This wold take WB a really big step towards being really multilingual.
And even better, coders as such, made this as a standard.

If there are options to translate, I'll do my very best to keep up and translate all
new and existing modules in to Norwegian. That is they are for WB 2.x.x and >=.

 :wink:
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 14, 2010, 03:24:41 PM
Well, the solution I suggested was meant for jQueryAdmin only. But maybe someone likes to create an independent module. :roll:
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: oeh on April 14, 2010, 04:49:46 PM
Well, the solution I suggested was meant for jQueryAdmin only. But maybe someone likes to create an independent module. :roll:
A hole different module was not on my mind.
Just as you described, the implementation of translatable "text" as a default.  8-)
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 14, 2010, 06:07:57 PM
So we'll leave this for next Version. :roll:
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 16, 2010, 02:40:55 PM
I've replaced the prettyPhoto Plugin available at http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php with a stripped version. The included demo images made the ZIP 2 MB in size - after stripping the demo out just 60 kB are left! Take a look at the prettyPhoto demo page for a demo instead.

http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: mr-fan on April 19, 2010, 10:10:16 PM
so what - now there is a "insert" Plugin for the jQueryAdmin on the line.....

fot thoose who worked with the first improved "semi" official way to load jQuery Plugins, JS and CSS files to WebsiteBaker...

Just load the jquery-insert Plugin by a click and take your frontend_jquery.js in the template folder and it works as it should!

frontend-jquery.js must exist - there is no fallback - if not - path leads to nowhere...

maybe someone that works with that "insert-methode" could test it with jQueryAdmin and load his plugins like he did bevore just controlled by the backend...and extendable in serveral ways    :wink:

have fun
martin



[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (Beta!)
Post by: BlackBird on April 22, 2010, 08:12:42 PM
As no more bugs were reported, I increased the development state of this module to RC. v0.18 now includes the updated norwegian translation provided by "oeh".  :-D Thanks again for this contribution.

 Tutorial link removed 404
Title: Re: New Module: jQueryAdmin (RC)
Post by: mr-fan on April 25, 2010, 07:33:13 PM
So nobody tested it then maybe nobody needs it anymore.....while jQueryAdmin has more Options....

but to be compatible with the "old" methode of using jQuery with WebsiteBaker if loaded the Insert Plugin up to AMASP... :wink:

 Tutorial link removed 404

have fun
martin
Title: Re: New Module: jQueryAdmin (RC)
Post by: BlackBird on April 26, 2010, 12:48:04 PM
First, an announcement: If no more bugs are reported, I will release v1.0 next week. :-)

Second: You may suggest jQuery Plugins you wish to be prepared for use with jQueryAdmin in this thread. If you have already integrated your favourite plugin, please upload it at AMASP. See the link on the bottom of this page:  Tutorial link removed 404

There is a tutorial in German language about how to integrate plugins and what to do to create an AMASP download here: http://www.webing.de/webbird/WebsiteBaker/JQueryAdminPlugins

Thank you!
Title: Re: New Module: jQueryAdmin (RC)
Post by: erpe0812 on April 29, 2010, 11:25:09 AM
Here are some additonal informations in German:
http://www.websitebaker2.org/forum/index.php/topic,18043.msg120040.html#msg120040

rgds

erpe
Title: Re: New Module: jQueryAdmin (RC)
Post by: BlackBird on April 29, 2010, 11:36:04 AM
There's another RC available now: v0.19

 Tutorial link removed 404

* Added the Banner "mr-fan" created to the footer of the Admin Tool
* Added links to my German jQueryAdmin Homepage and the jQueryAdmin Library at AMASP
* The Default Preset is now always listed on top of the presets list and cannot be deleted
* Added a download icon that links to the jQueryAdmin Library at AMASP to "Plugins" and "Themes" headings

Known issues:

* Incomplete translations for NO and NL (yes, again... I had to add language strings for the new links)

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin (RC) - DUTCH TRANSLATION NEEDED please help!
Post by: mr-fan on May 03, 2010, 09:28:46 PM
so far there is a new little jQueryAdmin Plugin to use.....the Corners Plugin from malsup

http://jquery.malsup.com/corner/

here is the plugin on the AMASP Gallery:
 Tutorial link removed 404

and here is a german tutorial how to use your favorite jQuery Plugin with jQueryAdmin and create a simple Preset!
 Tutorial link removed 404

have fun
martin
Title: Re: New Module: jQueryAdmin (RC) - DUTCH TRANSLATION NEEDED please help!
Post by: erpe0812 on May 04, 2010, 10:35:38 AM
Did again a new plugin yesterday for easy use:  :-D

JQZoom

download at: http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php

Demo (http://www.mind-projects.it/projects/jqzoom/demos.php#demo1)

help-file integrated in jqueryadmin-backend.

rgds

erpe



Title: Re: New Module: jQueryAdmin (RC) - DUTCH TRANSLATION NEEDED please help!
Post by: BlackBird on May 07, 2010, 11:29:33 AM
Announcement: jQueryAdmin v1.0 stable released! :-D :-D :-D

http://www.websitebakers.com/pages/libs/jqueryadmin.php

Anyway, there are quite a few "known issues":

* incomplete translations for NL and NO (missing strings are shown in English)
* Plugins not sorted alphabetically

Future plans:

* Allow the user to add a "custom.preset" to the plugins folder that will not be overwritten when upgrading the plugin. This will be mixed with the "default.preset" by the Droplet(s), so that the user can easily add his own settings to the plugin.

Thanks to all that have contributed!
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: oeh on May 08, 2010, 12:38:53 AM
Here's the Norwegian Language file.

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 08, 2010, 12:52:50 PM
Ah, that's great, thanks a lot! :-D
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: crnogorac081 on May 09, 2010, 12:01:32 AM
I see a lot of potential in this module, and looking forward to use it in my modules...

However, I dont know why I cant make it work.. please guide me true these steps:

1. Install module... done
2. Installed preset featureList (from AMASP).. done
2.5 - In BE jQueryAdmin in New Preset - insert name of preset I just installed (featureList) and SAVE !! (this was the part I missed)
3. Copying code from preset readme file, and changed path for pictures..
4. In BE Settings added [[jQueryLoader]] [[jQueryInclude?preset=featureList]] to page footer field

Now I am wondering what am I still missing as I have:

Code: [Select]
<!-- jQueryAdmin: unable to load preset [4] -->
<!-- jQueryAdmin: unable to load preset [featureList] -->

at the bootom of my source code..

cheers
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: mr-fan on May 09, 2010, 12:50:49 AM
hi ivan,

check the paths from the scripts please and  check the filenames with the paths in your default.preset file of the plugin!

mostly it is a wrong filename or paht while in a live server it depends on the AAaaaaAAA right spelling!

regards martin

nice to know that you could use it, too!  8-)
for this bianka should make a short readme for developpers who want to use jQueryAdmin for there mods...
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: crnogorac081 on May 09, 2010, 01:13:17 AM
Of course, this gave me an excelient coding idea to create separatly module and preset files rather than all included in one module

I am going to check the paths..

cheers

Edit:

It was little unclear to me about the procedure...  I wrote and marked red the part which missed me in the instalation... It would be nice to have this procedure on first post...

Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 09, 2010, 12:10:50 PM
The first post is rather long. The correct way should be quoted in the help file that comes with the plugin. Anyway, I added a two-step-instruction how to include a specific plugin to the first post. This is the easiest way:

* Download and install the plugin.
* Add it to the page using:
Code: [Select]
[[jQueryInclude?plugin=<Name>]]
If you wish to combine more than one plugin or other components, create a Preset:

* Download and install the plugin.
* Create a preset and add all the components you need.
* Add it to the page using:
Code: [Select]
[[jQueryInclude?preset=<Name>]]
So, you only need a preset if you need more than one plugin AND/OR jQueryUI components. A plugin alone can be included directly.

HTH. :-D
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: crnogorac081 on May 09, 2010, 02:23:40 PM
Oh, great... now it is much clear to me..

thanks birdie !
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: Boudi on May 10, 2010, 03:26:04 PM
Ok...finally I took the step to dive into the jquery thing. To be honest, the term is not unknonw for me, however the usage totally is! But I see the great potential it has so in order to offer these plugings to my customers I need to know how this stuff works in combination with WB.

What my first goal was is to make the colorbox working. But just like crnogorac081 I'm stucked.

My steps:

1) Install jqueryadmin mod
2) Uploaded colorbox from the jquery admin
3) Checked colorbox, create presetname (galerij) and saved it
4) Put down a droplet with: [[jQueryInclude?plugin=<galerij>]]

In the sourcecode of the page it says: <!-- jQueryAdmin: unable to load preset [default] -->

How do I get Colorbox working in order to see images?

I really like to get this thing going in order to find out more about jquery.

Boudi

Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: erpe0812 on May 10, 2010, 03:31:41 PM
Hi Boudi

try it with
Code: [Select]
[[jQueryInclude?plugin=galerij]]
rgds

erpe
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: Boudi on May 10, 2010, 03:43:45 PM
Hi Erpe,

Thnq for the quick respond.

Same thing:

Code: [Select]
<!-- jQueryAdmin: unable to load preset [default] -->
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: erpe0812 on May 10, 2010, 03:49:25 PM
mmhhhhhh

In the meantime I played around with the colorbox which I never used before:
http://www.rvb.bplaced.net/pages/colorbox.php

I did exactly what the help-file says.

rgds

erpe

Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: Boudi on May 10, 2010, 03:51:38 PM
Grrrrr  :x

You mean the help file of the colorbox in the jquery admin?
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: erpe0812 on May 10, 2010, 03:52:31 PM
jepp
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 10, 2010, 06:25:08 PM
1) Install jqueryadmin mod
2) Uploaded colorbox from the jquery admin
3) Checked colorbox, create presetname (galerij) and saved it
4) Put down a droplet with: [[jQueryInclude?plugin=<galerij>]]

Use one of
Code: [Select]
[[jQueryInclude?preset=galerij]]
OR
Code: [Select]
[[jQueryInclude?plugin=ColorBox-1.3.6]]
Never quote the <> thingy, it's only to show what part of the code has to be replaced with the correct name!

So, if the help file shows:
Code: [Select]
[[jQueryInclude?preset=<Presetname>]]you will have to replace the complete <Presetname> string with the name you gave, which is galerij in your example.
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: mr-fan on May 10, 2010, 06:53:00 PM

4) Put down a droplet with: [[jQueryInclude?plugin=<galerij>]]

In the sourcecode of the page it says: <!-- jQueryAdmin: unable to load preset [default] -->

hi boudi,

great to see that more and more people use jQueryAdmin!

One of the most read issues is the two different things  preset != plugin.... :wink:

Preset:

- you could create a "preset" with all the scripts (=plugins) you need for example in the template!
  this file looks like galerij.jquery (you _must_ create it and choose the plugins or UI in the optionslists)
- this presets could be in the template file or in a module file (=just one file for the whole script setup)

=> Presets loaded with
Code: [Select]
[[jQueryInclude?preset=galerij]]
Plugins:


- you could create "manually" with putting your favorite jQuery Plugin (JS+CSS+Images if needed) with a default.preset
  file (and additional a readme.html for help) in a .zip!
- a single plugin is part of the options list in the jQueryAdmin Backend!
- this plugin you can combine with others or needed UI parts for your project!
- in the plugins you could edit the whole jQuery stuff with the AFE (it's not tricky mostly exactly like on the demo pages
  of the originally jQuery Plugin!!

=> Plugins loaded with
Code: [Select]
[[jQueryInclude?plugin=Colorbox-1.3.6]]
so third option to load presets (see first point)
Code: [Select]
[[jQueryLoader]] used in the Template or under WB Backend->Options->footer!

With this droplet you could create a preset for one page!

You could create a preset and name it like the page_id (12 for example) so on the page with the id 12 this preset is loaded!

But thats the same effect if you drop the jQueryInclude droplet in the page (12) directly in the wysiwyg!
(But with the jQueryLoader option for example your customer not see or could delete the droplet!... :wink:)

have fun
martin
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: Spritemarkiv on May 11, 2010, 05:40:33 PM
I am trying to integrate this(v.1.0) into the new DataTable module and having some problems.
1. I have created the module/DataTable/presets/DataTablePreset.jquery file.
2. I insert the Droplet
Code: [Select]
[[jQueryInclude?module=DataTable&preset=DataTablePreset]] into my code.
3. jquery, and my preset dosen't load

If I then add a preset called DataTablePreset to the jQueryAdmin folder it works.

Quote
The droplet now looks into ./modules/mymodule/presets and ./modules/mymodule/jquery/presets  to find a file named mypreset.jquery.

So, I think it is looking for the preset in the jQueryAdmin preset folder and not in the module preset folder.

I'm just starting to wrap my head around this and might have misunderstood something.  Any guidance would be appreciated.


Side note: If I hover over the UI Themes Plus sign, I get the pop up but it says
Quote
Notice: Undefined index: theme_add_info in C:\Users\xampp\htdocs\wb\modules\jqueryadmin\tool.php  on line 188
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 11, 2010, 06:04:30 PM
Can you send me your module to check this? Would be easier/better than to create my own test case. At a first glance, you've done all alright. :roll:
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: Spritemarkiv on May 11, 2010, 06:23:40 PM
Hi Blackbird,
Here is the experimental version.

Thanks for the help

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 11, 2010, 06:46:56 PM
Ah! Found an error in the include.php. Try to replace it with the one attached.

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 11, 2010, 06:51:31 PM
BTW: The problem Boudi reported was caused by his PHP version. (5.1.x) It seems the RegExp I use for filtering <script> tags does not work in that version. So be sure that you have 5.2.x!
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: Spritemarkiv on May 11, 2010, 07:19:09 PM
Working now with the new include.php file.

Thanks!
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: crnogorac081 on May 11, 2010, 10:12:58 PM
Hi,

Here are some latest issues from me :)

1. I am wondering did you consider putting index.php to prevent directory listing in presets/plugins ?

2. I am kind of missing option to edit and delete plugins and presets.. Did you also considered these options in further versions ?

3. I made coin-slider preset (Demo (http://www.ivan.milicevic.me/wb/coin-slider.php)), please review it...  Also please someone create german readme file. 

cheers

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: erpe0812 on May 12, 2010, 09:08:40 AM
I will do german help file today and test it.

rgds

erpe

Edit: available on AMASP (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php)
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 12, 2010, 11:11:19 AM
1. I am wondering did you consider putting index.php to prevent directory listing in presets/plugins ?

jQueryAdmin does this automatically when installing plugins. All folders that are part of jQueryAdmin have an index.php.

2. I am kind of missing option to edit and delete plugins and presets.. Did you also considered these options in further versions ?

You can delete presets by clicking on the X icon next to them. (Except default.preset)

I am not going to add a "delete Plugins" option because it would be too easy to delete a plugin that is used somewhere. The only way to delete a plugin is to delete it via FTP.

Also, I am not going to add an option to edit the preset files of plugins directly. It's simply a bit dangerous - if you do it wrong, the plugin may not work anymore. Use AFE for this.

As stated, I am going to add a "custom.preset" to plugins for personal settings. I'd like to integrate AFE for editing them, but there is a major problem I was not able to solve, so I left this point.

3. I made coin-slider preset (Demo (http://www.ivan.milicevic.me/wb/coin-slider.php)), please review it...

Thank you! I will check it out!
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 12, 2010, 11:25:07 AM
3. I made coin-slider preset (Demo (http://www.ivan.milicevic.me/wb/coin-slider.php)), please review it...  Also please someone create german readme file. 

Great plugin! Works perfectly for me! :-D
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: crnogorac081 on May 12, 2010, 12:15:25 PM
I am glad you like it :)

cheers
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 12, 2010, 05:58:58 PM
Announcement: v1.1 ahead!

@oeh, would be great if you could update the NO.php. In the last version, I forgot a var there, and there's a new one. Thanks in advance!

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: oeh on May 12, 2010, 11:16:59 PM
Here it is ;-}

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.0 stable
Post by: BlackBird on May 14, 2010, 11:16:47 AM
So here's v1.1! :-D

http://www.websitebakers.com/pages/libs/jqueryadmin.php

- fixed default.preset of the Fancybox plugin (load call into body)
- fixed default.preset of Slimbox2 plugin (wrong path name)
- updated NO language file (provided by WB Forum user "oeh" - thank you!)
- fixed __jQueryAdmin_inclu dePreset() method to load presets located in module folders correctly (module subfolder was missing in the directory list)
- automatically create "presets" subfolder when adding a new preset if it doesn't exist
- fixed plugins sorting in tool.php

Known issue: When upgrading, the default.jquery Preset will be overwritten! So if you have changed it to suit your needs, be sure to create a backup copy before upgrading!

You may update the module by FTP by replacing:

* all files in the base folder
* languages/* (all files)
* plugins/Slimbox2/default.preset
* plugins/fancybox-1.3.1/default.preset

This issue will be fixed in the next release.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on May 14, 2010, 07:07:19 PM
Hi there

I reworked the corners-plugin, added some css files and cut the html code.
js and css are now using same class names.
http://jquery.websitebakers.com/plugins/styling/corners-plugin.php

Plugin is available at the plugins-page
http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php

rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 25, 2010, 11:22:32 PM
I've a couple of problem with this module.

Using the droplet in a WYSIWIG section/page AdSense scripts fail to load, and an error message appears (but only in IE). So I think there must be a conflict between these scripts.

To be precise, AdSense scripts are "loaded" (as you can see looking at the source code of the page http://www.agnesevardanega.eu/pages/didattica/corsi/tecn.-analisi-dei-fen.-turistici.php) but are not visible.

Another problem seems to be the div structure generated by the code, so that, for example, the left column sometimes ends up to the wrong place (at the end of the page).

It is also possible that the problem with AdSense is caused by this problem with the div structure, since the whole code is included in a div.

But first of all, of course, I would like to know if I have correctly used the module  :-D

Thank you very much
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: mr-fan on May 26, 2010, 09:58:15 AM
hi,

Quote
Using the droplet in a WYSIWIG section/page AdSense scripts fail to load, and an error message appears (but only in IE). So I think there must be a conflict between these scripts.
You're right i think...

Quote
Another problem seems to be the div structure generated by the code, so that, for example, the left column sometimes ends up to the wrong place (at the end of the page).
I absolutely don't know what you mean -> maybe the <div> or <p> tag that is generated by the WYSIWYG Mod??

Quote
But first of all, of course, I would like to know if I have correctly used the module

For this question it would be important to know _HOW_ you use it..... :wink:

You don't have specified this yet...so please post your created jQueryAdmin Plugin/Preset + Droplet Call you used in Wysiwyg....

regards martin
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 26, 2010, 10:35:01 AM
I've a couple of problem with this module.

I'm sorry to hear that.

Using the droplet in a WYSIWIG section/page AdSense scripts fail to load, and an error message appears (but only in IE). So I think there must be a conflict between these scripts.

I have noted similar problems using a Google Map (using the GMap module) and CoinSlider jQuery Plugin on the same page. This is NOT a fault of jQueryAdmin, but a problem with that two scripts on the same page. So jQueryAdmin cannot fix this issue.

Another problem seems to be the div structure generated by the code, so that, for example, the left column sometimes ends up to the wrong place (at the end of the page).

As jQueryAdmin does not create any divs in the frontend, I don't think your problem is caused by it. Or do you mean in the backend? But I don't know any backend theme that has a left column...
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 26, 2010, 04:25:50 PM
The problem is that AdSense code ends up at the end of the page, before </body> tag, and after the footer, and it is not visible.

I just supposed that it could be a problem in the <div> structure (css), or in JQueryAdmin module itself, because another script in JQuery, inserted directly (rotator: http://www.agnesevardanega.eu/pages/home/pubblicazioni.php), works without no conflict, while both Tabs and EasySlider have this problem.

It is well known, however, that JQuery does not work properly with AdSense code. I'll try to insert the plugins directly, just to test the problem

Thank you
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 26, 2010, 08:19:14 PM
Maybe the problem has something to do with (or can be solved by) the order the JavaScripts are loaded in the page. Is the AdSense Code touched in any way by the jQueryAdmin droplet? (Moved from somewhere else to the page footer, for example.)

Normally, the droplet acts this way:

* Find out which preset has to be loaded (default: default.jquery in jQueryAdmin module folder)
* Read that file and split the contents into head and body positions, where body means before closing </body>
* Filter all jQuery related JavaScripts and CSS by scanning the page already rendered by WebsiteBaker; filter inline CSS and inline JavaScript
* Mix filtered JavaScripts and CSS with the contents of the preset
* Remove doubles (JavaScript includes and CSS includes; no inline CSS/JavaScript!)
* Move all CSS into page head
* Insert remaining JS into head or body

The droplet should never move inline JS into the page footer. To verify that, load the page without the droplet and save the source code. Then, re-include the droplet, reload the page und store the source code. Compare the two versions. Let me know the results.

Please note: I'm not online for the whole time at the moment. So, responses may take a while. :roll:
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 27, 2010, 01:05:00 AM
Yes, the Adsense code is moved after the footer when the droplet is put on the page. To be precise, the code is moved immediately before the body closing tag (</body>). Without the droplet, the code is at the right place.

I tried to place the adsense code through php include, and the code behaves normally, but it is not loaded anyway (and in IE an error message appears).

The droplet is placed in the footer, in a section of the pages where I need it (I have not included JQuery in the template).

Thak you very much
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 27, 2010, 12:59:48 PM
Hmmm. I will think about a solution. The problem is that it is nearly impossible to distinguish jQuery Code from other JS.

So, when removing the droplet and adding the Tabs plugin by hand, your problem is solved?
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 27, 2010, 02:36:22 PM
I haven't tried to ... I'm not even sure I'm able to  :-P I'll let you know! By sure, without the droplet, everything works, and with "rotator.js" (that uses JQuery) there is no conflict
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: Vincent on May 27, 2010, 03:25:26 PM
NL language file attached.

Regards,
Vincent

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 27, 2010, 07:48:05 PM
If the plugin in placed manually, the adsense code is moved to the footer, but it is visible. This problem can be solved calling the code with php include.

But I am not sure at all that I can use jquery scripts correctly ...  :?

Thank you very much again
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: mr-fan on May 27, 2010, 08:02:01 PM
.....?

Whats the Problem - AdsenSe should be used as Inline JS in the content right there where it show the ad!

jQueryAdmin catch all Inline JS and put it together and to the place where is set (body or head)

so this works....

AdsenSe should be ignored by the jAdmin? i've don't tested this - may this is a bug/feature that is missing...

regards martin
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: dbs on May 27, 2010, 08:21:11 PM
Quote
code is moved to the footer
same problem with template "officetime" ( slider-script ) from chio.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: crnogorac081 on May 27, 2010, 08:47:12 PM
probably incompability with jquery... check if there is another jq script loaded (not from jq admin)
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 27, 2010, 08:59:51 PM

Whats the Problem - AdsenSe should be used as Inline JS in the content right there where it show the ad!

jQueryAdmin catch all Inline JS and put it together and to the place where is set (body or head)

so this works....

AdsenSe should be ignored by the jAdmin? i've don't tested this - may this is a bug/feature that is missing...

regards martin

The problem is that - with JQueryAdmin droplet used in the page - AdSense is not visible even when placed with php include (which seems to prevent the script from being moved to the footer)
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 27, 2010, 09:01:25 PM
probably incompability with jquery... check if there is another jq script loaded (not from jq admin)

Sorry I cannot understand ...  :? what should I check?  :?
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: dbs on May 27, 2010, 09:05:06 PM
slider-script is a part of the template.
but the template works fine with jquery from include/jquery.
with jqueryadmin is jquery easyer to handle, but with other javascripts = sometimes trouble.
like adsense from avitaly.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: crnogorac081 on May 28, 2010, 12:00:53 AM
Yes, that is because you need to load JQ script only once !

@avitaly
send me link to your site so I can take a look
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 28, 2010, 12:50:48 PM
Sorry, I'm a bit confused. :? I think there are several things mixed together at the moment that have nothing to do with each other. There MAY be an issue with jQueryAdmin (which moves inline JS into the footer), but at the moment I can't tell. I cannot check AdSenSe for I don't use it. Maybe I can check the OfficeTime Template later. (I'm on holiday at the moment...)

Just one hint: I found a note on a jQuery Plugin page (ceeBox) that sometimes the $() syntax has to be replaced with jquery() to prevent problems with other scripts.

Also, try to put the JavaScript (for AdSenSe or whatever) into an external file. This may help, but I can't promise. :roll:

Thanks to Vincent for the NL translation! :lol: It will be included in the next version. :-D
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: mr-fan on May 28, 2010, 01:40:28 PM
Quote
Sorry, I'm a bit confused. huh I think there are several things mixed together at the moment that have nothing to do with each other. There MAY be an issue with jQueryAdmin (which moves inline JS into the footer), but at the moment I can't tell. I cannot check AdSenSe for I don't use it.

I've a Adsense Account and if i've time the next days i'll test this issue!

I Think it's very simple Problem:

->Adsense _must_ loaded exactly where you wanna show the ad!
->jQueryAdmin catch Inline JS and put it to the Footer/Header...

The same Problem with Inline Scripts in Templates/modules and so on!

I Think there should be a simple Optionbox in the Mod  []Sample and remove Inline JS (j/n)

and all Problems are lost...if needed deactivate this funktion and all works! (@bianka: Pls. send me an Email where i find fast the right place in your mod to deactivate it for some tests? ...you know better than me where to go...)

@avitaly: Just a short test!

- Install the code² Mod from AMASP!
- Put your Adsense Code in a code² Block (set it to Javascript) in a content Block!
- Deactivate jQueryAdmin (not use any Droplet!

= Adsense must work now - if not i think i can't help further (this methode i've used for a few older installations...)

regards martin
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 28, 2010, 01:45:26 PM
I Think it's very simple Problem:

->Adsense _must_ loaded exactly where you wanna show the ad!
->jQueryAdmin catch Inline JS and put it to the Footer/Header...

The same Problem with Inline Scripts in Templates/modules and so on!

I Think there should be a simple Optionbox in the Mod  []Sample and remove Inline JS (j/n)

Yes, I already thought about it, but I'm not sure if it is good enough to deactivate that option globally. I thought about having a markup like the <!-- position: body --> markup (maybe additionally) to let the droplet know to not touch the code. Like this:

Code: [Select]
<script...>
// jQueryAdmin_ignore
...code going here
</script>
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 28, 2010, 01:51:18 PM
(@bianka: Pls. send me an Email where i find fast the right place in your mod to deactivate it for some tests? ...you know better than me where to go...)

I think that's a bit too complex. Just let me create a v1.2 with the option to activate/deactivate the parsing of inline JS. But this will take some time. (Holidays...) :roll:

What you can do:

* Create the page with the AdSenSe Code, including the jQueryAdmin Droplet
* If the error occurs, store that page as static HTML (File -> Save as...)
* Open that HTML file with your browser -> should look like rendered with WB, including the error
* Move the AdSenSe Code (and ONLY that code!) to the place where it should be
* Reload the HTML file

If this fixes the error, we have proven that it is caused by JQAdmin. :wink:
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 28, 2010, 03:05:00 PM

@avitaly: Just a short test!

- Install the code² Mod from AMASP!
- Put your Adsense Code in a code² Block (set it to Javascript) in a content Block!
- Deactivate jQueryAdmin (not use any Droplet!

= Adsense must work now - if not i think i can't help further (this methode i've used for a few older installations...)

regards martin

Adsense code works perfectly inline when no droplet is used ... and works also when JQuery is called manually (in header). What I need is to be to use JQueryadmin + Adsense  :?

thanks!
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 28, 2010, 03:26:51 PM
I think you will have to wait for my analysis and a fix. :wink:
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 28, 2010, 03:40:44 PM

What you can do:

* Create the page with the AdSenSe Code, including the jQueryAdmin Droplet
* If the error occurs, store that page as static HTML (File -> Save as...)
* Open that HTML file with your browser -> should look like rendered with WB, including the error
* Move the AdSenSe Code (and ONLY that code!) to the place where it should be
* Reload the HTML file

If this fixes the error, we have proven that it is caused by JQAdmin. :wink:

Adsense does not work locally ...   :| I mean, it does not work in any case. So I've put the scripts in the header of the template, deactivated the droplet and ... it works.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 28, 2010, 04:14:42 PM
By now I'm putting in the header
<script src="http://...etc.../modules/jqueryadmin/jquery-1.4.2/jquery-1.4.2.min.js" type="text/javascript"></script>

<script src="http://...etc.../modules/jqueryadmin/jquery-ui-1.8/ui/jquery.ui.core.min.js" type="text/javascript"></script>

+ the needed css files

and in the section created in the footer the scripts requested for the single page.

Of course I'm using JQueryAdmin to create/modify the presets ... So thank you thank you thank you!
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 28, 2010, 07:16:35 PM
I did not say "locally", I just said "static HTML". ;)
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 28, 2010, 07:29:39 PM
 :-D

Anyway, I've placed the code without JQueryAdmin, and everything is working fine ...
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 28, 2010, 07:42:31 PM
Okay, I will analyse this issue and try to include a fix in the next version.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on May 29, 2010, 11:05:14 AM
Cause I needed it for one of my sites I created a bxSlider (http://bxslider.com/) plugin, available on the jquery-library page (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php).

rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: quinto on May 30, 2010, 08:12:38 PM
Hi :)
Here is the FR.php file for the version 1.1 of JqueryAdmin, thanks for this very useful module (my next module will probably need JqueryAdmin, thus, i prefer to translate it in french it will be more useful) :


[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on May 30, 2010, 09:26:28 PM
That's great, thank you! So we have complete translations for EN, DE, FR, NO and NL now! :lol: :lol: :lol:
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: avitaly on May 31, 2010, 12:28:42 AM
Italian language too!

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on May 31, 2010, 07:23:28 PM
Based on this post
http://www.websitebaker2.org/forum/index.php/topic,13655.msg122330.html#msg122330

I used a jquery plugin on the wb-installer:
I like it.

rgds

erpe

edit: it even works with js disabled...

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: crnogorac081 on May 31, 2010, 08:15:36 PM
I like the wizard, it looks cool..
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 01, 2010, 12:25:41 PM
Italian language too!

Wow, that's great!!! :-D :-D :-D :-D :-D Thank you!!!

Edit: All additional language files are linked on my jQueryAdmin page -> http://www.webbird.de/WebsiteBaker/JQueryAdmin

I will include all the files in the next release.
Title: featureList plugin
Post by: erpe0812 on June 02, 2010, 10:05:13 AM
There was a question on the forum in the last days about the starting item at featureList plugin (couldn't find the post now). For all who are interested in this:

Edit the the featureList preset file in the preset directory of jqueradmin module via AFE around line 14 and set
Code: [Select]
start_item :0
That will do the trick.


rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: pieterb on June 05, 2010, 09:23:58 AM
Hi everybody,

I've installed the latest version of jQuery Admin and tried to use prettyBox and ceeBox, but I get an error:
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 16
This is in the jqueryadmin/include.php file. Anyone else have this problem? Any way to fix it?
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: crnogorac081 on June 05, 2010, 10:03:31 AM
perhaps your serever use some older php version, like 4.x ?
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: pieterb on June 05, 2010, 11:35:46 AM
Nope, it's version 5.2.9.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 05, 2010, 01:34:46 PM
jQueryAdmin does not work with 5.1.x and lower. But as I am developing it with 5.2, the error should not occur there.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 07, 2010, 06:25:34 PM
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 16

Maybe you have downloaded a corrupt version of v1.1? There was an error with a regular expression I fixed at once without creating a new version, 'cause the download was only a few minutes old at that time. I never thought someone could have catched it in that short time. Please try to download it again and replace the include.php. If the error persists, please post the complete error message. (Including the line number.) Thank you.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 07, 2010, 06:28:58 PM
Announcement: Upcoming v1.2

- Update to jQueryUI 1.8.2
- added/updated language files:
         * NO.php (thanks to "oeh")
         * FR.php (thanks to "quinto")
         * NL.php (thanks to "Vincent")
         * IT.php (thanks to "avitaly")
- added nearly all available options to default.preset of Fancybox for easier customizing (missing: 'ajax' and 'swf')
- Fix: do not touch inline JS in the page body (fixes some issues with Google AdSense and other JS)

There's to do some testing, so I hopefully can release a beta of that version around Friday. If someone wants to test that issue with Google AdSense using a pre-release version, please send me a PN with your mail address.

Edit (2010-06-15): Unfortunately, I have not received any test results yet. So please be patient.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: Argos on June 17, 2010, 01:31:58 AM
I tried jQueryAdmin tonight, but when I put [[jQueryInclude]] in my template the result is a blank page with this source:

<!DOCTYPE html PUBLIC  "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
<head></head>
<body></body>
</html>

I use the version 1.1, I tried all positions for [[jQueryInclude]] (header, footer, code section, WYSIWYG, hard coded), I tried different templates. I get this result any time. My PHP version is 5.26. What can be wrong?
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 17, 2010, 12:22:01 PM
Try to activate debugging (include.php):

Code: [Select]
$debug_level     = KLogger::OFF;
#$debug_level     = KLogger::DEBUG;

Remove the # on the second line and call the page again. After doing so, you will get a log-file in the jQueryAdmin folder.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: Argos on June 17, 2010, 12:59:45 PM
Yes, I did that. Now what?  :-o
I'm not a coder, I see my template source code, followed by all kinds of statements and info that I don't understand.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: Argos on June 17, 2010, 01:09:58 PM
Even when I try the Blank template with a few random characters as the only content, it doesn't show anything. It seems that the droplet code stops everything.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 17, 2010, 01:54:44 PM
Yes, I did that. Now what?  :-o

Send me the contents. :wink:

Can I have access to that page? (Backend, too.)
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: pieterb on June 17, 2010, 03:49:08 PM
Sorry, I didn't receive any mails about new posts... The problem still exists. This is the complete error message:

Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 16 in /var/www/vhosts/jameskeene.nl/httpdocs/modules/jqueryadmin/include.php on line 469

Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 16 in /var/www/vhosts/jameskeene.nl/httpdocs/modules/jqueryadmin/include.php on line 469

Warning: preg_replace() [function.preg-replace]: Compilation failed: unrecognized character after (?< at offset 16 in /var/www/vhosts/jameskeene.nl/httpdocs/modules/jqueryadmin/include.php on line 260

Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 16 in /var/www/vhosts/jameskeene.nl/httpdocs/modules/jqueryadmin/include.php on line 469

Warning: preg_replace() [function.preg-replace]: Compilation failed: unrecognized character after (?< at offset 16 in /var/www/vhosts/jameskeene.nl/httpdocs/modules/jqueryadmin/include.php on line 260

I just downloaded and installed the latest version from AMASP, so that shouldn't be the problem. Hopefully there is a fix...
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 17, 2010, 04:29:39 PM
Make sure you have PHP >= 5.2.6! You said you have 5.2.9, but the error message shows you haven't. :roll:
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 17, 2010, 04:32:06 PM
You may try this:

Open include.php, find:

Code: [Select]
$css_regexp = array(
    'linked' => '#<link'
              . '(?:'
              .    '(?:.*(?<rel>(?<=rel=")[^"]stylesheet(?="))[^>]*)'
              .    '|'
              .    '(?:.*(?<href>(?<=href=")[^"]*(?="))[^>]*)'
              .    '|'
              .    '[^>]*'
              . ')>'
              . '#i',
    'inline' => "#<style(?:[^>]*>)(.*?)</style>#ism"
);

Replace with:

Code: [Select]
// regular expressions matching CSS
$css_regexp = array(
    'linked' => '#<link'
              . '(?:'
              .    '(?:.*(?P<rel>(?<=rel=")[^"]stylesheet(?="))[^>]*)'
              .    '|'
              .    '(?:.*(?P<href>(?<=href=")[^"]*(?="))[^>]*)'
              .    '|'
              .    '[^>]*'
              . ')>'
              . '#i',
    'inline' => "#<style(?:[^>]*>)(.*)</style>#ism"
);
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: pieterb on June 17, 2010, 05:02:00 PM
Thanks so much, this did the trick!

And I ran phpinfo() and there it said it was version 5.2.9... I wouldn't know how else to check.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 17, 2010, 08:02:21 PM
Hm. However. :roll: The fix will be included in the next version.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 18, 2010, 10:50:47 AM
Again, it seems that upgrading the include.php to the new one (of version 1.2) fixed the problem Argos reported. So, I decided to release that version though I haven't received any test results concerning the Google AdSense problem. Please treat this version as a "Beta", 'cause it also includes an update of the jQuery UI.

http://www.websitebakers.com/pages/libs/jqueryadmin.php

- Update to jQueryUI 1.8.2
- added/updated language files:
         * NO.php (thanks to "oeh")
         * FR.php (thanks to "quinto")
         * NL.php (thanks to "Vincent")
         * IT.php (thanks to "avitaly")
- added nearly all available options to default.preset of Fancybox for easier customizing (missing: 'ajax' and 'swf')
- Fix: do not touch inline JS in the page body (hopefully fixes some issues with Google AdSense and other JS; I haven't received any test results yet)
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on June 22, 2010, 06:35:31 PM
"pieterb" reported a problem here http://www.websitebaker2.org/forum/index.php/topic,18562.0.html with jQueryAdmin and Form module. I found that this is caused by missing register_frontend_m odfiles() calls in the template. I don't know yet why this duplicates the form (4 times), but adding  the register_frontend_m odfiles() call to the template fixes that issue.

Edit: I found out that the problem was caused by a regular expression (matching inline style sheets) that matched too much content. If you need a quick fix, open the include.php of jQueryAdmin and replace:

Code: [Select]
// regular expressions matching CSS
$css_regexp = array(
    'linked' => '#<link'
              . '(?:'
              .    '(?:.*(?P<rel>(?<=rel=")[^"]stylesheet(?="))[^>]*)'
              .    '|'
              .    '(?:.*(?P<href>(?<=href=")[^"]*(?="))[^>]*)'
              .    '|'
              .    '[^>]*'
              . ')>'
              . '#i',
    'inline' => "#<style(?:[^>]*>)(.*)</style>#ism"
);

with:

Code: [Select]
// regular expressions matching CSS
$css_regexp = array(
    'linked' => '#<link'
              . '(?:'
              .    '(?:.*(?P<rel>(?<=rel=")[^"]stylesheet(?="))[^>]*)'
              .    '|'
              .    '(?:.*(?P<href>(?<=href=")[^"]*(?="))[^>]*)'
              .    '|'
              .    '[^>]*'
              . ')>'
              . '#i',
    'inline' => '#<style[^>]+>((?!</style>).+?)</style>#ism'
);

Anyway, please make sure that you always have the register_* thingy in your template! Otherwise, you will have notice other problems. (CSS not loaded and so on.)
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on June 26, 2010, 10:20:19 AM
I added a CeeBox example to the jQuery Showroom (http://jquery.websitebakers.com/plugins/lightbox/ceebox.php)

CeeBox Plugin can be downloaded at AMASP (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php).

rgds

erpe

btw: jQuery Showroom site now uses superfish plugin for main navigation
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: Argos on June 26, 2010, 11:45:58 AM
btw: jQuery Showroom site now uses superfish plugin for main navigation

Smooooooth....  :-D  I love Superfish, I use it on a current site I'm working on as well.
Maybe it's possible to use it on AMASP as well?
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on June 26, 2010, 12:02:06 PM
Quote
I love Superfish
me too

Quote
Maybe it's possible to use it on AMASP as well?
sure  :-D

But it is more complex and I have to look a little deeper into it, but when I find some time to do it, I'll do.

rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 08, 2010, 11:20:47 AM
New version 2.0 will be available soon. At the moment, it is tested at AMASP and on other locations. After that tests are finished, a Public Beta will be available.

New:

* Completely rewritten Parser based on Simple HTML DOM Parser. (That's why it's v2.0)
* Ability to use jQueryAdmin Presets in Backend modules. (see below)
* Existing default.jquery will no longer be overwritten on update.

Using jQueryAdmin Presets in the backend

This feature requires that there are no hardcoded jquery.min.js in the backend template*), as is in the current WB 2.8.1 release. Unfortunately, the core developers refuse to change this behaviour, though there are other problems besides of jQueryAdmin reported with this hardcoded jquery.min.js.

*) jQueryAdmin has a workaround to fix this. I use it with a module that's not available yet, and it works fine. :wink:

Anyway, as this feature was requested for jQueryAdmin, I have implemented it now. I was warned that this will lead to a "warning" to use jQueryAdmin on the official WB Page. But I think it's to the developers and users of WB to decide what they like to use, not to the core developers.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 14, 2010, 10:47:39 AM
There's a first Beta available in the German Forum: http://www.websitebaker2.org/forum/index.php/topic,18173.msg124878.html#msg124878

For testing, follow these steps:

* rename the "jqueryadmin" folder of version 1.2
* create a new folder named "jqueryadmin"
* extract the archive into a temporary folder
* upload the contents into the new (empty) directory
* copy the contents of your "old" presets folder into the new one

If you don't have an older installation of jQueryAdmin, just install like any other module.

Let me know how it goes.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 14, 2010, 04:39:19 PM
Translations needed!

There are some new language strings that need translations.

Quote
   'Configuration saved to file'
    'Please consult the Plugin documentation for details on how to set these options!'
    'Reset to defaults'
    'Configure Preset'

Translations are incomplete for NL, NO, FR, IT.

Thanks in advance for your help!
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: oeh on July 14, 2010, 05:18:09 PM
Quote
   'Configuration saved to file' --> 'Konfigurasjonen ble lagret til fil'

    'Please consult the Plugin documentation for details on how to set these options!' -->
    'For nærmere detaljer om disse innstillingene, se Plugin dokumentasjonen.'

    'Reset to defaults' --> 'Gjenopprett standard innstillingene'

Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 14, 2010, 05:35:16 PM
Thank you! :lol:
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 28, 2010, 07:45:57 PM
You're invited to check out the beta now:

http://www.websitebaker2.org/forum/index.php/topic,18867.msg125864.html#msg125864

(Thread is in German language)

Let me know what you're thinking.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on July 28, 2010, 11:02:23 PM
Please notice:
all plugins offered at AMASP (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php) yet  are not working with this jQueryAdmin_2beta_r elease.

As soon as this module is going to be final plugins on AMASP will be reworked to this release and will no longer work with release < 2.0 then.

rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 29, 2010, 10:34:05 AM
all plugins offered at AMASP (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php) yet  are not working with this jQueryAdmin_2beta_r elease.

Well, they should. :-o You're just not able to use the new backend features with them. If they don't work with 2.x, it's a bug.
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 29, 2010, 10:41:28 AM
No, _you're_ right. The new folder structure is a problem. :| Some of the "old" Plugins won't find the JS because the folders and some of the scripts are renamed. Well, there is a workaround for this, but I think, a "hard cut" is better. :-D

Edit: Woops. Don't delete your postings while I'm answering. :-D
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on July 29, 2010, 10:46:27 AM
Quote
Edit: Woops. Don't delete your postings while I'm answering. grin

Sorry, but I would not provide a wrong information.
So on the one hand I am happy that I am right, on the other hand it is still some work to modify the plugins.

But as you said:
Quote
but I think, a "hard cut" is better

rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 29, 2010, 10:54:07 AM
Well, it's just some "Find&Replace", with the advantage of having more options after doing this. Also, it's a good possibility to upgrade plugins (Colorbox 1.3.6 to 1.3.9, for example), and there are some thoughts about combining JQA2 with FolderGallery. So, it's a good thing, though it's a bit work. :-D
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: erpe0812 on July 29, 2010, 11:05:24 AM
Quote
some thoughts about combining JQA2 with FolderGallery.
That would be fine.
So double  all jQuery sripts is not neccessary?

This would really be a step forward.

rgds

erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 29, 2010, 11:12:59 AM
I suggested to check if JQA2 is installed. If yes, use it, if no, use jQuery from inc-folder.

Also, the Lightbox Plugins provided for JQA2 can be enhanced very simple with a htt-file the FG needs to know how to create the correct markup. If the FG finds such a file, it can provide the Lightbox in the choices.

Very simple and clean. :-D
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 29, 2010, 06:02:19 PM
I've begun to create an English page for JQA2.

http://www.webing.de/webbird/WebsiteBaker/JQueryAdminUsage

It's just a first step. Help welcome. :-D

Please note that there are some new language strings in Version 2.x that need to be translated.

http://www.websitebaker2.org/forum/index.php/topic,17705.msg124978.html#msg124978

Thanks in advance!
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: Sander on July 30, 2010, 02:27:28 PM
'Configuration saved to file' -> Configuratie opgeslagen
'Please consult the Plugin documentation for details on how to set these options!' -> Raadpleeg de Plugin documentatie voor details hoe deze opties ingesteld kunnen worden!
'Reset to defaults' -> Herstel naar standaardwaarden
'Configure Preset' ->  Configureer instellingen
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on July 30, 2010, 02:35:20 PM
Fantastic, thank you very much! :-D :-D :-D
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on August 02, 2010, 12:23:20 PM
There's a last Beta available here: http://www.websitebaker2.org/forum/index.php/topic,18867.0.html

The thread is in German language.

The integration of jQueryAdmin (since Beta8) and Foldergallery (v1.02) is complete now. :-D I'd be happy to integrate other modules as well. Just let me know what you need.
Title: Re: New Module: jQueryAdmin v2 released
Post by: erpe0812 on August 02, 2010, 06:53:34 PM
Hi there

jQueryAdmin (http://www.websitebakers.com/pages/libs/jqueryadmin.php) v.2 module was released.
All plugins  from AMASP Plugins Page (http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php) are now working with release 2 only.

All Lightbox plugins are ready to use with Foldergallery vers. >1.02.

jQuery Plugin Showroom (http://jquery.websitebakers.com/) is running with latest jQueryAdmin and updated plugins.

rgds


erpe
Title: Re: New Module: jQueryAdmin v1.1 stable
Post by: BlackBird on August 02, 2010, 07:11:11 PM
Thanks, erpe! :-D
Title: Re: New Module: jQueryAdmin v2.0
Post by: BlackBird on August 03, 2010, 06:42:53 PM
Shortly, there will be some new Lightbox Plugins available at AMASP. "Lightbox" is already available, piroBox, GalleryView and ZoomBox will follow. All Lightbox Plugins are "Foldergallery ready". :-D

Edit 05.08.: piroBox and ZoomBox are ready for download, too. "GalleryView" is listed under it's own category. Upcoming: TopUp.

Edit 11.08.: TopUp is already available. Today, the new Plugin "Livetwitter" was added. Feel free to post your wishes for nice plugins to add to the library here. :-D
Title: Re: New Module: jQueryAdmin v2.0
Post by: BlackBird on August 13, 2010, 11:37:32 AM
jQueryAdmin v2.1 released!

I have just released jQueryAdmin v2.1 -> http://www.websitebakers.com/pages/libs/jqueryadmin.php


Future plans

As there are some Plugins that need some more customization (like bMap, a Google Maps Plugin), I am going to use the (mostly emtpy) config.php for this. So, you will be able to put your Google API Key into the right places using the jQueryAdmin Backend, for example. So stay tuned, there's still some enhancement possible. :wink:
Title: Re: New Module: jQueryAdmin v2.1
Post by: BlackBird on August 27, 2010, 11:29:56 AM
A Beta is available for version 2.2 -> http://www.websitebaker2.org/forum/index.php/topic,18173.msg127870.html#msg127870 (German jQueryAdmin Thread)
Title: Re: New Module: jQueryAdmin v2.1
Post by: BlackBird on August 30, 2010, 07:38:46 PM
I am working on my english pages to make jQueryAdmin available for english speaking Bakers, too.

http://www.webbird.de/en/index.php?n=WebsiteBaker.JQueryAdmin

This is work in progress, so please take a look from time to time to see what's new. Feel free to post suggestions and/or questions here; I am trying to enhance my pages as fast (and good) as I can.
Title: Re: New Module: jQueryAdmin v2.1
Post by: BlackBird on August 31, 2010, 12:23:20 PM
I've just released v2.2.

- use of config.php in plugins for extended config options (example: bMap Google Maps Plugin)
- fix: wrong quoting in plugin config files after editing
- feature change: only custom presets contents can be edited, not the contents of the plugins presets
- fix: older IE versions don't like a "," (comma) after the last item of an array :x

http://www.websitebakers.com/pages/libs/jqueryadmin.php?lang=EN
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 01, 2010, 06:37:11 PM
Please note that it is _not_ possible to edit/use presets located in the template's folder. Will be fixed in the next version. Sorry for inconvenience. :oops:
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 04, 2010, 02:34:38 PM
Hi,

I tried to install this module and all was ok untill i checked backend Admin-tools, there is link to jQueryAdmin V2.x but after klicking that there is no presets-link and no jqueryfolder etc.  only blank adminpage with text

Administration tools >> jQueryAdmin V2.x

What should i do otherways

Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 04, 2010, 02:46:19 PM
hi, more infos please.

wb-version, php-version ...
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 04, 2010, 02:55:09 PM
WB 2.8.1 php 5.2.9
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 04, 2010, 03:06:52 PM
now we have to wait for hardcore.birdie.bet a.1 ...  :-)
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 04, 2010, 03:12:35 PM
sorry...?

WB 2.8.1 revision 1285 admin 1.4
Title: Re: New Module: jQueryAdmin v2.2
Post by: erpe0812 on September 04, 2010, 04:41:27 PM
Quote
now we have to wait for hardcore.birdie.bet a.1 ...  smiley
This is for "insiders" only  :-D

Please set error level to E_ALL in the settings and report

rgds

erpe
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 04, 2010, 05:04:45 PM
ok

here we are with E_ALL


Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/greatmed/public_html/demo1/modules/jqueryadmin/inc/parser.inc.php on line 33
 
Title: Re: New Module: jQueryAdmin v2.2
Post by: erpe0812 on September 04, 2010, 05:39:01 PM
Are you sure that php is 5.2.9 ?

rgds
erpe

Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 04, 2010, 05:56:55 PM
yes, just checked from my web-hotel

php 5.2.9

Apache vers 2.2.15

MySQL versio 5.0.90-community
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 06, 2010, 09:29:15 AM
I can confirm that the jQueryAdmin Backend is not working correctly with WB Portable. (Haven't found the reason yet.) But it should work with any other version. Please make sure that WB is running with PHP 5.x! (Most providers let you choose 4.x or 5.x, so maybe the backend of your provider's config tool says something different.) Happened more than once. :wink:
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 06, 2010, 09:34:17 AM
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/greatmed/public_html/demo1/modules/jqueryadmin/inc/parser.inc.php on line 33

This is VERY strange! This is just the beginning of a PHP class, so I'm pretty sure it cannot be PHP5 WB uses.
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 06, 2010, 07:08:44 PM
ok, thanks

do i have any possibilities to find out the real version without contacting web provider

Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 06, 2010, 07:39:49 PM
BlackBird very much thank YOU!

It was as you said,  obviously default was 4.x altought they gave info about 5.x

rgds
topper

ps. works fine now
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 06, 2010, 07:43:32 PM
Well, this is a very common problem. :| I'm happy that you found a solution now.
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 22, 2010, 12:43:41 PM
Hi,

I tried to make a plugin from this slider

 http://www.htmldrive.net/items/demo/570/Number-slideshow-simple-and-practical-numbers-image-slideshow-jQuery-plugin

but cant get it work...  any advise

rgrds
topper

attached plugin zip

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 22, 2010, 12:47:35 PM
don't call this.
Code: [Select]
<script type="text/javascript" src="{WB_URL}/modules/jqueryadmin/plugins/number_slideshow/jquery-1.3.2.min.js"></script>
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 22, 2010, 12:57:04 PM
Okay, for all that are going to pack a plugin for use with jQueryAdmin:

Never add the jQuery Core to default.preset or loader.preset!

jQueryAdmin makes sure that the core is loaded to the page, so you don't have to add it manually.
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 22, 2010, 01:09:51 PM
Try this for default.preset:

Code: [Select]
<link rel="stylesheet" type="text/css" href="{WB_URL}/modules/jqueryadmin/plugins/number_slideshow/number_slideshow.css" media="screen" />
<script type="text/javascript" src="{WB_URL}/modules/jqueryadmin/plugins/number_slideshow/number_slideshow.js"></script>
<!-- position: body -->
<!-- settings below -->
<script language="javascript" type="text/javascript">
$(function() {
$("#number_slideshow").number_slideshow({
slideshow_autoplay: 'enable',//enable disable
slideshow_time_interval: '3000',
slideshow_window_background_color: "#ccc",
slideshow_window_padding: '1',
slideshow_window_width: '600',
slideshow_window_height: '249',
slideshow_border_size: '1',
slideshow_border_color: 'black',
slideshow_show_button: 'enable',//enable disable
slideshow_button_text_color: '#CCC',
slideshow_button_background_color: '#333',
slideshow_button_current_background_color: '#666',
slideshow_button_border_color: '#000',
slideshow_button_border_size: '1'
});
});
</script>

You can move the settings part to loader.preset to make this editable from the JQA backend if you wish.

Edit: Attached there is a reworked plugin. I moved the settings part to the loader.preset and created an empty config.php to make the settings editable from the JQA backend. The only other change is the deletion of the jquery core file (it's included with JQA, so you don't need it in the plugin) and the core call like described above.

Thank you for sharing this, topper!

[gelöscht durch Administrator]
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 22, 2010, 02:00:32 PM
ok, thanks for the fast reply

i loaded reworked plugin but it doesnt help do you need more info

other plugins works ok

you can check it here http://www.greatmedia.fi/malli/pages/mainosbanner/banner-3.php (http://www.greatmedia.fi/malli/pages/mainosbanner/banner-3.php)


t:
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 22, 2010, 02:14:27 PM
there is a call for jquery-min.js
Code: [Select]
http://www.greatmedia.fi/malli/include/jquery/jquery-min.js
it's 2 much, away with this.
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 22, 2010, 02:28:17 PM
not yet   

and next
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 22, 2010, 03:02:26 PM
Code: [Select]
<div id="number_slideshow1" class="number_slideshow">not id="number_slideshow1"
only id="number_slideshow"
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 22, 2010, 03:10:47 PM
thanks a lot u r great

only one one made this

rgrds
topper
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 22, 2010, 03:13:24 PM
nice plugin, thanks to you and blackbird
Title: Re: New Module: jQueryAdmin v2.2
Post by: topper on September 22, 2010, 03:19:18 PM
jep jep, my thanks to blakcbird too
Title: Re: New Module: jQueryAdmin v2.2
Post by: masarin on September 24, 2010, 02:10:51 PM
I can see there's  a new jQueryPlugins Showroom at websitebakers.com.
Very nice.
I also noticed that for Colorbox (my choice of Lightbox plugin) there is only one style presented, when the plugin actually comes with 5 different prestyled CSS that you could choose from.

Would be nice to be able to see thoose different looks on the webpage:
http://jquery.websitebakers.com/plugins/lightbox-effects/colorbox.php?lang=DE

Check out the five different demonstration exampels on the colorbox web page.
http://colorpowered.com/colorbox/
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 24, 2010, 03:09:00 PM
you can change the style: modules/jqueryadmin/colorbox/default.preset

not?
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 24, 2010, 03:51:57 PM
Thank you for suggestion.
The Showroom is meant for a first glance at the plugins that are already packed for use with jQueryAdmin and for a quick compare. It is not meant to show all options and/or features of each and every plugin. This is what the author's pages are for. The only thing I could imagine is to add a link to the plugin's homepage to each page in the showroom.
Title: Re: New Module: jQueryAdmin v2.2
Post by: lausianne on September 25, 2010, 09:35:33 PM
I only discovered jQueryAdmin recently, very cool. What's your favourite chocolate???

There's one problem I have with ClueTip: Applied to a link, the link doesn't work anymore. It is still displayed as a link, the cursor changes, but when I click, nothing happens.

Code: [Select]
<a class="cltitle" title="Logo|Das ist ein Logo!" href="<?php echo WB_URL?>">
Any idea? Does nobody else have that problem?

Thanks!
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 27, 2010, 10:22:11 AM
Ahm, yes, I remember there was something called "clickthrough"... Wait a minute... Ah, here it is:

http://plugins.learningjquery.com/cluetip/#options

Set "clickthrough" to true. You can do it in the ClueTip Options directly (save your preset again after doing this), or especially for your preset by editing it. "false" is the default, so I didn't change this.
Title: Re: New Module: jQueryAdmin v2.2
Post by: lausianne on September 27, 2010, 11:09:33 AM
Thanks, great!

Meanwhile I continued my JQA adventures with the FolderGallery. Works very well, basically. Only ColorBox did not work well with IE, so I tried Slimbox. Slimbox looks good everywhere, but I cannot browse the images in the gallery. Apparently that's because the rel attribute contains 'lightbox' only, while it should contain a group name, too.
How do I get the group name in there? (I already went through the source code but couldn't find it ...)

Thanks again.
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 27, 2010, 11:24:47 AM
Just add a custom group name to the rel.

Quote from the Slimbox Homepage:

Quote
For sets of related images that you want to group and make navigable, add a group name to the rel attribute just after the “lightbox” word, for example:

<a href="images/image-1.jpg" rel="lightbox-atomium">image #1</a>
<a href="images/image-2.jpg" rel="lightbox-atomium">image #2</a>
<a href="images/image-3.jpg" rel="lightbox-atomium">image #3</a>

http://www.digitalia.be/software/slimbox (scroll to ~ middle of that page)
Title: Re: New Module: jQueryAdmin v2.2
Post by: lausianne on September 27, 2010, 11:38:12 AM
How???
Where can I change what goes into the a-tag?

(and why is your signature censored? I found it useful ...)
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 27, 2010, 11:58:42 AM
Hm, I think you will have to do it "by hand" after adding the linked image to the WYSIWYG-Section. (Source Code view.)

I changed my Sig because I was pointed to the fact that it does not meet the forum conditions.
Title: Re: New Module: jQueryAdmin v2.2
Post by: kweitzel on September 27, 2010, 12:01:27 PM
Her Signature was censored by herself because it violated the Terms & Conditions by having more that one Link and at least one to a commercial non-wb site

Code: [Select]
Account Signatures
The following rules apply to account signatures:

    * Only use one picture if you need it, maximal size: 600x100 Pixel and 20kb.
    * The “most important rules” of course are also valid here.
    * Only 1 normal, non-commercial link to a WB-site is allowed. Shortened links are not allowed (tinyurl, etc)

 ... it was one of the things we tolerated for active members.

Than will change for everybody.

cheers

Klaus
Title: Re: New Module: jQueryAdmin v2.2
Post by: lausianne on September 27, 2010, 01:58:18 PM
I cannot do it by hand, because Foldergallery kindly adds images and links automatically.
After spending all morning on this, I still couldn't figure it out. I don't see where 'rel="lightbox"' is added to the tag or how to change it.
There must be a very simple solution ...
Title: Re: New Module: jQueryAdmin v2.2
Post by: dbs on September 27, 2010, 02:14:20 PM
the answer must be in the template-file (.htt) of slimbox
Title: Re: New Module: jQueryAdmin v2.2
Post by: lausianne on September 28, 2010, 10:41:28 AM
Thank you, dbs, that was it. Simple indeed.
In foldergallery_templ ate.htt of the Slimbox2 plugin.
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 30, 2010, 11:23:56 AM
Ah. I will add a predefined group name to that file. Will be included with the next release of JQA. Thanks to dbs for finding this. :)
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on September 30, 2010, 06:29:17 PM
Announcement

jQuery UI 1.8.5 was released (http://blog.jqueryui.com/2010/09/jquery-ui-1-8-5/), so I am going to release JQA 2.3 soon.

- fix: Handling of presets in the template folder didn't work
- fix: foldergallery_templ ate.htt for FancyBox
- fix: foldergallery_templ ate.htt for SlimBox2 (added group name to rel-attribute)
- Update: jQuery UI 1.8.4 -> 1.8.5
- new: Preview for each jQuery UI Effect

Here's a beta for testing. (Sorry, dbs, still with the "Beta" Suffix in the version number ;) )

Edit: Removed attachment. Release version available at AMASP.
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on October 04, 2010, 06:16:09 PM
Ah, now I found out who sent me that great gift!  :lol:

@lausianne: Thank you very much! I have posted in German here -> http://www.websitebaker2.org/forum/index.php/topic,18173.msg131312.html#msg131312
Title: Re: New Module: jQueryAdmin v2.2
Post by: BlackBird on October 18, 2010, 05:51:14 PM
Version 2.3 is available now at AMASP: http://www.websitebakers.com/pages/libs/jqueryadmin.php?lang=EN

- Update: jQuery UI 1.8.4 -> 1.8.5
- Update: jQuery Core 1.4.2 -> 1.4.3 (http://blog.jquery.com/2010/10/16/jquery-143-released/)
- new: Preview for each jQuery UI Effect
- new: Option to show the page name for page based presets (<ID>.jquery)
- fix: Handling of presets in the template folder didn't work
- fix: foldergallery_templ ate.htt for FancyBox
- fix: foldergallery_templ ate.htt for SlimBox2 (added group name to rel-attribute)
- fix: Protect backend.jquery from being modified/deleted

Please note that there is a "known Bug" at the moment! The preset contents (source code) cannot be edited using the appropriate icon in the backend. Use AFE as a workaround. This will be fixed in the next version. (Of course!)

Also, as of the new version of the jQuery core (v1.4.3), you will need to upgrade the Colorbox plugin, too. Colorbox 1.3.10 is available at AMASP: http://jquery.websitebakers.com/plugins/download.php
Anyway, there's a known issue with that version and IE. See http://groups.google.com/group/colorbox for more details.
Title: Re: New Module: jQueryAdmin v2.3
Post by: ChrusR on October 18, 2010, 11:21:13 PM
Thx for the work! One of the advanced modules...
Title: Re: New Module: jQueryAdmin v2.3
Post by: BlackBird on November 11, 2010, 06:57:23 PM
The sixth maintenance release of jQuery UI is out (v1.8.6), so a new version of jQueryAdmin is necessary. :wink: This is your chance to post your suggestions to be included with the next version...
Title: Re: New Module: jQueryAdmin v2.3
Post by: BlackBird on November 12, 2010, 06:21:32 PM
I've uploaded v2.4 to AMASP today. No new features, just updates:

* jQuery Core 1.4.3 -> 1.4.4
* jQuery UI 1.8.5 -> 1.8.6
Title: Re: New Module: jQueryAdmin v2.3
Post by: BlackBird on November 16, 2010, 08:14:27 AM
Please note: Due to constant problems accessing this forum, I am not able to support my modules the way I'd like to, so I am forced to find another way. I am going to replace my old phpBB Forum with a new one, so I can support my modules as good as I can on my own homepage. I am very sorry that I am forced to this step, but this is beyond my control.
Title: Re: New Module: jQueryAdmin v2.4
Post by: dbs on November 16, 2010, 08:29:03 AM
"funny" ... yesterday i wrote to klaus a pm.
i think and hope this problem is solvable.
Title: Re: New Module: jQueryAdmin v2.4
Post by: masarin on November 17, 2010, 11:04:43 AM
Hi, and thank you for the nice module.

I have a small problem though:

I can't get the Colorbox Plugin (1.3.9) to work with Jqueryadmin V2.4.
It works fine with V2.2.

maybe the Colorbox Plugin needs to be uppdated too? The current version of Colorbox is 1.3.14
http://colorpowered.com/colorbox/ (http://colorpowered.com/colorbox/)
Title: Re: New Module: jQueryAdmin v2.4
Post by: BlackBird on November 17, 2010, 07:54:20 PM
Current version available at AMASP is 1.3.13. There were several changes to make the Colorbox work with newer jQuery Core. Take a look at the changelog.
Title: Re: New Module: jQueryAdmin v2.4
Post by: masarin on November 18, 2010, 10:19:26 AM
OK, sorry. My bad.

Installed the wrong version of the Colorbox plugin.   :oops:

Now it works just fine  :)
Title: Re: New Module: jQueryAdmin v2.4
Post by: BlackBird on November 18, 2010, 08:22:49 PM
No problem. This was easy to solve. :-D
Title: Re: New Module: jQueryAdmin v2.4
Post by: BlackBird on November 18, 2010, 08:24:17 PM
BTW, there's a brand new jQA support forum in the jQuery Showroom.

http://jquery.websitebakers.com/forum/index.php

As I have problems accessing this forum, you may post there. I can answer faster then.
Title: Forum access
Post by: BlackBird on December 14, 2010, 01:07:32 PM
Please note: Due to constant problems accessing this forum, I am not able to support my modules the way I'd like to, so I am forced to find another way.

I'm happy to say that my access problems seem to be fixed now. (At least most of them.) Thanks to "kweitzel" for his continued support. :-D
Title: Re: New Module: jQueryAdmin v2.6
Post by: BlackBird on December 16, 2010, 08:09:44 PM
The development of the "official jQueryAdmin successor" has begun! See here for details: http://jquery.websitebakers.com/forum/viewtopic.php?id=29
Title: Re: New Module: jQueryAdmin v2.6
Post by: BlackBird on January 05, 2011, 04:36:46 PM
For those who'd like to have jQuery as a lib only (that means, without the functionality jQueryAdmin provides), there's now a new module that installs the jQuery components only:

http://www.websitebakers.com/pages/libs/lib_jquery.php?lang=EN

This module is prepared for use with LibraryAdmin, but doesn't require it. Anyway, I still think the easiest way to use jQuery is jQueryAdmin / LibraryAdmin. ;)