smarty for ajax  
Author Message
M D





PostPosted: 2006-9-20 15:28:54 Top

php-general, smarty for ajax Is there any framework or plugin for smarty which can be used with Ajax?

M


 
M D





PostPosted: 2006-9-20 18:24:00 Top

php-general >> smarty for ajax I am developing some web application with smarty.
However, for these parts i need to use ajax, i have to
write javascript on the "*.tpl" file and call php script from
there, get the data and put the data in the div innerHTML.
There is another way to use the smarty with Ajax?

MD



 
Mitul





PostPosted: 2006-9-20 20:05:00 Top

php-general >> smarty for ajax
M D wrote:

> I am developing some web application with smarty.
> However, for these parts i need to use ajax, i have to
> write javascript on the "*.tpl" file and call php script from
> there, get the data and put the data in the div innerHTML.
> There is another way to use the smarty with Ajax?
>
> MD

You are in right direction. It will works but keep on thing in mind
that what ever you will echo from callled PHP script will be return as
AJAX return value. You can then use that return value in innerHTML.


Regrds,
Mitul Patel

******** There is nothing like impossible coz IMPossible itself means I
M Possible. So Keep Try with smile :) **********

 
 
IchBin





PostPosted: 2006-9-21 0:39:00 Top

php-general >> smarty for ajax M D wrote:
> I am developing some web application with smarty.
> However, for these parts i need to use ajax, i have to
> write javascript on the "*.tpl" file and call php script from
> there, get the data and put the data in the div innerHTML.
> There is another way to use the smarty with Ajax?
>
> MD
>
>
>

My guess would be sajax:

http://www.modernmethod.com/sajax

--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
 
 
Manuel Lemos





PostPosted: 2006-9-28 11:47:00 Top

php-general >> smarty for ajax Hello,

on 09/20/2006 04:28 AM M D said the following:
> Is there any framework or plugin for smarty which can be used with Ajax?

This forms generation class comes with an AJAX form submit plug-in and
also a plug-in to integrate with Smarty:

http://www.phpclasses.org/formsgeneration


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/