Take a look at the File library: http://api.cakephp.org/class/file
On Sun, Nov 15, 2009 at 2:04 PM, David Roda wrote:
> Try adding debug(WEBROOT_DIR.'/img/'.$file); at the top of your page and
> check the output
> On Sun, 2009-11-15 at 07:48 -0800, PDEagle wrote:
> > WEBROOT_DIR.'/img/'.$file
>
d what you're saying, but I am rather lost with some
> > > concepts in Cake. I have to read more first... Thanks...
> >
> > > PS: legal seu site!
> >
> > > On Oct 14, 11:20 am, Eber Freitas Dias wrote:
> >
> > > > Hi!
> >
>
Hi!
The fact that "home.ctp" is the default home for your app it doesn't mean
you have to use it!
You can just re declare a new home in your routes using the controller you
want. Something like:
Router::connect('/', array('controller' => 'mycontroller', 'action' =>
'index'));
The second argumen
Ow, by the way, you need to use type="submit":
Whatever you want here
[]'s
On Fri, Sep 25, 2009 at 10:58 PM, Eber Freitas Dias
wrote:
> You also should consider using the tag instead of the default
> input button.
>
> Take a look: http://www.w3schools.com/tags/ta
You also should consider using the tag instead of the default input
button.
Take a look: http://www.w3schools.com/tags/tag_button.asp
The button tag is much more flexible as it is totally customizable, and you
can put orther elements inside of it, like images:
Then, you just close the form wi
There are plenty of ready made e-commerce solutions out there... Develop
your own only if any of those doesn't suply your needs.
Anyway, developing your own with Cake is not that hard. It is not sooo fun,
but is not that hard.
I've developed a hosted e-commerce solution with Cake, check it out:
w
I guess this is what you need:
http://book.cakephp.org/view/76/Callback-Methods
On Mon, Jun 1, 2009 at 1:30 PM, Bryan Paddock wrote:
> hey guys,
> is it possible to hook onto the database queries?
>
> ie: each time i call a $this->Property->find() or findById() etc etc I
> would like to perform
Guys,
I'm working on a forum plugin, and the idea is it to be really simple but
complete and plugable on any app... I expect to release it soon and I hope
it can make part of thechaw or something, so other people can help on the
development.
I already have the basic structure and maybe, by the en
Hey!
On GameSync I'm getting texts like "signUpText" or "linkUpText"...
I'm from Brazil, so I guess it's trying to use some local language but can't
find... Or not! Just to let you know ;)
The websites are really nice :D
On Sun, May 17, 2009 at 5:45 AM, Faza wrote:
>
> Nice job!
>
> Awesome d
The existence of an AJAX helper...
On Fri, May 8, 2009 at 1:45 PM, Alexandru Ciobanu wrote:
>
> On 05/08/2009 01:29 AM, Nate wrote:
> > I'll get us started: PHP 4 support.
> >
> >
> +1 PHP 4
>
> Library independent AJAX helper (i've noticed it's under development in
> the 1.3 branch)
>
>
>
>
>
>
The answer is simple.
If you need a CMS, go with Joomla or Wordpress.
If you need a framework, try CakePHP. Of course you can always write your
own CMS with Cake. You need to define your needs.
Check out the differences here:
CMS - http://en.wikipedia.org/wiki/Content_management_system
Framewor
You can always develop it yourself :)
On Wed, Apr 22, 2009 at 12:14 AM, mixersoft wrote:
>
> Hi,
>
> I recently saw this on the Gears On Rails project for integrating
> Google Gears into the Rails framework for offline applications.
>
> http://ajaxian.com/archives/interview-with-the-gears-on-rai
You can use Javascript.
jQuery, for instance, has a helper event handler that let's you bind
functions to the "unload" event. Check it out:
http://docs.jquery.com/Events/unload#fn
You can make it with raw JS or other libraries... I think jQuery is easier.
So you can make a asynchronous call to a
A controller can use more than one model. You just need to set which ones
you want on the class variable $uses:
var $uses = array('Movie', 'User');
A controller can use no table at all, you just need to leave that array
empty.
This will load both Models on each and every method (I guess) so you
I had this problem and I fixed it by pointting my server to the webrrot
folder instead of the app folder.
On Thu, Feb 19, 2009 at 4:09 AM, Chris M wrote:
> I'm by NO MEANS an expert in this area, but it sounds like your router is
> working properly but the WP install is looking at the absolute p
Please, take a look at this ::: http://pastie.org/392952 ::: as you can see,
it inserts '/painel/' in front of the controller and action... how to avoid
that? realise that I have 'prefix' => null, 'painel' => false on the
$form->create() options array...
Thanks in advanced! :)
--
Éber Freitas Di
16 matches
Mail list logo