Search found 9 matches

by solaris23
Fri Jul 11, 2008 4:17 pm
Forum: Developers Discussion
Topic: session
Replies: 1
Views: 1037

session

Hello, I have just one simple question to ask, I'd like to made my own
little cart module and adapt it to cataloger, and I was just wondering if there
is any particular way to use sessions when writing cmsms module.

Thanks in advance.
by solaris23
Mon Jun 30, 2008 3:08 pm
Forum: Developers Discussion
Topic: Using xajax in a module
Replies: 4
Views: 1950

Re: Using xajax in a module

Ok I had, now, wrote this code : No error message, but no action, and I don't find the way of using onkeyup with Ajax made simple..... so in my action.default.php $ajax=$this->GetModuleInstance("AjaxMadeSimple");     $ajax->RegisterAjaxRequester($this->GetName(),"verifcp","l...
by solaris23
Mon Jun 30, 2008 2:08 pm
Forum: Developers Discussion
Topic: Using xajax in a module
Replies: 4
Views: 1950

Re: Using xajax in a module

I just install it, but I don't see any difference, I'm still getting the same error.
Can someone seen something wrong in my code ?

Thanks in advance..
by solaris23
Mon Jun 30, 2008 1:45 pm
Forum: Developers Discussion
Topic: Using xajax in a module
Replies: 4
Views: 1950

Using xajax in a module

Hello I'm trying to use Xajax in a module I have maid, but it actually don't work. (I have started using xajax and progamming ms module very recently) So, here is my code related to xajax in my action.default.php :        function validPostal($codepo){ if($this->isValidCodePostal($codepo) !== FALSE)...
by solaris23
Fri Jun 27, 2008 3:59 pm
Forum: Developers Discussion
Topic: building a little forms module.
Replies: 7
Views: 5390

Re: building a little forms module.

Thank you very much for your advices.
by solaris23
Fri Jun 27, 2008 3:37 pm
Forum: Developers Discussion
Topic: building a little forms module.
Replies: 7
Views: 5390

Re: building a little forms module.

Excuse this stupid question but what are excatly the $id and $idreturn ? I started it from the tutorial, it isn't finished at all, but maybe you could detect somes error concerning the use of cmsms api... Here is my code : setForms();       if($action == 'default'){             if(isset($_POST['nom'...
by solaris23
Fri Jun 27, 2008 2:49 pm
Forum: Developers Discussion
Topic: building a little forms module.
Replies: 7
Views: 5390

Re: building a little forms module.

Ok I finally find a way to made a almost correct "form action" by using  : $this->CreateFormStart('default'); but I have now two problems : When, for exemple, the submission validation failed, the user is redirect to the forms included into the index.php page, and I would like it to stay o...
by solaris23
Fri Jun 27, 2008 9:19 am
Forum: Developers Discussion
Topic: building a little forms module.
Replies: 7
Views: 5390

Re: building a little forms module.

I have to do a control with a mysql table to validate some postal code, is it possible with
formbuilder ?
Anyway I still would like to have somes answers about the module construction.

Thanks.
by solaris23
Fri Jun 27, 2008 9:07 am
Forum: Developers Discussion
Topic: building a little forms module.
Replies: 7
Views: 5390

building a little forms module.

Hello , I'm actually trying to build a little module with forms, and I was wondering what should be the "action" of my forms displayed in the smarty template. Also I'd like to know how I can get $params from my DoAction method, I suppose it is an array, how does it work exactly ? Thank you...

Go to advanced search