Hello everybody, hi Franky,
Thanks for your reply!
So XML seams to be a core helper. But I don't understand from where I get it
working. Am I right if I use it in my controller?
I tried this in my_controller.php:
var $helpers = array('Html', 'Form', 'Javascript', 'Xml');
Hello,
thanks for your answer.
What do you mean with .htaccess in your webroot virtual site?
I have in my apache config following: AccessFileName .htaccess
Or should it be in the virtual host configuration?
Regards
Arndtinho
On 16 Okt., 01:00, francky06l [EMAIL PROTECTED] wrote:
Usually
I am following a tutorial for CakePHP from https://
www6.software.ibm.com/developerworks/education/os-php-cake1/
section3.html
I created a view for registration, on submitting it should submit
values to the database. But it is displaying error Object not
found!.
Following is my view code:
Hi Mohammad,
Have you checked on typos in your object/controller/function name?
Common typos are e.g. your model is named Foo
$this-data['Foos'] instead of $this-data['Foo']
Or the action goes to foo_controller instead of foos_controller
Lastly check your model foo.php on typos.
Good hunt!
Dabble around with the debug() method, like
$this-data = $this-Model-find( /* conditions */ );
debug($this-data);
You'll find the answer eventually...
On 16 Oct 2008, at 16:41, Cody Sortore wrote:
Okay, I added this:
if ($secretid != /* What Goes Here? */ ) {
Okay, I added this:
if ($secretid != /* What Goes Here? */ ) {
$this-flash(__('Invalid Secret Identification Code', true),
array('action'='index'));
}
Tried several different things, but I'm a noob, which is why I
couldn't get it to work in the first place, I was just messing around
Hi,
I've got, say, two actions, with exactly the same action name but
belong to different controllers.
posts/add,
comments/add.
I want to set:
$this-Auth-allow('comments/add');
(while blocking users not logged in from access posts/add)
But this syntax does not seem to be supported by Auth
Woops... didn't mean to post the same thing again.
Thanks, you've set me on the right path at least, I can generally find
my way with a little direction.
On Oct 16, 2:51 am, David C. Zentgraf [EMAIL PROTECTED] wrote:
Dabble around with the debug() method, like
$this-data = $this-Model-find(
Possibly, but it's worked for quite some time now. Until recently,
cake used raw sql internally for `find('count')`, although now there's
a `DboSource::calculate()` method, so I'm not sure.
I don't like using `query()` unless it's really necessary; it's nice
to get the automagic of `find()`, but
Using admin routing + .htaccess to restrict admin operations.
Works correctly while cake debug is set to 1.
When debug = 0, 404 error is returned instead of username/password
(define in .htaccess of /admin directory) dialog.
Any ideas why?
--~--~-~--~~~---~--~~
I have, from time to time, had immense problems running tests on
models. I keep getting errors about tables being missing on seemingly
any random table, including ones in the core tests.
I believe I have found out how these errors occur. They happen when
you have tried to run a test with a
Hello,
I'm completely new to cake and I'm thinking about how to implement a
bunch of complex procedure that should go in my models, the ideal
implementation would be a classic finite-state machine automata.
Does anybody have any idea or suggestion?
For example, I was thinking of using this
Hi everybody,
The behavior of bcc addresses being publicly viewed in email send by
the EmailComponent is still active.
But it still is only happening, when I use SMTP to send the emails.
When using MAIL as the delivery method, it should not happen, cause
the php mailer may filter this out.
Has
Think twice about what's actually going on in that code...
If no $id or $secretid were supplied, you redirect somewhere else.
If $this-data is not empty... doesn't matter.
Then, last case that always gets triggered if there's ANY $id or
$secretid, you fetch the data from the DB and present it
I didn't find any typo...
Following are my files...
/
*/
C:\xampp\htdocs\cake\app\models\user.php
?php
class User extends AppModel
{
var $name = 'User';
}
?
/
Hi,
I don't know what your app does but here are some thoughts on your
situation.
I think you might want to think about creating a common User model.
Your existing Client and Agent models could be linked to a User via
hasOne or belongsTo.
Any common properties can be moved into User along with
Take a look at this bakery article about Sitemaps, which are dynamisch
XML files generated from different models using find('all')
http://bakery.cakephp.org/articles/view/automatically-generate-dynamic-sitemaps
I think there you have all your answers.
On Thu, Oct 16, 2008 at 8:29 AM,
Hi,
I have a custom installation of CakePHP in my development setup
(mainly to share core and some vendors and to resemble the production
setup).
Setup is as follows:
/Webserver
/apps
/app1
/app2
/Documents (this is Apache document root
I found all products accordingly users by using Containable behavior.
code is:
$this-User-contain(array('Product'));
debug($this-User-find('all', array('conditions' = array('User.id'
= $this-Auth-user('id');
But now don't know how to find all brands accordingly a users product?
Is CakePHP
There is a ticket for this already. I found it yesterday when I was
looking into this myself. The problem is new to rc3. Rc2 works just as
Cake always has.
Add your tests and thoughts there if you can.
https://trac.cakephp.org/ticket/5579
About requiring join tables and their pk requirements.
I don't see any obvious typo in your classes but one thing popped into
my head that I thought I'd ask you.
Are you developing in 1.1 or 1.2?
IBM had a bunch of tutorials for early Cake 1.1. They do not work as
expected on 1.2 because so much has changes in the APIs.
/Martin
On Oct 16, 10:14 am,
Hi Mohammad,
On the first glance everything looks well and your files are at the right place.
My user model look like this:
class User extends AppModel {
var $name = 'User';
var $useTable = 'users';
}
My users_controller starts the same as yours.
Sorry maybe someone else has
I moved the security to medium.
I moved the method to 'database'
I have a .htaccess that redirects everything from www.domain.com to
www.domain.com/1_00/
If I take the htaccess out, everything works. Otherwise, you can login
but all AJAX request fails. AJAX request go to
Try removing any hidden character you may have after the php closing
tag (?).
Example:
?remove anything after the tag
Hope it helps
Cheers
Marcus
On Oct 16, 11:31 am, imu [EMAIL PROTECTED] wrote:
here is my directory structure:
www.domain.com/
1_00/
app/
views/
root/
login.thtml
projects/
new.thtml
If i create a Session variable in root controller, i cant see it
outside. If i create a
It tells your model in which table it should look for your users.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von xelios
Gesendet: Donnerstag, 16. Oktober 2008 12:29
An: CakePHP
Betreff: Re: Object not found! error...
var
I am working on v1.1.20
now I have created a new view for displaying the users, its working
fi9.
But the problem I mentioned in my earlier posts is still there..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Whenever I use helpers, Call to undefined function... error occure.
This might be due to declaration issues. I've declared in my
controller class.
var $helpers = array('Html', 'Form');
but still having problems.
--~--~-~--~~~---~--~~
You received this message
I found a small problem with the Auth component in my latest cake app:
-User is logged in
-I'm also logged in and I delete the other user
-The other (now non-existing) user is still logged in!
Why does Auth not check if a User also exists?! How to fix this?
Hi,
Whenever I use helpers, Call to undefined function... error occure.
This might be due to declaration issues. I've declared in my
controller class.
var $helpers = array('Html', 'Form');
but still having problems.
That's the correct way. Can you provide an example that fails?
--
I updated mu i18n lib from trunk,
but it didn't work on 64bit Linux/Suse and 64bit Linux/Ubuntu servers
I suggested this hack, that made the all thing work.
https://trac.cakephp.org/ticket/3729
Dan
On Oct 16, 12:06 am, Larry E. Masters aka PhpNut [EMAIL PROTECTED]
wrote:
Unless you are
Hey all,
I've set up FCKeditor using the following code in my helper:
?php
class FckHelper extends AppHelper
{
var $helpers = array('Javascript');
function load( $template = 'default', $height = '300', $width =
'650', $toolbar = 'Default' )
{
$jsDS = '/'; //because \' only
Ok. Thanks.
I'll check it out this evening.
Arndtinho
On 16 Okt., 11:03, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
He wanted you to check if a .htaccess file is present (and readable to
the webserver)
E:/Pfad/zum/Projekt/.htaccess
Another thing that could give a clue is to look at the
I have the same question. Did you figure this out?
On Sep 4, 3:06 am, vibhor [EMAIL PROTECTED] wrote:
Hello all,
I am looking to integrate the XML/SWF charts(http://www.maani.us/xml_charts/
) feature in my cakephp application. I have read Chris Hartjes's
tutorial
Hi Siegfried!
Good idea! I will inhale this tutorial :-)
If I get it right finally I even might write an own tutorial for export ;-)
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Siegfried Hirsch
Gesendet: Donnerstag, 16.
i have use $ajax-remoteTimer in my project , in that project my
statement like
echo $ajax-remoteTimer( array( 'url' = array( 'controller' =
'Users', 'action' = 'liveuser', 1 ),
'update' = 'out2', 'position' =
He wanted you to check if a .htaccess file is present (and readable to
the webserver)
E:/Pfad/zum/Projekt/.htaccess
Another thing that could give a clue is to look at the source of the
front page of your application.
Look at where the css, javascript, images and links point.
I would also
var $useTable = 'users';
Wot is the purpose of above line...
--~--~-~--~~~---~--~~
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
I am working on v1.1.20
now I have created a new view for displaying the users, its working
fi9.
But the problem I mentioned in my earlier posts is still there..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Thanks Marcus
Now its working.
On Oct 16, 4:05 pm, Marcus Silva [EMAIL PROTECTED] wrote:
Try removing any hidden character you may have after the php closing
tag (?).
Example:
?remove anything after the tag
Hope it helps
Cheers
Marcus
On Oct 16, 11:31 am, imu [EMAIL
controller file is messages_controller.php
?php
class
Hi,
My controller file::
//
?php
class TasksController extends AppController {
var $name = 'Tasks';
var $helpers = array('Html', 'Form');
function index() {
$this-set('tasks',
My controller file::
//
?php
class TasksController extends AppController {
var $name = 'Tasks';
var $helpers = array('Html', 'Form');
function index() {
$this-set('tasks', $this-Task-findAll());
}
Hello everybody,
It looks like I have found a bug :
I have a complex query with an action whcih contains several parameters
whcih I would liek to keep when I use the sorting functionality in the
view.
I found a ticket on this: https://trac.cakephp.org/ticket/2099
This seems to solve my
Hi,
I know what query can return my answer..it's here:
SELECT `Product`.`id`, `Product`.`product_name`, `Brand`.`brand_name`,
`Brand`.`id`, `ProductsUser`.`user_id`, `ProductsUser`.`product_id`
FROM `products` AS `Product` JOIN `products_users` AS `ProductsUser`
ON (`ProductsUser`.`user_id` = 2
*If I remove the htaccess, everything works.
On Oct 16, 6:26 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
here is my directory structure:www.domain.com/
1_00/
app/
views/
root/
login.thtml
projects/
Following is the code of my register.ctp page...
/
***/
pPlease fill out the form below to register an account./p
?php echo $form-create('User', array('action' = 'register'));?
?php
echo
I'm trying to write test cases using testAction, but I can't seem to
break down the controller in between tests. Each successive
testAction call returns the same exact data, even if I call a
completely made up url. I've tried including calls to create/
construct/unset
Hello Marcus
I am intrested to work for you
let me know how much you offer if have done all the features for you?
On Oct 15, 2:48 pm, marcusgoede [EMAIL PROTECTED] wrote:
Hi there,
we are a young startup in Germany and develope an internet plattform
for flights. we started already
i hoped this got fixed in RC3, but i had to discover, that
MAX/MINLENGTH and BETWEEN are still not validating correctly
although i did include the following in bootstrap:
App::import('Core','Multibyte');
it does not change the normal str functions to mb_str functions
i do NOT understand the
Also good to note that you should be building your form inputs with
the cake html and form helpers if you want the forms to work, as in
the tutorials.
-Mark
On Oct 16, 9:22 am, scs [EMAIL PROTECTED] wrote:
if your using cake 1.1 like you said above than your view has the
wrong extension.
Hi,
I know what query can return my answer..it's here:
SELECT `Product`.`id`, `Product`.`product_name`, `Brand`.`brand_name`,
`Brand`.`id`, `ProductsUser`.`user_id`, `ProductsUser`.`product_id`
FROM `products` AS `Product` JOIN `products_users` AS `ProductsUser`
ON (`ProductsUser`.`user_id` = 2
if your using cake 1.1 like you said above than your view has the
wrong extension.
C:\xampp\htdocs\cake\app\views\users\register.ctp
should be
C:\xampp\htdocs\cake\app\views\users\register.thtml
On Oct 16, 7:55 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
It tells your model in which
My issue is.. I have the controller and views working to properly
output xml data at a particular URL using routing. However, XML/SWF
needs a physical file location for the xml_source being passed through
FlashVars. How to go about doing this?
On Oct 16, 10:08 am, Daehee [EMAIL PROTECTED] wrote:
Hello all, I have a cake application that I need to add an existing
table to that doesn't follow the cake naming convention and I am
unable to change the table name so my question is, how do I work
around this. For example, the table name is service (rather than
services) so do to this, I can
testAction simulates a url request, there is no need to unset the
controller as it doesn't get set to the test case. Should the results
come back differently. Please explain more.
-Mark
On Oct 16, 11:40 am, [EMAIL PROTECTED] wrote:
I am not sure that i understand what you are testing? I
Well with urls always changeing wont the results change anyways?
On 10/16/2008, mark_story [EMAIL PROTECTED] wrote:
testAction simulates a url request, there is no need to unset the
controller as it doesn't get set to the test case. Should the results
come back differently. Please explain
I am not sure that i understand what you are testing? I undertand the
problem just not what you are testing.
On 10/16/2008, Chowsapal [EMAIL PROTECTED] wrote:
I'm trying to write test cases using testAction, but I can't seem to
break down the controller in between tests. Each successive
Good luck finding that your request is hard to handel concidering the
compatibility issue. But i suppose that we could look around and get
back to you. Why does it have to be on linux.. what is the problem
with wxp?
On 10/16/2008, oleonav [EMAIL PROTECTED] wrote:
Hi there,
In my
Hi there,
In my development setup I am using some shell programs to index
different kind of files via the exec command in php/cake. for example:
- Word files - using antiword
- Pdf files - using pdftotext
This works fine. But now we have to move the app to a production
environment which does
Well it could be a little hack. When you delete the user make sure
that user is first sighed out or the information may still be there
allowing that user to delete you or change info.
On 10/16/2008, on24nl [EMAIL PROTECTED] wrote:
I found a small problem with the Auth component in my latest
That's the whole problem: how to sign him out? Cake should check if
the user exists on each request. Otherwise this is a big security
hole!
On 16 okt, 18:33, [EMAIL PROTECTED] wrote:
Well it could be a little hack. When you delete the user make sure
that user is first sighed out or the
Go under his account and delete him! Will that work?
On 10/16/2008, on24nl [EMAIL PROTECTED] wrote:
That's the whole problem: how to sign him out? Cake should check if
the user exists on each request. Otherwise this is a big security
hole!
On 16 okt, 18:33, [EMAIL PROTECTED] wrote:
Well
Should be able to do this in the model.
Class Service extends AppModel {
var $useTable = 'service';
}
On Oct 16, 4:48 pm, MDB [EMAIL PROTECTED] wrote:
Hello all, I have a cake application that I need to add an existing
table to that doesn't follow the cake naming convention and I am
Hello,
Just specify it in your model.
class Example extends AppModel {
var $useTable = 'othername';
}
Regars,
Jeroen
On 16 okt, 17:48, MDB [EMAIL PROTECTED] wrote:
Hello all, I have a cake application that I need to add an existing
table to that doesn't follow the cake naming convention
Thanks
On Oct 16, 12:44 pm, on24nl [EMAIL PROTECTED] wrote:
Hello,
Just specify it in your model.
class Example extends AppModel {
var $useTable = 'othername';
}
Regars,
Jeroen
On 16 okt, 17:48, MDB [EMAIL PROTECTED] wrote:
Hello all, I have a cake application that I need to
Right now I'm just trying to test the view vars depending on whether
or not you post data to the url, but all successive calls to
testAction are getting the same (original) results. It sounds like
you're saying I shouldn't have to do anything to get fresh results.
Any idea why I'm getting
I have not done exactly that but I have done the same type of thing
with my own Flash-applications and even a java-applet
You have the view for the page displaying the chart. All this does is
embed the chart and create the link to the chart xml.
From the sample.html it would be altering the
Yes or the cookies. Delete them.
On 10/16/2008, Chowsapal [EMAIL PROTECTED] wrote:
Right now I'm just trying to test the view vars depending on whether
or not you post data to the url, but all successive calls to
testAction are getting the same (original) results. It sounds like
you're
If you make your controller export xml to a location app/webroot/xml/ then
make an action to gather then you can have flash access the exported file.
set the base param of the flash object to you webroot, setting the file
passed to flash as something like xml/exported-data.xml
I have made a
In the Cake Book and the Cake api 'page' is listed as a possible
option for find queries. Neither place really explains what that is. I
assumed it would serve as a manual way of dealing with pagination.
Since I couldn't figure out how to make the paginator work with my
site's architecture, I was
Hello,
the .htaccess file is available and readable.
I also changed the webroot path and enable
RewriteLog logs/rewrite.log
but the result is the same and the logfile ist empty.
Regards
Arndtinho
On 16 Okt., 15:50, Arndtinho [EMAIL PROTECTED] wrote:
Ok. Thanks.
I'll check it out this
Clearing the cookies and cache didn't help. For now I'm just running
the action of the controller instance I created and checking the -
viewVars, but I'm not sure how well this method will hold up with
fixture data.
On Oct 16, 2:24 pm, [EMAIL PROTECTED] wrote:
Yes or the cookies. Delete them.
Hello all, I have 3 tables:
scheduler_customers_services (customer_id int, service_id int)
scheduler_services (id int)
scheduler_customers (id int)
My models looks something like this:
class Service extends AppModel
{
var $name = 'Service';
var $useTable = 'scheduler_services';
ok i will take a look at this when i get back to my office.
On 10/16/2008, Chowsapal [EMAIL PROTECTED] wrote:
Clearing the cookies and cache didn't help. For now I'm just running
the action of the controller instance I created and checking the -
viewVars, but I'm not sure how well this
Aha, found the bug related to this. Our code was not totally up-to-
date, we were missing ClassRegistry::flush() from this changeset:
https://trac.cakephp.org/changeset/7470
Ethan
On Oct 16, 3:22 pm, [EMAIL PROTECTED] wrote:
ok i will take a look at this when i get back to my office.
On
OH GREAT
On 10/16/2008, Chowsapal [EMAIL PROTECTED] wrote:
Aha, found the bug related to this. Our code was not totally up-to-
date, we were missing ClassRegistry::flush() from this changeset:
https://trac.cakephp.org/changeset/7470
Ethan
On Oct 16, 3:22 pm, [EMAIL PROTECTED] wrote:
ok
I disagree. That is an unnecessary query on every page - it's the
reason we have session states.
This is something that foreign key constrains can solve at the
database level. The user shouldn't be able to submit or change any
information if their user id does not exist.
- James
On Oct 16,
Hello,
I find out that's not a mod_rewrite problem.
If I set
?php echo $html-css('global'); ? instead ?= $html-css('global'); ?
or
?php echo $html-link(... ); ? instead ?= $html-link(... ); ?
the app is working fine. But why?
Regards
Arndtinho
On 16 Okt., 11:03, [EMAIL PROTECTED]
[EMAIL
Okay, I changed the customer hasand belongstomany to this:
var $hasAndBelongsToMany = array(
'Service' = array(
'className' = 'Service',
'joinTable' = 'scheduler_customers_services',
'foreignKey' =
Why not?
On 10/16/2008, James K [EMAIL PROTECTED] wrote:
I disagree. That is an unnecessary query on every page - it's the
reason we have session states.
This is something that foreign key constrains can solve at the
database level. The user shouldn't be able to submit or change any
I was going to say, I was pretty sure I fixed this a while back, and
there are tests for it now as well.
-Mark
On Oct 16, 3:41 pm, [EMAIL PROTECTED] wrote:
OH GREAT
On 10/16/2008, Chowsapal [EMAIL PROTECTED] wrote:
Aha, found the bug related to this. Our code was not totally up-to-
Hello,
it's me again.
I find it out!!! The problem is the php short_open_tag-property.
I set it to 'on' and now everything is fine.
Regards
Arndtinho
On 16 Okt., 21:43, Arndtinho [EMAIL PROTECTED] wrote:
Hello,
I find out that's not a mod_rewrite problem.
If I set
?php echo
I hate when people do exactly what I'm going to do, but I wouldn't
post if I didn't think it really was helpful (that is, suggest
something completely different).
Unless you are using the paid-for version of that charting script (XML/
SWF), it may be easier to get Open Flash Chart (http://
Theres more than one way to do it - the old perl adage :)
I was using
http://www.amcharts.com/
beofre that I tried jquery flot - but urgh not a lot of joy with that
2008/10/16 BrendonKoz [EMAIL PROTECTED]
I hate when people do exactly what I'm going to do, but I wouldn't
post if I didn't
I need to add specific attributes to select box options and I havent
found any info on this. Is there a way to add a class to individual
options?
Instead of:
select name=selectbox
option value=1Option 1/option
/select
I need to add a class to the option like so:
select name=selectbox
option
I'm having some trouble with Cake parsing the URL for my RSS feed.
I've got a controller that looks like this:
?php
class RssController extends AppController {
var $name = 'Rss';
var $helpers = array('Time');
var $uses = array('Article');
/* RSS Feed: All
Hi!
This could be a problem with the inflections (singular/plural of the word
rss). Maybe you should try to add rss to config/inflections.php
-- Bernhard J. M. Grün
2008/10/16 MaxCzap [EMAIL PROTECTED]
I'm having some trouble with Cake parsing the URL for my RSS feed.
I've got a controller
Sorry for the double post.
Another way would be to rename your controller to feeds and use the router
to map to rss.
-- Bernhard J. M. Grün
2008/10/16 Bernhard J. M. Grün [EMAIL PROTECTED]
Hi!
This could be a problem with the inflections (singular/plural of the word
rss). Maybe you should
Hi ;
I am trying to build a freelancer script with cakephp . I made
categories and projects. One project can have more than one category
so I set the relationship of categories and projects to habtm . I hope
everything is right until here because I spend really a big time for
that . Anyway .
Hi all,
I have spent the last 3 days reading book.cakephp.org for 1.2,
although I must admit to starting to skim through chapters from
section 6 onwards (it's always there for reference).
I worked through the Blog and Acl Controlled App tutorials and whilst
I had a few problems with the second
Hi Bernhard,
Thanks for the response. If I'm changing the inflections, would I add
'.*rss' to the uninflectedPlural array? I tried that and it didn't
work. Also, I think if that was the the problem I would have gotten a
reference to a missing Controller, not just to Controller.
I thought
Hi!
Just 'rss' in uninflectedPlural should be enough . But I really don't know
if that solves your problem.
In fact naming your controller feeds is much better as you might have to
support atom feeds too. ;-)
I would not recommend that you spend too much time with that problem. Just
rename it and
FYI typo
'recersive' = 'recursive'
On Oct 15, 8:18 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Sorry, I forget that I used this solution but could not succeed
$brands = $this-User-Product-Brand-find('all',array(
'fields' =
Found the answer in case anyone has the same question. I had to look
at the __selectOptions() code in /cake/libs/views/helpers/form.php to
figure it out.
Instead of using the key=value options like this:
$attributes['options'] = array('1'='Option 1');
you would use value, name and class
So are there anymore issues or problems? On this topic?
On 10/16/2008, mark_story [EMAIL PROTECTED] wrote:
I was going to say, I was pretty sure I fixed this a while back, and
there are tests for it now as well.
-Mark
On Oct 16, 3:41 pm, [EMAIL PROTECTED] wrote:
OH GREAT
On 10/16/2008,
Try:
$this-User-find('all', array(
'contain' = array('Brand' = array('Product'))
));
1) Read the Book. Chances are it'll have the information you're
looking for. http://book.cakephp.org/view/474/Containable
2) Look at the test cases for the behavior in question.
I have installed a Wordpress blog alongside a Cake app. I have the
Wordpress files in the webroot (app/webroot/articles/) directory of
the Cake app. I have taken my elements code and built templates inside
the Wordpress directory. I would rather render the elements like with
the Cake layout
What I would do is add a feed() action into your Articles controller.
Then in your routes.php add:
Router::parseExtensions('rss').
Then you just call it like...
/articles/feed.rss
And it all works, assuming you've got the rss layout and stuff like
that.
Then you can change the url using
Hey guys, I am just getting started using the bake script on windows,
everything seems to be going great except after baking when I view my
project. None of my tables display any relations that they should
have.
I bake in this order: Models of all tables, Controllers of all Models,
Views of all
1 - 100 of 109 matches
Mail list logo