What's the best way to go about setting up dynamic routing
so that I can redirect all my 'missing controller' errors to another
defined controller to perform operations on?
I basically want any error page to filter through the pages controller
(or any other controller I choose) so I can check the
Can you post documentation?? This is a popular one nowadays for
people on the group..
On Oct 12, 7:11 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Can you read the documentation ?
>
> On Sun, Oct 12, 2008 at 7:37 PM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > can i cache it
I recently got into a Liquid Web VPS (www.liquidweb.com) and it has
been great for me. Great support as well. I have a TextDrive account
and second the comment on those guys being great, They are smart folks
who really know their stuff.
Let us know what you decide and how it goes...
--~--~--
Here is my table setup:
posts
id
name
...
tags
id
parent_id
name
...
posts_tags
id
post_id
tag_id
I want to be able to filter posts by their associated "parent tag". So
for example I want to be able to request all posts with an associated
tag whose parent tag has an id of 1.
Currently I am ab
After spinning my wheels for a few hours on this one, any help would be very
appreciated...
I have an 'Item' model:
class Item extends AppModel {
var $name = 'Item';
var $hasAndBelongsToMany = 'Label';
}
A 'Label' model:
class Label extends AppModel {
var $name = 'Label';
var
One more thing... It is hard to diagnose the problem without seeing
the exact symptoms. Could you post the exact text of the error?
And... do you have a prior version of MySql running as a service?
Just some thoughts.
On Oct 24, 5:41 pm, Merk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an i
Thanks, but I totally forgot about the $uses variable.
On Oct 25, 4:18 pm, RyOnLife <[EMAIL PROTECTED]> wrote:
> If it's something as simple as a site
> name,http://n2.nabble.com/How-to-use-Components-in-Views--tp1377006p137719...
> this might help. Just use 'site_name' instead of 'site_id' and
If it's something as simple as a site name,
http://n2.nabble.com/How-to-use-Components-in-Views--tp1377006p1377198.html
this might help. Just use 'site_name' instead of 'site_id' and that will do
the trick.
thatsgreat2345 wrote:
>
>
> I am making a site and for the index, and contact, and T
Cookbook is back up now... Thank you Cake Team.
On Oct 25, 3:58 pm, Brenda <[EMAIL PROTECTED]> wrote:
> Thank you so much. Your efforts on a Saturday night are much
> appreciated! May the rest of your evening be peaceful.
>
> On Oct 25, 6:33 pm, Gwoo <[EMAIL PROTECTED]> wrote:
>
> > We are workin
It's a well known IE rendering bug (also the solution is well known),
just google it...
On Sat, Oct 25, 2008 at 3:14 PM, Adam Royle <[EMAIL PROTECTED]> wrote:
>
> I workaround this problem by defining a different margin-bottom value
> for IE using conditional styles...
>
>
>
>
>
> On Oct 26, 12:
I'm having some trouble with save/delete HABTM myself, but I can at least
help you on your table design. Following Cake conventions (plural,
lowercase, abc order) and assuming you want everything taggable, your join
tables would be:
tags_users (tag_id, user_id)
brands_tags (brand_id, tag_id)
pro
I am making a site and for the index, and contact, and TOS, and other
stuff I have it running on GeneralController. I may end up selling the
script and so Site Name is saved in the General table. Is there an OOP
way to access the General table with out defining a $hasone/$belongsto
or anything lik
Thank you so much. Your efforts on a Saturday night are much
appreciated! May the rest of your evening be peaceful.
On Oct 25, 6:33 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> We are working on fix. Should be back up soon.
--~--~-~--~~~---~--~~
You received this message
I've set a few configurations in my core.php:
Configure::write('site_id', 1);
Which you can get at from your views:
--
View this message in context:
http://n2.nabble.com/How-to-use-Components-in-Views--tp1377006p1377198.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~
I've got a similar need in the app I am working on and elected to go with the
single users table. Working with two instances of Auth sounds messy.
$this->Auth->userScope = array('Model.field' => 'value');
You can set 'field' to something like 'group_id' and have a 'groups' table.
If the degrees
Hi,
I am working on a site and want to implement two types of users with
different logins
like: http://www.naukri.com/
1. User Login
2. Business Login
There are three ways of doing this
1) We can have only one users table and using $userScope we
distinguish between both type of logins ..
but no
Actually, it is not simple because it would be wrong to use a
component in the view. This is why you cannot find the information in
the docs. If you need some data you can set it in the beforeRender
callback.
--~--~-~--~~~---~--~~
You received this message because y
you can use Debugger::output('txt')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
I'm using CakePHP 1.1, and Apache 2.2.
On Oct 24, 4:45 pm, Ozzy OG Kush <[EMAIL PROTECTED]> wrote:
> Here's my situation. I have my site (http://www.phillynorml.org/) set
> up in a production environment (index.php, .htaccess, img, css, js,
> etc in ../DocumentRoot, everything else in ../cake, an
We are working on fix. Should be back up soon.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email
Not just you. I can't see anything either. Bummer.
On Oct 25, 2:56 pm, Brenda <[EMAIL PROTECTED]> wrote:
> I'm trying to access the cookbook athttp://book.cakephp.org/, but all
> I see is a bunch of 'This section is yet to be written.' It worked
> fine last night. Perhaps someone is working on
#cakephp on irc.freenode.net is the place to report.
We are working on the problem. Should be back up very soon.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to c
Sorry, I don't know who to report about http://book.cakephp.org/ being
down so I just leave a message here. I see "This section has yet to be
written" all over the place.
Cake is awesome!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I'm trying to access the cookbook at http://book.cakephp.org/, but all
I see is a bunch of 'This section is yet to be written.' It worked
fine last night. Perhaps someone is working on it, or is it just me?
Thank you for your help.
--~--~-~--~~~---~--~~
You receiv
Ok, I got 3 suggestions for you:
1) write a simple php script that echos "hello" and run it from a CMD
box. Does it run? if not find out the path to where your php runs
from and add it to your path.
2) add to your path the path to the console section of your cake app.
I have an app called "Gra
Hi,
Must be extremely simple but I've searched all around the docs and I
just can't seem to find it, but how do I use component code in a view?
I've made a component to handle settings from a DB, so in my views, I
want things like:
if ($component->settings['status'] == '1') {
echo 'Hello!'
http://cakephp.org/screencasts/view/6 ?
On Oct 25, 7:47 am, mirfan <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using windows XP 2002 i am not able to configure shell please
> help me to do so
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I just recently switched from GoDaddy, as they have a massive lack of
support for cake, to WestHost.com. I have been extremely pleased with
WestHost so far, and cake works like a dream.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi Rob, it seems that the behavior isn't being attached to your model.
Try putting a die("Multivalidatable") at the begining of the
multivalidatable.php.
If that kills your app, then it's beign loaded, then add a die() in
Multivalidatable::setUp()
function setUp(&$model, $config = array()) {
Hi,
I want to implement tag functionality for my site.
I have four modal
1 Tag
2 User
3 Brand
4 Product
5 Post
I am thinking to make two tables
tags : id, tag_name
entities_tags : tag_id, entity_id, entity_type
here entity is User, Brand, Post and their corresponding ids..
Should I follow th
Hi,
I've got 3 tables
users, events and user_has_events
In my model user, I have added the relation hasmany on
user_has_events, did same thing on event model.
user_has events must have 2 relations belongsTo.
Each record in this table have one and only one event and one and only
one user
I've tr
Hello,
I have problem using Set::extract class. Here is an example array
$test:
Array
(
[3181] => Array
(
[Sync] => Array
(
[id] => 3181
[synced] => 0
)
)
On this array Set::extract('/Sync[id=3181]', $te
Hello,
I have User hasOne Profile and Profile belongsTo User set up as
associated models.
I'm using the AuthComponent to to do simple/basic authentication; my
login action is empty.
When authenticating, the Profile model data is retrieved along with the
User model data (I see it in my debug
Thanks Martin.
Looks like the same concept, I noticed some things that made me
curios.
In implementation did you include the functionality within a users
component or a separate one dedicated to tickets? Do you have a
different method to let logged in users change their credentials?
I am going
I workaround this problem by defining a different margin-bottom value
for IE using conditional styles...
On Oct 26, 12:52 am, rogwei <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I added a comment in the Bakery to the CSS Menu Helper page
> here:http://bakery.cakephp.org/articles/view/css-menu-helper
I think I figured it out.
Adding the following to my Cake loader seems to work.
define('DISABLE_DEFAULT_ERROR_HANDLING', true);
define('CAKEPHP_SHELL', true);
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePH
Hi,
I am working on some controller actions that can only be run from the
command line, and if there is a PHP error then cake dumps out error
messages wrapped in HTML. When you try to read these error message
from the command line it's impossible to see what the error was.
Is there a way to disa
Hi,
I added a comment in the Bakery to the CSS Menu Helper page here:
http://bakery.cakephp.org/articles/view/css-menu-helper
Here is a duplicate of my comment:
#begin comment
4 gap between parent and child breaks menu
In IE and Opera, there is a small but visible gap between the parent
li and
just a few things off top of my head...
- validation rules and new validation options in 1.2
- containable behavior to restrict model bindings
- 1.2 rc1+ ... the operators in find() moved to the key side, i.e.
('ModelName.Field LIKE'=>'apple')
- Don't remember for sure how it was in 1.1, but url(
What about "http" and "https"? I'm using the language controller form:
http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial,
and in "change" method there is, a line:
$this->redirect($this->referer(null, true));
The problem is if I use my app via
Hello everybody
Since yesterday, everytime I try to cake bake views my windows vista box
come with the following error: CLI has stopped working
does anybody know about that issue?
thanks a lot
Carlos
--~--~-~--~~~---~--~~
You received this message because you
I have an application that is working fine on my local machine using
the behavior of Multivalidatable (see
http://bakery.cakephp.org/articles/view/multivalidatablebehavior-using-many-validation-rulesets-per-model)
When I run it from my local machine (where I have control of the
httpd.conf), it wo
Hi,
> i m encrypted my password with $this->Auth->password ,but noe i want
> to decrypt that password , how can i do that?
You can't, because a hash function is used to "encrypt" your password.
And from a hash value you can't get back the original value by design.
Why do you want to decrypt the
Hi!
This is impossible as CakePHP uses a hash function to encrypt them. A
hash function is a one way function. So there is no way to decrypt
them again.
-- Bernhard J. M. Grün
2008/10/25 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> hi,
> i m encrypted my password with $this->Auth->password ,but n
Hi Martin,
> I am in the process of migrating my very first CakePHP application to
> 1.2. I decided to try to keep track of my migration steps in a case-
> study.
>
> Considering how much CakePHP has evolved and also how many beginner-
> mistakes I have put into this application, this migration w
hi,
i m encrypted my password with $this->Auth->password ,but noe i want
to decrypt that password , how can i do that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email
46 matches
Mail list logo