y - i.e. write a Blog plugin that will use a Tag plugin if
> it exists.
>
> On Aug 26, 2:09 pm, Mech7 wrote:
>
> > Is there way to setupmodulesin cake... I don't mean plugins which
> > are seperate capplications butmodulesthat will hace MVC files... but
> > could
Is there way to setup modules in cake... I don't mean plugins which
are seperate capplications but modules that will hace MVC files... but
could also work togheter... for example you can install a Tag module..
and if you install a Pages or Blog modules they could make use of
it... all in seperate
Is it possible to have multiple trees with the behaviour like doctrine
has:
http://www.doctrine-project.org/documentation/manual/1_1/en/hierarchical-data#nested-set:multiple-trees
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Is there anyway to get the pagination to work without redirecting to a
different controller ? :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegro
Is there a way to do bake all with admin?
--~--~-~--~~~---~--~~
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
t's quite the same of calling requestAction within the method, ..
>
> On Feb 25, 1:03 pm, Mech7 wrote:
>
> > No i don't mean a layout... I kinda mean like all controllers are
> > accessible through one page controller... and then all actions from
> > other contro
with latest comments etc etc.
On Feb 25, 12:12 am, brian wrote:
> On Tue, Feb 24, 2009 at 11:36 AM, Mech7 wrote:
>
> > I am having some problem with trying to accomplish many views on 1
> > page... I know requestAction works nice and easy but is expensive so i
> >
I am having some problem with trying to accomplish many views on 1
page... I know requestAction works nice and easy but is expensive so i
have been trying to avoid it...
Basically what i am trying to do is have one page (or view) and have
all the other views ( or elements ) loaded in there, dynam
I have not used cake for a while.. and now trying to pick it up
again,, but when I do..
#cake bake controller articles
It works.. when i do..
#cake bake controller articles -scaffold
It doesn't work it say it needs a model... but i already baked the
model and with scaffold it works ok... but I
Is the source code from the cookbook available somewhere... or some
other example application where i18n is used with database data?
Like looking at the bakery code helped me allot to figure out how
certain things where done :)
--~--~-~--~~~---~--~~
You received th
http://groups.google.com/group/cake-php/browse_thread/thread/e70d4147be079a08/c491f7eb4589c43c?lnk=gst&q=self+habtm#c491f7eb4589c43c
On Jul 21, 8:34 pm, hellfish <[EMAIL PROTECTED]> wrote:
> bumping...
>
> Any clues please?
>
> This should be simple for a more experienced user.
>
> On Jul 16, 11:
>
> > []'s
>
> > On Tue, Jul 15, 2008 at 4:07 PM, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > > Does anybody know what could be wrong.. if I wouldbakemy model /
> > > controllers / views for users
> > > it will just put a input text box for us
Does anybody know what could be wrong.. if I would bake my model /
controllers / views for users
it will just put a input text box for usergroup_id and in the model it
just says:
Here is the table setup..
---
CREAT
When i bake (cake bake omg) an app.. it creates a db config like this:
class DATABASE_CONFIG {
var $omg = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password
There are 2 solutions posted here:
http://groups.google.com/group/cake-php/web/faq
look under tricky habtm...
Personally I don't really like the solutions and prefer to use my own
query where i would do a normal join..
On Jul 6, 6:57 pm, JuniorCMS <[EMAIL PROTECTED]> wrote:
> Hi to all,
>
> I h
Constraints on the join tables are still not described properly...
--~--~-~--~~~---~--~~
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 th
I have this now... how did you fix it ??
On May 26, 1:26 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I am attempting to integrate Wordpress with CakePHP but I'm running
> into some problems. When I try to go to:
>
> http://www.affinityskateboards.com/blog/
>
> I get redirected to:
>
> http://www.
Hmmm i think the file is corrupt other files seem to work... strange
as the swf works normal 0_o
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegro
I have this strange problem where i get an error if i try to upload
and swf file... pretty much all filetypes work, it is just swf that
comes back with an error 1.. even when i just print the $_FILES
variabel i get this, does anybody know what could be the problem why
the filesize stays at 0 and t
If you use php5 and gd2 i wrote a image helper also.. it has a crop /
resize function and saves png with transparent bg.. the one on the
bakery didn't
http://www.mech7.net/articles/view/2/cakephp-image-helper
If you want it to return only the paths then change the html->image
functions for examp
Ah hehe yes thx it works now :D
On May 2, 7:19 pm, Sliv <[EMAIL PROTECTED]> wrote:
> Think about it:
>
> You're setting up a route for /tag
>
> but then sending /tag/php and wondering why it doesn't route.
>
> Try setting the route /tag/*
--~--~-~--~~~---~--~~
You
I am trying to send tag/ to tags controller but when i put this in my
routes:
Router::connect('/tag', array('controller' => 'tags', 'action' =>
'find'));
and i go to the url /tag/php i get this:
Error: TagController could not be found.
Does anybody know what could be the problem?
--~--~--
I have been trying out the email component but i can't get the body of
the email to send? I am using cake fro svn.
When the email arrives it works ok except the body of the email is
empty?
This is my controller:
set('status', 'succes');
} elseif ($send == 'failed'){
et round to checking auth in
> ajaxfilemanager within tiny mce
>
> HTH - S
>
> 2008/4/26 Mech7 <[EMAIL PROTECTED]>:
>
>
>
> > Is there a way to share cakephp auth, with other scripts? im using a
> > 3rd party filemanger and it would be
Is there a way to share cakephp auth, with other scripts? im using a
3rd party filemanger and it would be nice if i could acces to it
through the default auth component :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Also there is this built on top of the
> packerhttp://marcgrabanski.com/code/asset-mapper/
>
> On 23/04/2008, Mech7 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks i fouind this one seems quite good.. the one from bradleyboy
> > looks ok too.. except it did not
nd-css-...https://trac.cakephp.org/ticket/2233http://blog.bradleyboy.com/2007/07/28/assetpackager-for-cakephp/
>
> On Apr 23, 4:53 am, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > Does anybody know a way to get this script working with Cake..
>
> >http://rakaz.nl/item/make_your_pages_load
Does anybody know a way to get this script working with Cake..
http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compressing_javascript_and_css_files
I think because the cake url rewrite it does not work by default :(
--~--~-~--~~~---~--~~
You rece
aks out when you
> allow the login() function in your Users controller. I'd bet a shiny
> penny that this is at least part of your problem.
>
> -J.
>
> On Apr 19, 4:46 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > Yes but it's pretty much baiscauthsetup whic
ent, myriad);
sIFR.replace(tw_cent, {
selector: 'h1',
css: [
'.sIFR-root { text-align: left; font-weight: normal; color:
#701d0c; font-size:40px; background-color: #EAEAEA;}'
,'a { text-decoration: none; }'
,'a:link { color: #00; }'
I am using sifr, and some other javascripts which call othr files but
then the login does not work anymore correctly for example it goes to:
http://localhost/scms/admin/users/sifr/myriad_pro.swf
Does anybody know a proper way to fix this, instead of changeing the
paths in the javascript files ?
You can call the helper in only the views where they are needed.
On Apr 19, 6:29 am, Lakshmi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for this.
>
> The head, body and footer have been seperated in our portal. Hence if the
> script is called in the head, it would be called in all pages (even w
Ok i have found a way posted on the bin..
http://bin.cakephp.org/saved/21775
THe problem is when i know do a paginate on the Tag model itself this
function will override the deault thus i wont get any result back :(
On Apr 16, 2:32 pm, MonkeyGirl <[EMAIL PROTECTED]> wrote:
> > but how can ipagin
Hmmm i see so basically it's not possible and it will not be
implemented looking at the trac..
--~--~-~--~~~---~--~~
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@googlegrou
Is there anyway to have the paginate work in an associated model?
Right now i have in a category controller :
/**
* Method to find articles based on category
*/
public function view($category = null) {
if($category)
{
Hmmm well it is a password field... also it is the same code as i just
get it from my svn repository.. and the cakephp i also get the latest
from svn.. :(
On Apr 1, 4:25 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 1, 2008 at 10:14 AM, Mech7 <[EMAIL PROTECTE
Does anybody know how i can get all results based on more then one
item with a HABTM relation. for example i have:
$this->set('articles', $this->Category->findBySlug(array('php',
'photoshop')));
But i will only get the articles from the first category:
This is the query it will make:
SELECT `C
I am trying to allow access to some controllers.. but it seems it does
not work at all?
I am using latest version from SVN.. Also what is strange in windows
it works normal.. but in Ubuntu the login page sends the password in
plaintext does anybody know whats up with that ? :p
$this->Auth->author
Does anybody get emails from the bakery? I tried to register 3
accounts allready but i never get any email.. i had one before but i
cant receive my forgotten password either ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
Thanks that works :D
On Mar 9, 12:46 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I'm not really sure why it does this because I'm still pretty new to
> cakePHP but I had the same problem and this is how I solved it:
>
> echo $form->create(null, array('id'=> 'form', 'type' => 'file',
> 'action' =>
The API in pdf would be nice too :p
On Mar 8, 11:48 pm, Greg Baker <[EMAIL PROTECTED]> wrote:
> Anyone have the cookbook in PDF format? I tried printing it using my
> pdf writer in linux but it only prints the first two pages for some
> reason.
--~--~-~--~~~---~--~---
I have a controller portfolio, but the form create keeps going to
portfolios instead of portfolio, how can i set the name for the
controller myself? i tried this allready:
echo $form->create('Portfolio', array('id'=> 'form', 'type' => 'file',
'action' => '/admin/portfolio/add'));
echo $form->cre
I just read this rss fnctionality in cake..
http://natealicio.us/posts/view/5
But how can i use helpers in the transform rss ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
wrote:
> On Wed, Mar 5, 2008 at 11:22 AM, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to use the paginate for an array? Basically hi have an
> > article which contains pagebreaks, which i just put in an explode so
> > it's an array.. but can i ut
Is it possible to use the paginate for an array? Basically hi have an
article which contains pagebreaks, which i just put in an explode so
it's an array.. but can i utilize the paginate function from cake for
this?
--~--~-~--~~~---~--~~
You received this message bec
ments are being used in. Unless
> you have a huge number of controllers it should be pretty simple.
>
> On Mar 4, 5:51 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > I am currently doing it in the app_controller but the list is growing
> > hehe.. is there a more ef
I am currently doing it in the app_controller but the list is growing
hehe.. is there a more efficient way to load them in specific elements?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post t
I have an article and tag model.. when i saved an article with tags it
works fine, but i made a publish / unpublish function like below, but
when i use it all habtm relations are deleted how can i prevent this?
public function admin_publish($id)
{
$data = $this->Article->r
Does anybody have any examples on how to use this function? I only get
a flat list back always?
--~--~-~--~~~---~--~~
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@googlegro
best solution I've found
> googling was to change the relationship from HABTM to a HasMany/BelongsTo
> combination. Well, I don't know what you think but for me is a disappoiting
> one, so I decided to solve it with a custom SQL query.
> Sorry mate, Cake is not perfect!!
>
I am doing a find on a Tag model.. and this finds all the articles on
the Article model, but is there a way to retrieve the articles with
the related tags inside the article array? Setting the recursive
higher does not work? :(
--~--~-~--~~~---~--~~
You received thi
I am trying to save more then one entry, and then return an array of
all inserted id's only it will only save the last entry.. and returns
an array of whatever was put in but all values are of the last entry
of the araay. This is actually the only one being saved also. Is there
any other way aroun
hmmm there is no white space in the controller.. with the exit
function it should not use a view right? So i guess that is not it..
Umm also the requesthandler is loaded.. but it does not work with me,
i really need to set the layout.. but maybe its because of my cakephp
install cause the secutir
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
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
umm nevermind hehe my mistake i placed the poulate function outside
the model :#
--~--~-~--~~~---~--~~
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 unsu
Umm it looks nice but when i run the populate function i get:
Warning (512): SQL Error: 1064: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'populate' at line 1 [C:\wamp\www
\cake_1.2\cake\libs\model\datasourc
Hi i am loading TinyMCE 3 and it works great.. only when i load some
extra plugins cake sees them as controllers, and it will throw up
errors like:
JsController could not be found.
50
51 Error:
52 Create the class JsController below in file: app/
controllers/js_controller.php
53
54
x27;phone', 'div' => false ));
> echo $form->input('phone2', array('label' => array('text' => false),
> 'maxLength' => '3', 'class' => 'phone', 'div' => false ));
> echo $form-&
Ummm it does give allot of overhead to request all comments and only
display a few... especially on a high traffic site.
On Feb 9, 8:00 pm, MonkeyGirl <[EMAIL PROTECTED]> wrote:
> > I want to return only a number of comments (that is defined in
> > "visiblecomments") in every story.
>
> This seem
Is there a way to template the html generated by the form helper ?
--~--~-~--~~~---~--~~
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 unsubscribe from t
Unless you want to give user control over the search result ;)
On Feb 9, 12:58 am, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Feb 8, 2008, at 4:49 PM, johnnyice wrote:
>
>
> A define is probably what you want, since number of search results
> isn't going to change dynamical
Hmmm yes all these blogs scattered everywhere really doesn't help
anybody... I hope one day cake will have a manual to the standards of
ZendFW.. http://framework.zend.com/manual/en/
It's easy to read and has lots of example code... for every part of
the framework.
--~--~-~--~~
Hmm somhow this issue appeared again... i deleted all cache, restarted
server nothing..
When i try some echo's it seems to go wrong at the Dispachter class
which is called in index.php
Specifically: $this->start($controller);
Line 226 on cake/dispachter.php
When i do a vardump or print_r or ech
No articles work anymore ?
http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings
The Article could not be found
Its the same with every other article..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
I have a login function in app_controler, where i redirect the user to
the login form when it is not logged in..
$this->redirect('/users/login');
Only it can't find the theme:
"Error: The view for UsersController::login() was not found.
Error: Confirm you have created the file: C:\wamp\www\mec
Ah hehe thx well i found the problem.. i had to clear the cache from
my app in cake.. now it runs fine again :D
On Jan 3, 10:05 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Jan 3, 2008 3:52 PM, Mech7 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Ok i was u
Ok i was using the latest nightly from a few weeks ago.. but i saw the
new beta was released so i updated it.. but with the new beta or
latest nightly my pages don't output anything anymore.. just blank
does anybody know what is going on here :|
Apache Version :
2.2.6
PHP Version :
5.2.5
You can also load an object, in app_controller so the first is really
the only reason.. its available always, so you dont have to load it :)
On Dec 10, 10:49 pm, Deane <[EMAIL PROTECTED]> wrote:
> Say I need to make some functionality globally available to all my
> controllers.
>
> What's the fun
Personally i don't care for php4 anmyore.. most hosting offer now php5
anyway.. also i think this year support will be dropped for it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
MAIL PROTECTED]> wrote:
>
> > On Nov 30, 2007 7:33 PM, Mech7 <[EMAIL PROTECTED]> wrote:
> > > It still does not work.. it can't read the cache configuration.. even
> > > though all it is supposed to do is throw up an error and revert to
> > > default fil
properly. Please
check
Cache::config(); in APP/config/core.php', E_USER_WARNING);
Cache::config('default', array('engine' => 'File'));
}
}
On Nov 29, 6:21 pm, "Chris Hartjes" <[EMAIL PROTECTED]&
Does anybody allready solve this? even with a total new setup this
problems still occurs.. i opened a ticket but it was closed because
not enough info? But really how can i provide more if i don't know
what is the problem :|
--~--~-~--~~~---~--~~
You received this m
:\wamp\www
\cake_1.2\cake\bootstrap.php on line 54
On Nov 16, 1:44 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Nov 15, 2007 6:25 PM, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > Did anybody allready found a fix for this? 1.2 still does not want to
> > run w
I think it is also because :
$cache = Cache::settings();
This never gets filled i think because there is no settings function
in cache.php?
Cache::config('default', array('engine' => 'File'));
after the trigger error its sets it to default, but it does not work:
Fatal error: Call to undefined
Did anybody allready found a fix for this? 1.2 still does not want to
run with me outside the app dir :|
--~--~-~--~~~---~--~~
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@
Is it me or does anybody else get also tempy files with the nightly
builds lately ?
--~--~-~--~~~---~--~~
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
sounds more like a custom app.. so i would go for cake.
On Nov 1, 6:51 pm, moesian <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking to setup a site that draws the odds from the xml feeds of
> various betting sites, stores them in a database and compares them in
> various ways.
>
> Question is am
DId anybody allready found a solution for thi :( ?
--~--~-~--~~~---~--~~
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 unsubscribe from this group, sen
mmm strange i tried it and the problem only occurs when the cake dir
is outside the app dir.. when the app dir is togheter with the new
version of 1.2 it does work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ca
I thought there where allot of things changed with ACL?
On Oct 30, 9:14 am, Adwin Wijaya <[EMAIL PROTECTED]> wrote:
> the ACL should be similiar with the 1.1 ;)
> you can use IBM tutorial for the ACL.
>
> On Oct 30, 6:53 am, lemp <[EMAIL PROTECTED]> wrote:
>
> > In the last few days, I started a
Me too.. the cache dir is still there.. and the config is set and
still this error :(
On Oct 22, 1:38 pm, Charlie van de Kerkhof <[EMAIL PROTECTED]>
wrote:
> Still have this problem.
> Warning (512):Cachenotconfigured. Please useCache::config(); in
> APP/config/core.php [CORE/cake/bootstrap.php,
7;data',
'expires' => 'expires'),
'serialize' =>
true //[optional]
I updated cake 1.2 from the nightly yesterday.. only now i get this:
Warning: Cache not configured. Please use Cache::config(); in APP/
config/core.php in C:\wamp\www\cake_1.2\cake\bootstrap.php on line 52
Fatal error: Call to undefined method Cache::config() in C:\wamp\www
\cake_1.2\cake\boots
I have only had problems one time before with nightly builds.. and
next day was fixed :)
On Oct 16, 8:16 pm, Jeff Seibert <[EMAIL PROTECTED]> wrote:
> I am using the latest alpha of 1.2 in production with no issues at
> all but I am considering "upgrading" to a recent nightly build.
> Have yo
Sorry for the offtopic.. but i have been looking for a ACL plugin, is
this for 1.2 and is it being maintained?
On Oct 16, 11:09 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 15, 9:03 pm, seacloud9 <[EMAIL PROTECTED]> wrote:
>
> > I have followed the following instructions:
> > 1) Extract all fil
Btw does anybody know how to have the codeassist popup automatically?
Like with Zend neon? no ctrl + space needed?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email
It would be nice idea if this is pointed out in big red letters in the
blog tutorial and manual ;) As i think allot of users will be
overlooking on this.
On Oct 12, 2:58 pm, djiize <[EMAIL PROTECTED]> wrote:
> One best practice, specify which fields are to be
> saved:http://api.cakephp.org/1.2/c
Well to be honest this is one point that is not as clearly pointed out
in the tutorials and manual as it should have been.
On Oct 12, 2:22 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 12, 10:28 am, Sharkoon <[EMAIL PROTECTED]> wrote:
>
> > Well he's got a point.
>
> > When I have this:
> > $for
Strange it does for me ?
On Oct 11, 3:19 pm, Luigi <[EMAIL PROTECTED]> wrote:
> no it doesn't.
>
> at least for me.
>
> On 10/11/07, Mech7 <[EMAIL PROTECTED]> wrote:
>
>
>
> > I think in ZDE this worked by defa
I think in ZDE this worked by default just not on Eclipse + PDT :(
--~--~-~--~~~---~--~~
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 unsubscribe from
ECTED]> wrote:
> On Oct 9, 1:22 am, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > Me neither.. everybody says use with in 1.2 for using the join table
> > data, but nobody can tell it clear on how it use it :| Except from
> > selecting on foreign keys in the join table or
Me neither.. everybody says use with in 1.2 for using the join table
data, but nobody can tell it clear on how it use it :| Except from
selecting on foreign keys in the join table or displaying it in a
view.
On Oct 6, 1:45 pm, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> On Oct 3, 3:00 am
;tb=1&pb=1
>
> Could be useful
>
> -MI
>
> ---
>
> Remember, smart coders answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -Mensaje origi
When i try exactly the same as the example in the pdf, except Post is
called Article i only get the results of the table in between? Has
anybody else have this problem?:
Array
(
[0] => Array
(
[TaggedArticle] => Array
(
[article_id] => 3
Hmm i see so would it be good to use a hack like mentioned on the
bakery, or is there a better solution?
http://bakery.cakephp.org/articles/view/habtm-hacks-to-menage-columns-in-both-models
On Sep 17, 3:40 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 9/16/07, Mech
Maybe you could change the bootstrap file and make the array name
dynamic of the controller that is being requested ?
$modelPaths = array('full path to models', 'second full path to
models', 'etc...');
$viewPaths = array('this path to views', 'second full path to views',
'etc...');
$controller
But this is not really about the libs and webroot but about
selfcontaining modules.
On Sep 19, 10:34 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi,
>
> > I would like to know if there is the same concept that
Yes i tried but something like:
$this->set('articles', $this->paginate('Article',
array('Category.name' => $category_name)));
Will always throw up an error that there is no such field :(
On Sep 15, 10:59 pm, "Chris Hartjes" <[EMAIL PROT
Well from what i have read it is possible to search across HABTM so
you can have tag.name = 'php' as a parameter to search posts within
the post controller.
On Sep 15, 7:09 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 9/15/07, Mech7 <[EMAIL PROTECTED]
1 - 100 of 266 matches
Mail list logo