Hi Marco,
Here is what I do:
?php e($html-link('Cancel', '/admin/home', array('class'='button',
'onclick'='javascript:$(#admin-area).load(/admin/home);return
false;')));?
You need to make sure you have the RequestHandler component loaded,
otherwise when you update your div, it will load the
Honda are using CakePHP on their new F1 concept car site (see
http://labs.blitzagency.com/?p=214 for details).
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy paste it into your browser's address bar if that doesn't
work.
suggestions.
Several of the buttons overlap and are unsightly in firefox. I'm not
quite sure what that big box to the right is either, something about a
media player. Good job so far, it will probably need a lot more work
to be a usable CMS however.
On Apr 14, 9:13 pm, digital spaghetti
I'm pleased to announce the first official alpha of Webrocket - a CMS
built on CakePHP.
This release is *very* alpha. It runs fine on my local install, but
even I had problems setting up on the test server, and it's still not
complete.
You can check out the demo at http://66.160.135.85. The
Just to quickly mention, the project is now hosted at the cakeforge:
http://cakeforge.org/projects/webrocket/
I've also updated the demo a thttp://66.160.135.85. The demo
username is WebrocketAdmin and password rocket.
Tane
On 4/14/07, digital spaghetti [EMAIL PROTECTED] wrote:
I'm pleased
One of your points is that information is quickly out of date - I
totally agree, and I think with that in mind on the bakery there
should be some element of editorial control and natural churn on
articles.
For example, how many recent articles are still using $html-input?
Maybe when 1.2 is more
You may be trying to over-complicate it.
My solution was to create a HomeController, with method admin_index,
then in the routes file I added a route for admin/ that pointed to the
controller home and method admin_index.
At the moment, mine is still pretty Web1.0 but I intend to use a Ajax
Or another way is *The Source* is the best source for CakePHP v1.2
documentation.
http://api.cakephp.org/1.2 is your friend, read all the internal
documentation, 95% of the time it will answer your question. If it
can't, then turn to IRC and the group.
Tane
On 4/12/07, Dr. Tarique Sani
.
On Apr 10, 2:20 pm, digital spaghetti
[EMAIL PROTECTED] wrote:
Just on a wee side note, tonight or tommorow (whenever I get a chance)
I'll be releasing the first in a set of small components that deal
with Yahoo REST services.
The first one isYahooGeo, which takes an address you pass
In your controller
If (isset($this-data['User']['username']))
{
$user = $this-User-findByUsername($this-data['User']['username']);
}
If its a search controller, rather than in the users controller you
need to make sure you delare $uses at the top of the contoller
$uses = array('User');
As
Hi folks,
I have 2 models in my database, Event and EventType. EventType is
very simple, it's just an id and a name - so I don't want to write a
whole controller for it. In my Event controller, I have this method:
?php EventsController extends AppController
{
$uses = array('Event',
handle both Event and EventType.
Thanks for that though.
Tane
On 4/10/07, AD7six [EMAIL PROTECTED] wrote:
On 10 abr, 11:47, digital spaghetti
[EMAIL PROTECTED] wrote:
snip
?php e($form-create('EventType',
array('action'='/admin/event/addtype')));?
'action' doesn't mean url (although
Just on a wee side note, tonight or tommorow (whenever I get a chance)
I'll be releasing the first in a set of small components that deal
with Yahoo REST services.
The first one is YahooGeo, which takes an address you pass to the
component, and returns a simple array with the latitude and
You should not need to do e($html-image('prev.gif')
Instead, try it like this:
?php e($paginator-prev($html-image('prev.gif'), null, null)); ?
?php e($paginator-next($html-image('next.gif'), null, null)); ?
On 4/5/07, Copot [EMAIL PROTECTED] wrote:
When I do something like this,
I only found out this method today, but found it to work perfectly.
Put the code you wish to cache in an element, and when you want to
render the element use this:
?php e($this-element('element', array('cache'='1 day'));?
Now the element will be cached for 24 hours from generation. Beware
If your looking for a Auth component, consider othAuth (http://
bakery.cakephp.org/articles/view/99). The documentation is good
(http://bakery.cakephp.org/articles/view/148) and very easy to drop
into your project.
The notes indicate that it will later support CakePHP's own ACL
component, but
Hey folks,
Before I raise a ticket in the trac I wanted to check out if anyone
knows if this is a bug, or if I should be doing something in
beforeSave?
I have a model, Event. In it, I have 2 fields event_date and
event_time, obviously being DATE and TIME fields. In my view, I
render them
It's actually very easy. You can use the exact same form view as your
add method, however you need to make sure that this id of the data is
included. For example, if its.a post do this:
?php e($form-create('Post'));?
?php e($form-input('id'));?
Cakephp will now recognbise this is an edit form
I totally agree. At my company I am lucky to have a lot of creative
freedom with my project. When I took over, they already had a custom
CMS built on ColdFusion which is buggy as hell, and some sites are
just plain HTML docs that I have to manually update.
At first, I started down the Drupal
Instead of your method, check out this tutorial:
http://bakery.cakephp.org/articles/view/2
Its an old article, but still works perfectly in Cake 1.2
Tane
On 4/2/07, Jeremy Pointer [EMAIL PROTECTED] wrote:
I'm trying to output an xml document but I seem to be getting a space
character just
That's a pretty short n' sweet list of what I think we would need, not
anything more. Probably 99% of apps built will use this, or a modified
version, of this functionality.
I'm thinking we could call it our shake and bake pakage - all the
ingredients are ready made to be baked into something
Seb, I totally agree with you here, and again I start I never compared
CakePHP *TO* a CMS, I only referenced other CMS's where they have a
model of users contributing addon's to these systems using their API.
I don't really want to bang on at the point, as someone has already
said Just build it,
Hi folks,
Forgive me for being rather forward with my email here, I'll try to
put my case over as level headed and as thoughtfully as possible, and
please feel free to give back any constructive critisism. Also,
forgive any spelling and grammar - I'm typing this on the way home on
my
capible off.
If you bake it, they will come!
Tane
On 3/28/07, Chris Hartjes [EMAIL PROTECTED] wrote:
On 3/28/07, digital spaghetti [EMAIL PROTECTED] wrote:
What I believe CakePHP needs is a killer app, a CMS that can rival the
others out there, and that gives people the chance
that people can customise to their own
needs.
Tane
On 3/28/07, Chris Hartjes [EMAIL PROTECTED] wrote:
On 3/28/07, digital spaghetti [EMAIL PROTECTED] wrote:
What I believe CakePHP needs is a killer app, a CMS that can rival the
others out there, and that gives people the chance
Anderson [EMAIL PROTECTED] wrote:
On Mar 28, 2007, at 12:49 PM, digital spaghetti wrote:
Fair enough on the Basecamp point, but I was looking at an overall
general app that end-users can use, and Basecamp is quite specific to
people who need Groupware.
However I have to disagree
we would encourage)
Tane
On 3/28/07, Erich C. Beyrent [EMAIL PROTECTED] wrote:
But in your example, they are developing for Wordpress and Drupal.
Applied to this project proposal, they'd be developing for the CMS
itself, not for CakePHP.
-Erich-
digital spaghetti wrote:
Fair enough
Ok, from reading through the emails I get the consensus that most of
you are not against the idea of a community built project, but more
the label of it being a CMS.
Maybe another way to put it is for a community team to work together
on a library of code that provide different pre-baked
Absolutly steve, get posting so we can get baking :). I haven't had to
do this yet but I know it'll be coming soon.
Tane
On 3/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Another method that was referenced in this group a while back was to
use tags like
['model0']['Name']
I had a similar quandry and came up with a simple solution - not to
use Cake's admin routing. Instead, I've written an admin controller
that gives me a backend admin screen. Whenever I call to a method in
another controller, I just use /path/method.
In each method, I call a session check
What version of Cake are you using? ACL in 1.2 is currently not
working, as it's in development.
If it's 1.1, I know there is something in the trac about ACL, check if
your problem is related.
Tane
On 3/21/07, cc96ai [EMAIL PROTECTED] wrote:
I just did a simple test on ACL , but i m not
Following the same example, I've come up with something more dynamic -
but unfortunatly I cannot seem to get it to work, can anyone help me?
First of all, I call the element:
?php echo $this-renderElement('topmenu'); ?
Then in the element, I call my menu section manager and request all
menu's
Ok, well in my controller, before I pass anything I print_r my
variable, and the output looks like this:
Array (
[0] = Array (
[Section] = Array (
[id] = 1 [name] = topnav )
[Menu] = Array (
[0] = Array (
[id] = 1 [name] = Home [path] =
Definetly, I've been learning with CakePHP to just try things and see
if they work (using the MVC principal) and been surprised to find that
sometimes to do, with simplicity.
I also have learned to just drive right into the code if I am looking
for something - the details are all there how to
That is good, but certinly all the big projects like Drupal or
Ubuntu have their own planet subdomain - which people now more
commonly expect. Maybe pointing planet.cakephp.org to that site would
do it rather than develop another one?
Tane
On 3/19/07, djiize [EMAIL PROTECTED] wrote:
I think
the password.
Tane
On 3/14/07, nate [EMAIL PROTECTED] wrote:
It's cool y'all, just chill for a bit. Help is on the way... yeah
baby, help is on the way.
digital spaghetti:
If you $this-Auth-fields = array('password' = 'passwd'), that
leaves it without a user name. You need to either do
Hey folks,
My saga continues with trying to get Auth working in my Cake 1.2
application. Either I am doing something silly now, or there is a
bug.
First of all, I am using the default hash set in Security (which from
what I can see is sha1). Now, in my user add function I hash the
password
I've submitted a trac for this here: https://trac.cakephp.org/ticket/2252
as a possible bug.
Tane
On Mar 15, 4:21 pm, digital spaghetti
[EMAIL PROTECTED] wrote:
Hey folks,
My saga continues with trying to get Auth working in my Cake 1.2
application. Either I am doing something silly now
.$this-data['User']['passwd']);
-- Felix Geisend�rfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de
Digital Spaghetti wrote:
I've submitted a trac for this here:
https://trac.cakephp.org/ticket/2252
as a possible bug.
Tane
On Mar 15
/15/07, digital spaghetti [EMAIL PROTECTED] wrote:
Felix - After I submitted a trac, i had a play about and I think your
right. It's now looking less like a bug in cake and more in my code,
but I can't figure it out
$this-data['User']['passwd'] =
Security::hash(CAKE_SESSION_STRING.$this-data
You could also use some AJAX!
You could implement a javascript library like thickbox for jQuery, and
using the Request
Handler component, when you click on a link you can send the view to
the thickbox.
You need to check out the thickbox documentation on how to implement
it - or if you prefer
experiments, not good code :)
On 27 feb, 17:08, Digital Spaghetti
[EMAIL PROTECTED] wrote:
Hey guys,
I'm reasonably new to CakePHP, really only had a play about with it so
far but I am ready to take it to the next level.
The first thing I am building into my app is the user system
I've just added a helper to the bakery for a country drop down list.
You could easily create your own method using the same code to also do
one for states.
Or if you want to have the list in your db, go with the generateList option.
Tane
On 3/13/07, rtconner [EMAIL PROTECTED] wrote:
Hello, I
For graceful degradation, you should really do:
a href=/guestbook/view id=guestbook
Then in your javascript, at the end do return false; That way, if the
user does not have JavaScript, they can still access the page!
Tane
On 3/13/07, Kjell Bublitz [EMAIL PROTECTED] wrote:
Whoops.. of
Hi Mariano,
Absolutly - I've been looking for an ACL solution similar to this. I've
had issues with CakePHP's own ACL system, and feel I do need more levels
of control. Please keep me informed on your work and I'd be happy to do
some testing.
--
Tane Piper
Personal:
Hey guys,
I'm reasonably new to CakePHP, really only had a play about with it so
far but I am ready to take it to the next level.
The first thing I am building into my app is the user system, so users
can log in and get access to specific areas. I've decided to go with
1.2.x.x branch since it
46 matches
Mail list logo