Register FAQ Search Today's Posts Mark Forums Read
Miva Merchant Community Forums
User Name
Password
Claudiu
  #1  
Old Posted: 03-10-09, 06:04 PM
Mivite
Claudiu's Avatar
Joined Mar 2006
Posts: 111 Claudiu is on a distinguished road
jQuery + FileTree + MivaScript connector
Hi everyone,

Just a little post to share a small plugin that I love (that is NOT developed by me).

I only wrote a small dirty connector in MivaScript: http://mivascript.org/share/

Feel free to use in any way, but if you share the source code, just leave my copyright

PS: I had to modify a small line in the JS plugin (you will find the modified file in the archive). It's the "post" routine. With the latest jQuery library I keep having problems with the POST and MivaScript compiled files. It works only with GET... I'm still searching why...

Thanks,
Claudiu

Miva Script - www.mivascript.org - only for MivaScript developers (new website in construction)
Zen Radio : Relax yourself: www.zenradio.fm
Last edited by Claudiu; 03-10-09 at 06:08 PM..
Send a message via MSN to Claudiu  
Reply With Quote
Claudiu
  #2  
Old Posted: 03-11-09, 09:29 AM
Mivite
Claudiu's Avatar
Joined Mar 2006
Posts: 111 Claudiu is on a distinguished road
Re: jQuery + FileTree + MivaScript connector
It's quite funny that no reply was made . I could understand that nobody's interested in it, or, it so good, that nobody can say a word ! (I know I know, I just posted it...)

Anyway, that plugin is interesting, but for my needs, I had to create a new one. In fact, my problem was that after scanning the whole mivadata directory, I had to make a fast and simple Category Tree (just like the one above), but with JSON. I don't want to load all of the data (it can be quite large) so I decided to use Ajax for every folder I open. So, in a way I open only the first level folders and that very quick.

As I said, my new jQuery Plugin is working with JSON format because I wanted to make it available for any needs (not only for directory trees but to be used for categories too). I'll publish it in a moment (it will be Creative Common Licence .. you can use it in any way as long as my copyright don't get removed :P ). I just wanted to hear some opinions on the problems (or the needs) that you might had with this kind of function.

Thanks
Claudiu

Miva Script - www.mivascript.org - only for MivaScript developers (new website in construction)
Zen Radio : Relax yourself: www.zenradio.fm
Last edited by Claudiu; 03-11-09 at 09:30 AM..
Send a message via MSN to Claudiu  
Reply With Quote
Kent Multer
  #3  
Old Posted: 03-11-09, 08:06 PM
Mega Mivite
Kent Multer's Avatar
Joined Mar 2006
Posts: 1,021 Kent Multer is on a distinguished road
Re: jQuery + FileTree + MivaScript connector
Hi Claudiu --

I've been having a busy week, but I just took a look at your demo, and it's quite impressive! I've been reading about jQuery recently, as well as other AJAX and advanced JavaScript. I'm sure this kind of thing is going to be more common in the future. I've been keeping an eye out for techniques that could be useful in Miva stores. I don't have any specific ideas for functionality yet; but there are lots of interesting animations and other effects that can be used to improve the appearance and ease of use. And it's all open-source!

Thanks for publishing this. Sorry for the slow reply --

Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Last edited by Kent Multer; 03-11-09 at 08:07 PM..
 
Reply With Quote
Claudiu
  #4  
Old Posted: 03-12-09, 07:37 PM
Mivite
Claudiu's Avatar
Joined Mar 2006
Posts: 111 Claudiu is on a distinguished road
Re: jQuery + FileTree + MivaScript connector
Hello

Thanks Ken for your appreciation I'm happy if someone find an interest in all that. I have much more scripts that I will share with the community. My idea is that "code is best when shared"

I made an update on the website: http://mivascript.org/ .The script is available in 2 formats: ( normal data gathering, and JSON data gathering ). In that way it can be used for websites ( like categories or menus ). If someone have any question, don't hesitate.

The main website will be available... one day :P I'm working on it on a daily basis in my spare time, and hopeful with the help of Jon, now I'm able to update the documentation properly

Best regards,
Claudiu

Miva Script - www.mivascript.org - only for MivaScript developers (new website in construction)
Zen Radio : Relax yourself: www.zenradio.fm
Send a message via MSN to Claudiu  
Reply With Quote

Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.