On Thu, Feb 14, 2008 at 6:36 AM, xmihu <[EMAIL PROTECTED]> wrote:
>
> Thank you for your answer.
> But my link is http://localhost/posts.rss
You are right now getting an rss for the index action of your posts
controller - right?
Now if you want the results from your posts/index to be filtered
hi quoc,
{n} is a place holder for "index number". CakePHP will automatically
replace it with the appropriate index number. Consider if you have
data in this format and you want to extract all the tiles
// Data
$data = Array([0] =>
array("Post" =>
Now I can't exactly duplicate the problem, unless I use the BACK problem,
and that's in IE.
But anyways, I'm glad it's working.
Just FYI, I've seen PHP code that refuses to cache IE pages once a user is
logged in. I guess this can be simulated in cake with the following:
if ($this->Auth->user())
Hi,
I have a person table that has an many events table and also has many
work tables
one person has several events and also has several works .
I can't get the code correct.
==
array('className' => 'Event',
You were right twice. First that the method is in the latest revision,
second, that sleep is important. After I got some i noticed that i'm
not even on the right revision of the repo :))
Thanks!
On Feb 14, 4:41 am, "Mariano Iglesias" <[EMAIL PROTECTED]>
wrote:
> I meant on the Model class, don't
Baz,
Awesome. I can totally blame IE because I just updated my version of
Firefox, ran it through and everything works just like it is supposed
to. I have no session caching issues. When I log out, I am actually
logged out and can not go to a private controller without the login
page appearing.
Sorry, I missed a question. I guess I assumed:
5. Is most of your Auth stuff in app_controller?
If so, then you are a required (I think) call parent::beforeFilter() in
every controller where you override the beforeFilter().
This is because you are essentially nullifying everything you did in
app
Baz,
Yes, I am running IE7 on Windows XP Pro.
Missed the 4 questions earlier... sorry a bout that.
1. Is $this->Auth->autoRedirect = false ???
No, I never changed this setting. I just double checked at run
time, and it is True.
2. In your controllers are you overriding beforeFilter?
Further to this, if you specify "leaf" => true, Ext JS disables the
node from having any children, so you can't drop anything onto it. If
you want it to be already expanded, but still allow children, then you
can use this code.
foreach ($nodes as $node){
if ($node['Employee']['has_childre
I meant on the Model class, don't know what I was thinking. Guess I should
get more sleep.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
https://trac.cakephp.org/changeset/6415
They are part of the ModelBehavior class from which all your behaviors
should extend. And since it is a public callable it will be exposed to those
models that act as your behavior. Hence, it *is* available.
-MI
---
Hi Mech7,
Thanks for taking the time to do the tutorial. The ajax layout is
selected automatically if you include the "RequestHandler" component
in your controller (which is demonstrated in the tutorial).
The issue with the your responseText problem is most likely due to you
outputting data (or
@Dardo
that looks perfect for what I need, just one quick question. Can I just use
it in my User model, or do I need to create a multiValidate model, and if
so, what would be the naming convention on that?
On Feb 8, 2008 4:16 AM, Dardo Sordi Bogado <[EMAIL PROTECTED]> wrote:
>
> You can set diffe
Mmmm...this sounds cool but i couldn't find any trace of the attach
and detach functions in the model class (or any of the above classes),
even though I'm with SVN up at 6457. The call off detach/attach
results in executing the query detach/attach which is obviously
incorrect.
On Feb 14, 3:16 am,
Thank you for your answer.
But my link is http://localhost/posts.rss
On Feb 13, 7:21 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> http://localhost/posts/view/1.rss
>
> HTH
>
> Tarique
>
> --
> =
> Cheesecake-Photoblog:http://che
yes, there is actually a pretty easy way to do this, and the location of the
code depends on where you want it applied.
In my own site, I have 2 separate layouts, one for logged in users, one for
non-logged in users. in my app_controller.php file, I have the following
code set up in the beforeFilt
In the cake manual this is an example of the generateList function:
$this->set(
'Roles',
$this->Role->generateList(null, 'role_name ASC', null,
'{n}.Role.id', '{n}.Role.role_name')
);
I see this around a lot {n}.Role.id but I can't seem to figure out
what the {n} means. I've been trying
This is not really possible using just the class information alone -
the fields are dynamically read from the database, and not hardcoded
into the class. You could probably have your table names and key
fields generated, but personally I don't really see the point. If you
use a mysql gui such as n
You should try using associations (hasMany, belongTo,...)
Regards,
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On Wed, Feb 13, 2008 at 6:44 PM, Viktor Nagy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am working on an application to analyse my installed applications
> usage (it's based on p
Sounds like you're looking for the controller's render() method.
It's always good to check the manual (http://manual.cakephp.org/
chapter/controllers) or the API (http://api.cakephp.org/
class_controller.html) first :)
On Feb 13, 10:53 pm, subnet <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> is ther
Hi,
I heard a developer friend mention once that he heard of CakePHP
considering sort of a 'reverse baking' technique, in that the database
structure is created automatically from the model relationships.
Could anyone verify this? And if true point me to the thread, it
sounds very interesting a
On Feb 13, 2008 8:00 AM, avairet <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Thank you for answer.
>
> No I haven't tried this, because I thought Cake doesn't accept an
> association between 2 models with the same name...
> In your example, have you created the "joinTable" before creating
> HABTM in
You have to set a RewriteCond on myaccount after the rule on the HTTPS
port.
Check on Apache, I am sure there are plenty of sample to combine to
condition for a rule.
hth
On Feb 13, 11:07 pm, Hoddy <[EMAIL PROTECTED]> wrote:
> cake1.1, apache1.3
>
> Hi
>
> could anyone please shed any light on us
Yes, a save() will always trigger behavior's afterSave().
One thing you can do is SVN up and then from your behavior do:
$settings = $this->settings[$Model->alias];
$Model->detach('MyBehavior');
$Model->save( ... );
$Model->attach('MyBehavior', $settings);
-MI
Hi
If in the afterSave function of a behavior i make other saves in the
save model, does the afterSave function gets called again for each
save, and then again and again?
If yes, is there a way to perform the save from the inside the
afterSave function so that this will ignore the behavior (itself
thanks.
On Feb 14, 3:40 am, DrZippie <[EMAIL PROTECTED]> wrote:
> There was a bug:
>
> https://trac.cakephp.org/ticket/3814
>
> It's solved on SVN.
>
> 2008/2/12, trav <[EMAIL PROTECTED]>:
>
>
>
> > I didn't realise google groups couldn't handle url requests. Here is
> > the url to copy and paste
Are you in internet explorer?
IE has a nasty habit of caching stuff it shouldn't.
Also, you didn't look at my last response...
Answer those 4 questions and i'll be able to help.
On Feb 13, 2008 4:56 PM, Rod D. <[EMAIL PROTECTED]> wrote:
>
> Unfortunately that did not solve the problem.
> I rep
Hi all,
is there any way to set an alternate view(-template) inside a
controller?
f.e.
class UsersController extends AppController
{
function login() {
if (...)
// default: render with view login.thtml
else
// render with a different view, f.e. login_error.thtml
}
thx,
Unfortunately that did not solve the problem.
I replaced my logout function with your suggestion below, and I get
the message that the user was logged out, but if I then type in the
url of the private controller, then I am allowed back in with no new
login prompt.
I must have some other issue, bu
Questions:
1. Is $this->Auth->autoRedirect = false ???
2. In your controllers are you overriding beforeFilter?
3. If yes to 2. are you calling parent::beforeFilter()?
4. If yes to 1. are you calling ? $this->Auth->logout() ???
On Feb 13, 2008 4:36 PM, Rod D. <[EMAIL PROTECTED]> wrot
Hi everyone.
Cake: 1.2.0.6311 beta, Mysql 5, PHP 5, Sessions: Database, Security:
High
I wonder if anyone has come across this problem I am having with Cake
1.2 Beta.
I have setup the Auth component and have a username and password
working correctly. If I try to access a controller that is pri
cake1.1, apache1.3
Hi
could anyone please shed any light on using htaccess to force a
section of the site (ie myaccount) to use https.
The problem is that ALL requests get redirected to HTTPS instead of
just those to /myaccount/*
My htaccess in root dir looks like:
RewriteEngine On
RewriteBa
Hi,
Why do yopu want to devide the controller methods ? the whole purpose
of a controller is to _group_ them. You should think about "fat model,
thin controllers" - do a search on that , also you might take a look
at editors wich support code folding - vim, eclipse and *many* others.
On 2/13/08,
On Feb 13, 2008 4:40 PM, Rod D. <[EMAIL PROTECTED]> wrote:
>
> The problem I am having is after the user logs out, and the browser is
> still open, if you then type a url that points to a private
> controller, then the access is allowed. But if the browser is closed
> after the user logs out, and
Hi everyone.
Cake: 1.2.0.6311 beta, Mysql 5, PHP 5, Sessions: Database, Security:
High
I wonder if anyone has come across this problem I am having with Cake
1.2 Beta.
I have setup the Auth component and have a username and password
working correctly. If I try to access a controller that is pri
Hi,
I am working on an application to analyse my installed applications
usage (it's based on popularity contest from debian). The script is
command line. All the "modules" (tasks in cake) work fine when I test
them separately, but they fail to work in a "real" situation. The
problem is the follow
There might be some helpful suggestions here
http://groups.google.com/group/cake-php/search?group=cake-php&q=db+error&qt_g=Search+this+group
On Feb 13, 2008 2:14 PM, angusm <[EMAIL PROTECTED]> wrote:
>
> Hi All
>
> How can I get the error details of a failed save call into a local
> variable?
Hi All
How can I get the error details of a failed save call into a local
variable? Here is basically what I'm trying to do in controller, what
can I use for so I can send the error
details back to client?
function save()
{
$this->layout = 'json';
$aResult = array();
can i jump in here?
i have app_controller.php in controllers/ and its first line is
die("woot")
it does not die. i made a copy and put in the app root, and it did
not die either.
1.2.0.6311 beta
On Jan 30, 4:39 am, Seb <[EMAIL PROTECTED]> wrote:
> OK, now I'm confused.
>
> I've just got the l
I'm running a CakePHP website using Dreamhost, hosted @
beta.aevumdecessus.com.
the webroot for that is pointing to /home/**/beta/app/weboot.
I just uploaded the files to the beta directory, changed the webroot folder,
and it worked perfectly fine for me, still does actually. Never had to edit
any
For those of you who use CakePHP on Dreamhost with PHP 5.2.2 enabled,
did you have to modify the default htaccess files that come with Cake
for it to work?
I have my domain pointing to /home/yoursusername/yourdomain.com/app/
webroot/ in the web panel.
--~--~-~--~~~---~
Your comments have indeed helped to clarify things, MX. I'm going to
digest the ideas that all of you have offered. Thank you all.
When I started this project, I put all the methods for both Projects
and Roles in one controller "Industry". It works but has bothered me.
I'll do the next project di
Controllers which have many method (like users_controller) are liable
to large.
example:
app/controllers/examples_controller.php
class ExamplesController extends AppController {
function index(){}
function edit(){}
function add(){}
etc...
}
I want divide this into small file
I've read "In fact if you store UUID in binary form you can bring it
down to 16 bytes so size is not really the problem."
http://www.mysqlperformanceblog.com/2007/03/13/to-uuid-or-not-to-uuid/
Why must it be char and not binary?
On Feb 13, 8:12 am, Baz <[EMAIL PROTECTED]> wrote:
> So, what's yo
Spark,
Thanks so much for the help. It solved the problem. And don't worry,
I wasn't actually using boolean variables as strings, just the actual
variables I am using are long, similar hyperlinks. Maybe "red/blue"
would have been a better choice :)
On Feb 13, 1:01 pm, "DJ Spark" <[EMAIL PROT
Ok i got it to work.. there a small changes i needed to make though..
on getnodes function the layout was not set:
$this->layout = 'ajax';
In the javascript from ext, 1 was never send back as the first
character at 0 but at 1.. so there was always an alert that the
article could not be saved (in
in webroot/index.php
On 13 velj, 18:26, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Feb 13, 2008 11:26 AM, YoriS <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi everybody... im building an app, a simple one, but an app
> > evenenough, and i run into some trouble in the viewing handleing...
> > cakeP
Hi all,
I have exactly the same probleme : "Error: schema.php could not be
loaded"
I've seen the screen cast and i change cake.bat to give a full path to
php.exe
I lauched the script from d:\www\cake\app\
When i baked my controler and view i didn't have any probleme.
Up to now it only happend wh
Thanks for posting the schema Athies.
On Jan 31, 10:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> You are correct. I found did exactly this and was able to use this
> information to create a schema for the table-less model. Here is what
> I defined in my model (for anyone who reads th
I have the same thing.. either in app_controller or the controller
itself Javascript is loaded.. but the variable doesnt exists.. Also
problems with the security component in the latest version :(
On Jan 28, 10:13 am, "Novice Programmer" <[EMAIL PROTECTED]>
wrote:
> Is the javascript helper loade
Brett, look:
BEGIN
LOOP1 - $user_online = true;
LOOP2 - $user_online = true;
LOOP3 - $user_online = false;
END
SET VARIABLE TO VIEW
$view->user_online = $user_online;
which value will be there in the view ?
Now, the simplest way, is to use the user array itself:
foreach ($comment
There was a bug:
https://trac.cakephp.org/ticket/3814
It's solved on SVN.
2008/2/12, trav <[EMAIL PROTECTED]>:
>
>
> I didn't realise google groups couldn't handle url requests. Here is
> the url to copy and paste
>
> http://img170.imageshack.us/my.php?image=schemavo5.gif
> >
>
--
Anto
On Feb 13, 2008 11:26 AM, YoriS <[EMAIL PROTECTED]> wrote:
>
> Hi everybody... im building an app, a simple one, but an app
> evenenough, and i run into some trouble in the viewing handleing...
> cakePHP handles my DB and im using EXTJS framework to visualize the
> data, but i need the views to re
Hi everybody... im building an app, a simple one, but an app
evenenough, and i run into some trouble in the viewing handleing...
cakePHP handles my DB and im using EXTJS framework to visualize the
data, but i need the views to return only what i want ... i got that
far... but found out that at the
Hey all,
I'm trying to create a condition in my controller within a foreach
loop and then use this information in the view.
A quick note, $comments is a proper array, as is $online_now, so it is
not an array issue. The question is where (or if) I can set the
variable $user_online so that it it
Hi everyone,
I've been searching the net trying to find some information about some
work that i am doing. What i wish to do is filter all my posts by the
site_id's. But now to make the select box easier for the user to
understand i wish the select box to show the name of the sites and
they can
It is now, but it still gives the 500 error.
On Feb 13, 10:59 am, "DJ Spark" <[EMAIL PROTECTED]> wrote:
> is your domain pointing to /home/yoursusername/yourdomain.com/app/webroot/ ?
>
> spark
>
> On Feb 13, 2008 12:16 PM, Sam Sherlock <[EMAIL PROTECTED]> wrote:
>
>
>
> > although this is not fo
There have been some typos in the script shown. I have submitted the
corrections.
On Feb 13, 3:46 pm, su6z3r0 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying the example athttp://book.cakephp.org/view/91/tree-behavior.
>
> When I save a new node the parent_id is missing in the INSERT. If I do
>
is your domain pointing to /home/yoursusername/yourdomain.com/app/webroot/ ?
spark
On Feb 13, 2008 12:16 PM, Sam Sherlock <[EMAIL PROTECTED]> wrote:
> although this is not for dreamhost (this works for 1and1) without these
> .htaccess adjusments I get a 500 error
>
> AddType x-mapp-php5 .php
look in the book in the model attributes section
http://book.cakephp.org/view/66/models#model-attributes
On Feb 13, 2008 2:10 AM, Kishor <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I'm facing following problem with cakephp model function
>
>print_r($this->Post->findAll());
>
> ##Above f
although this is not for dreamhost (this works for 1and1) without these
.htaccess adjusments I get a 500 error
AddType x-mapp-php5 .php
RewriteEngine on
RewriteRule /v6$ /v6/ [L]
RewriteRule^$/v6/webroot/[L]
RewriteRule(.*) /v6/webroot/$1[L]
where v6 is your
Hi,
When I generate my app with Bake script and I want baking Unit tests
too, I don't understand all very well...
- must I create two databases and insert same schema into both before
starting Bake? or Bake can create himself the "test tables"?
- must I choose "test" database config at Bake prom
So, what's your question?
On Feb 12, 2008 4:41 PM, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote:
>
> On this page (http://bakery.cakephp.org/articles/view/uuid-behavior) I
> saw the following:
>
> "Last cake 1.2 build support uuid for your primary key column. You
> just need have field ID with typ
1.2 Manual beta
http://tempdocs.cakephp.org/#TOC62419
1.2 Cookbook
http://book.cakephp.org/view/70/primary-keys-used-as-uuids
1.2 API source
http://api.cakephp.org/1.2/libs_2model_2model_8php-source.html#l01213
On 12 fév, 23:41, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote:
> On this page (http:/
All fixed, thanks a lot! :)
On Feb 13, 2:49 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Feb 13, 2008 8:06 AM, smoove <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is there any way to include the javascript helper without having to
> > make a model, controller and view? Perhaps by setting it as "in
Yes. Just upload the files and run. PHP 5, I don't remember the release
name.
Are you getting this error at default cakephp page?
I only get 500 Internal Server Error when I use setFlash and redirect.
What's the URL ?
[]'s
On Feb 13, 2008 12:54 PM, Action <[EMAIL PROTECTED]> wrote:
>
> I can'
Hi,
I am trying the example at http://book.cakephp.org/view/91/tree-behavior.
When I save a new node the parent_id is missing in the INSERT. If I do
a debug the parent_id is set but the INSERT just has left, right, and
title values.
Any ideas what I might be doing wrong?
THX,
Alex
--~--~-
if you want to use the core component, delete or move/rename your own
email.php component. It overrides the core's one
On 13 fév, 16:02, djiize <[EMAIL PROTECTED]> wrote:
> good start to Email core component:http://book.cakephp.org/view/176/email
>
> On 13 fév, 15:41, searchmax <[EMAIL PROTECTED]
good start to Email core component:
http://book.cakephp.org/view/176/email
On 13 fév, 15:41, searchmax <[EMAIL PROTECTED]> wrote:
> Hi djiize,
>
> Thanks a ton i have resolved that bug. Actually there is a space after
> the (?>) closing tag and after removing that my code is working fine..
>
I have asked again my SQL gurus about this "hack" using in Cake. Their
answer is :
"adding an Id field is possible, but it will result to a sensible
performance decrease (I/O bound effect)."
Hope this help to improve Cake capacities for the future releases...
Avairet
On 13 fév, 14:25, avairet
I can't even get Cake to show up. How were you able to do it? Did you
just upload the cake files and it just worked? Are you running PHP
5.2.2 in your web panel?
On Feb 13, 9:52 am, "Renan Gonçalves" <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I'm getting too.
> When I do redirect or setFlash.
>
> Try t
Hi.
I'm getting too.
When I do redirect or setFlash.
Try to call with support!
[]'s
On Feb 13, 2008 12:20 PM, Action <[EMAIL PROTECTED]> wrote:
>
> I am getting 500 errors with a fresh CakePHP installation on Dreamhost
> (PHP 5.2.2). Is this something that can be fixed by changing the
> htacc
Hi djiize,
Thanks a ton i have resolved that bug. Actually there is a space after
the (?>) closing tag and after removing that my code is working fine..
Thankyou very much for your help:-)
djiize wrote:
>
>
> in your email.php component file, check if there's nothing after
> closing tag (
On Jan 24, 9:28 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> Delete all the files in the tmp/cache directory.
Yeah, that didn't work for me. And as I said, a fresh install with
nothing in the tmp directories didn't work either.
We're currently setting up a new server with PHP5, so I guess t
I am getting 500 errors with a fresh CakePHP installation on Dreamhost
(PHP 5.2.2). Is this something that can be fixed by changing the
htaccess files?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
I am running a Task from the CLI, and at a $this->Model->field query I get
Fatal error: Class 'String' not found in
/home/nagyv/workspace/cakephp1.2/cake/libs/model/datasources/dbo_source.php
on line 1455
I've tried it with the beta and the svn trunk as well.
I run PHP 5.2.3-1ubuntu6.3 (cli).
Well no, you wouldn't need to make a Model etc...
There are a number of ways, each with their own costs/benefits:
1. Copy the pages_controller.php out of the core and into your app
and edit it. Cake will look for your controller first, then if it
can't find it use the core version by default.
2
Thankyou very much for showing interest in my query. I have checked the file
email.php and after ?> closing tag nothing is there. I have searched in cake
for email component and what i got is the phpmailer thing and i have
proceeded with that. Can you please send me some links to any examples whi
On Feb 13, 2008 8:06 AM, smoove <[EMAIL PROTECTED]> wrote:
>
> Is there any way to include the javascript helper without having to
> make a model, controller and view? Perhaps by setting it as "include
> by default"?
>
> I look forward to any reaction at all :)
If you want the "quick and dirty" w
Hello!
I've read this discussion and asked question about it to an older DBA,
master of Modelisation and SQL theory since 30 years.
He says there are a lot of stupidities and many authors need studying
Modelisation and Theory before posting...
Only one thing: a Primary Key is not equal to Unique
Thanks Looks good!
Quick Questions, what exactly is a slug? It says it's devault value
for slug will be the slug field in my database but I do not have
this.
thanks,
Neil
On Feb 13, 7:25 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Check the sluggable behavior in the bakery
>
> On Feb
Hey everybody,
I have a slight 'issue' with CakePHP, which I will explain now:
A website I am building has static pages, but I need to include the
javascript helper so I can link to the javascript files which are
needed for the application.
What I am doing so far, is using the default pages model
Hello,
Thank you for answer.
No I haven't tried this, because I thought Cake doesn't accept an
association between 2 models with the same name...
In your example, have you created the "joinTable" before creating
HABTM in the model definition?
Is it possible to link YourModel with YourModel and t
Check the sluggable behavior in the bakery
On Feb 13, 2008 3:13 AM, Neil <[EMAIL PROTECTED]> wrote:
>
> Hello,
> The majority of my blog that I made with cakePHP is up and running. If
> you would like to see what I got so far it is located at:
> http://www.NeilsWeb.com
>
> Now I would like to fi
Hi,
I have a page with a user registration form and login form which is
using the Auth component. The issue is that since both use the same
User model, both forms are populating with the same data. i.e if you
enter invalid registration data both the login and registration form
are then populated
Hi there ...
Is it possible to send html mails with embedded images?
thx
sucram
--~--~-~--~~~---~--~~
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 uns
in your email.php component file, check if there's nothing after
closing tag (?>)
and FYI, there's an Email core component in Cake
On 13 fév, 11:04, searchmax <[EMAIL PROTECTED]> wrote:
> My code was working fine with sessions but when i added the email(phpmailer),
> I am getting the below error
Hi..
I dug around a bit more.. fixed a permissions problem on the cache
dir..
All fixed.
Duncan.
On Feb 13, 1:31 pm, duncan_m <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm working through the sample blog tutorial that's provided at:
>
> http://manual.cakephp.org/appendix/blog_tutorial
>
> Eve
On Feb 13, 2008 3:21 PM, xmihu <[EMAIL PROTECTED]> wrote:
> The same as http://localhost/posts/view/1
http://localhost/posts/view/1.rss
HTH
Tarique
--
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://san
I just looked up the tantalising post which Christian referred to at:
https://trac.cakephp.org/ticket/2191
'Examples will be forthcoming'
Did anything ever come of this?
Ben
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I'm also running into this problem and trying to come up with
workarounds.
I posted one idea at
http://groups.google.com/group/cake-php/browse_thread/thread/b91681a12ecf35ee
This is I think similar to your idea Christian in that it attempts to
make the parentID more dynamic. My thought was that
If I want to add a parameter that how do?
Only RSS someone's posts
The same as http://localhost/posts/view/1
thanks a lot
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send
Hi ...
as sbeam said, transactions wouldn't help, it had to be good ol'
locking. I was able to reproduce this error quite easily, so I'm not
too sure about the one in a million thing.
I tweaked grigri ListBehavior class a bit to support locking. I first
used table locks but because of the way Ca
Hey there, I am having exactly the same problem as you. By the looks
of it, I need some kind of layout controller to load the javascript
helper.
Could you perhaps point me to the "pages.ctb" file? I can't seem to
find it.. thanks!
On Feb 6, 4:40 pm, Ithaka <[EMAIL PROTECTED]> wrote:
> Found anoth
Hey everyone,
I have set up CakePHP 1.2 beta on my host and am writing a CMS. I
have set up two models, one called Menus and the other called
Contents. Menus -> hasMany -> Contents, while Contents -> belongsTo -
> Menus.
In my controller code, I am at the stage of validating my data against
th
My code was working fine with sessions but when i added the email(phpmailer),
I am getting the below error when i use email(phpmailer) component and
checking the session
If i comment var $components = array('Email');, everything works fine. Pls
help me in this regard
CODE
checkSession();
}
Hi there,
I'm working through the sample blog tutorial that's provided at:
http://manual.cakephp.org/appendix/blog_tutorial
Everything pretty much works as it should.. I can delete, edit, add..
But at the top of each page presented to my browser I see two
instances of this:
Warning: file_put_c
I have been following the tutorial at
http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake,
in order to setup a cakePHP and Eclipse Environment that will give me
the ability to use cakePHP code completion, as well as run the bake
script in the Eclipse Workspace. However it
Hey everyone,
I have set up CakePHP 1.2 beta on my host and am writing a CMS. I
have set up two models, one called Menus and the other called
Contents. Menus -> hasMany -> Contents, while Contents -> belongsTo -
> Menus.
In my controller code, I am at the stage of validating my data against
th
Thanks for your reply,
Your description would enable people to work; however, if I have
understood correctly, it relies on specifying permissions for
individual users to override group permissions. This rather seems to
me to then lose a lot of the advantage of using ACL.
My original question was
1 - 100 of 102 matches
Mail list logo