Hi,
In my application I used to put the common functions in
app/app_controller. And from other controllers, I am calling those
functions. Anything wrong with this ?
Now the app/app_controller.php file become very big. I came to know
about components (from http://manual.cakephp.org/chapter/compon
Thanks AD.
I have gone through RequestHandler and I changed the code according to
that.
And it is working fine..
And I removed my ajax.thtml , it is not at all required.
AD7six wrote:
> add the RequestHandler component to your app controller and amongst
> other things it will ensure that you ge
Ok.. I have created a new layout - default.thtml
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
charset('UTF-8');?>
My Site title
css('mysite','stylesheet',array('media'=>'screen'));?>
link('prototype.js'); ?>
link('scriptaculous.js?load=builder,eff
Thanks for the replies.
Pablo , Do you mean to say that my ajax.thtml should contain only
? Then where I will include all
javascript files ?
Should I need to create default.thtml (layout) ? And while clicking on
any link ,
I will load through ajax . ie render('newpage' , 'ajax') .. Am I
corr
Hi,
In my site I want all things should be done through ajax. So I have
created ajax.thtml and kept that file in layouts folder. And in
app_controller I have changed the layout to ajax.
Now the problem is after clicking on any link , will load the
respective page without refreshing the things.An
Hi,
In my index page, I have given the sorttable listing along with other
views. And each item is an element.
And whole elements given in the following way.
// Main div
Element1
Element2
Element3
And drag-drop things are working fine. After dropping
Some more doubts..
AD, Do you mean to say that for each value we have to write separate
components ?
In my case , one particular section contains some values. I will be
using it as a
whole in other pages (not a single value).
Please see the following scenario.
In my home page , so many sectio
Thanx AD..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more o
Hi,
This question is about implementing MVC in Cake.
In every example I found that there exists separate view for each and
every controller (model).
In my site, I have created one element and embed this to the layout. In
that element I want to display some calculated values (Eg:- From sales
mode