New Module: jQueryAdmin v2.13

pieterb

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?

erpe0812

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
start_item :0

That will do the trick.


rgds

erpe

BlackBird

#129
Quote from: avitaly on May 31, 2010, 12:28:42 AM
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.
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

crnogorac081

I like the wizard, it looks cool..
Web developer

erpe0812

#127
Based on this post
https://forum.websitebaker.org/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]

avitaly

Italian language too!

[gelöscht durch Administrator]

BlackBird

That's great, thank you! So we have complete translations for EN, DE, FR, NO and NL now! :lol: :lol: :lol:
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

quinto

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]

erpe0812

Cause I needed it for one of my sites I created a bxSlider plugin, available on the jquery-library page.

rgds

erpe

BlackBird

Okay, I will analyse this issue and try to include a fix in the next version.
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

avitaly

 :-D

Anyway, I've placed the code without JQueryAdmin, and everything is working fine ...

BlackBird

I did not say "locally", I just said "static HTML". ;)
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

avitaly

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!

avitaly

Quote from: BlackBird on May 28, 2010, 01:51:18 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.

BlackBird

I think you will have to wait for my analysis and a fix. :wink:
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

avitaly

Quote from: mr-fan on May 28, 2010, 01:40:28 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!

BlackBird

Quote from: mr-fan on May 28, 2010, 01:40:28 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:
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

BlackBird

Quote from: mr-fan on May 28, 2010, 01:40:28 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:


<script...>
// jQueryAdmin_ignore
...code going here
</script>
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

mr-fan

QuoteSorry, 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

BlackBird

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
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

crnogorac081

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
Web developer

dbs

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.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

avitaly

Quote from: 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)

Sorry I cannot understand ...  :? what should I check?  :?

avitaly

Quote from: 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

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)

crnogorac081

probably incompability with jquery... check if there is another jq script loaded (not from jq admin)
Web developer