Hi everyone,
I've asked this a few times on IRC, but I guess it's too
complicated(?) to be answered over IRC.
I'm trying to build a multilingual web site, so I've created the
following route:
Router::connect('/:language/:controller/:action/*', array(),
array('language' => '[a-z]{3}'));
Now,
H.you might want to take a look at the official documentation.
I'd start well..from the start: http://book.cakephp.org/
At least go through the blog tutorial before asking any more
questions: http://book.cakephp.org/view/219/Blog
To solve your css and green(?) header/footer issues, read
Well, obviously your Task model is not used directly in that
controller.
You should probably drop "Task" from "$this->Task->Company->..." and
just use $this->Company->..."
On May 26, 8:00 am, programguru wrote:
> hello,
>
> this is currently what I am using:
>
> $companies = $this->Task->Compan
This works for me (in controller):
$this->set
(
'channel',
array
(
'title' => $dynamicTitleHere,
'description' => 'Yer description'
)
);
On May 22, 5:57 pm, number9 wrote:
> Is there anyway to set make an RSS feed title dynamic? I'
Take a look at the AclBehavior:
http://book.cakephp.org/view/545/Using-the-AclBehavior
On May 21, 6:49 pm, nic wrote:
> Can someone inform me of the best way to set a default group for a new
> user?
--~--~-~--~~~---~--~~
You received this message because you are
Oh yeah, +1 on everything you sad man. That action thing is a real
mystery and a major pain.
On May 21, 4:49 pm, "rich...@home" wrote:
> One minor niggle-ette for me:
>
> I hate how form helpers $form->create() doesn't default to the current
> actions (it defaults to add). I always end up having
As Luke already pointed out, to prepare any kind of variable / data
for your views, you need to use the Controller::set() method.
Declaring a variable is not enough because it is only a local var
then, isn't it? Besides, if you view could see every single variable
from your controller, that would
Well, if you want to filter your data *in the view*, you're doing it
wrong. It would be silly to fetch ten thousand records from the
database just to show five of them. I sure hope that's not what you're
trying to do.
Like Richard said, this is the solution to your problems:
$data = $this->Model
Oh heavens...
Paulos, you also need to configure your Auth properly so your login()
function will be called after your user logs in.
Id est: $this->Auth->autoRedirect = false; in your AppController along
with all the other Auth stuff.
HTH
On May 19, 3:07 pm, andy wrote:
> What displays when y
Here's another interesting kick in the Matt Groening.
Inability to use FormHelper::error() to show our own errors on the
fly, i.e. $form->error('Arse.biscuits', 'A pair of women's knickers is
missing'); regardless of whether I'm using a model to create a form or
not.
Workaround:
$form->validati
Hello,
1. NO NEED TO WRITE LIKE THIS IN THE SUBJECT
2. Are you overriding your beforeFilter() in your other controllers?
If true, are you calling parent::beforeFilter()? If not, do it now.
3. If step no.2 didn't help, did you try calling debug($this-
>viewVars) in your view to see what's going on
I use this method to store my global settings:
http://dsi.vozibrale.com/articles/view/simple-db-based-configuration-for-cakephp-apps
And also cache them so they are fetched from the database only when
changed from the app, as you can see here:
http://github.com/lecterror/neutrinocms/blob/da9a1f7
Auth is a component, therefore, in your controller:
var $components = array('Auth');
And you also need to set the params where necessary. But you've read
the manual, right?
On May 13, 9:54 am, lakers fan wrote:
> it didnt.. should I just use $uses = array('Auth');??
>
> > Date: Wed, 13 May 200
Why not call $this->disableCache() in your controller and let cake
take care of that?
http://api.cakephp.org/class/controller#method-ControllerdisableCache
On May 9, 4:36 pm, brian wrote:
> Yes, they handle things differently, of course. I'm not sure of the
> correct procedure. Have a look here
@zonium: I believe you can accomplish the separation with "additional
class paths":
http://book.cakephp.org/view/35/Advanced-Installation#Additional-Class-Paths-36
On May 8, 11:05 am, zonium wrote:
> - Hard / impossible to organize a large application into smaller /
> manageable pieces.
>
Ignoring callbacks on associative queries++
Inconsistency on model joining in queries
Explanation:
I might be wrong on this, please correct me if I am, but it seems like
the following:
A hasMany B hasMany C
C belongsTo B belongsTo A
If I want to get Bs where C.notAPrimaryKeyField = 'somevalue',
The "blue header" is a part of what surrounds your content, also known
as "layout".
To learn more about those, read the book:
http://book.cakephp.org/view/96/Layouts
On May 7, 7:52 am, salmia69 wrote:
> hi guys,
>
> I'm newbie here.now I'm doing project with cake1.2. i want to remove
> the bl
, JamesF wrote:
> thanks for the tip..i didn't exactly know that you shouldn't mess with
> the /cake/ dir
> does the same apply to the /vendors folder as opposed to /app/vendors?
>
> On May 6, 10:22 am, "dr. Hannibal Lecter" wrote:
>
> > Uh, you're
You're probably missing the correct display field:
class Donor
{
var $displayField = 'first_name';
}
and
class Cause
{
var $displayField = 'cause_title';
}
Note that 'cause' is superfluous in 'cause_title'. Why not just
'title'?
On May 6, 4:22 pm, swiftguy wrote:
> Hello Expe
Uh, you're not supposed to touch anything in the cake folder. Your
app_controller.php should be inside your app folder, i.e. ~/app/
app_controller.php
As far as other upgrading go, If you're using 1.2 you can simply
overwrite everything in ~/cake and it should work without a problem.
Just don't f
Yup...
https://trac.cakephp.org/ticket/6218
On Apr 17, 8:38 am, George H wrote:
> Hi guys,
>
> I have a list of users displayed in my view in a table, and the
> resultset is parsed by Paginator. I am also echoing $paginator->sort
> () in my view.
>
> When I view the page the links work and the
If we knew *anything* about your system, we might know what's wrong
with it. Do you not have any log files? Do you sanitize your input
(*everywhere*)?
On Apr 17, 9:10 am, Kal wrote:
> Hi CakePHP gurus,
>
> My name is Kal and our website developed over CakePHP is crashing
> partially every month.
Of course you can. $content_for_layout is nothing but a regular view
variable, like the ones you set in your controller with $this->set().
On Apr 15, 10:43 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> Can you take 1 template (default.ctp) and define sections within it?
>
> I have a 2 col layout
Just set your layout to 'ajax', i.e. in your controller/view:
$this->layout = 'ajax';
On Apr 15, 10:15 pm, Paco Gomez wrote:
> Hello,
>
> I'm developing a register user form where I have the typical checkbox
> with an agreement text. This is a link to the agreement conditions.
>
> How Could I d
Well, I'm no expert, but this line stinks:
$this->set('day', $this->Day->read(null, $id), $this->paginate
('Birthday'));
as you can see in the API[1] and The Book[2], Controller::set()
accepts only two params..
[1]: http://api.cakephp.org/class/controller#method-Controllerset
[2]: http://book.
Haven't seen anything like that yet..
Why not make one yourself and put it in the Bakery? :)
On Apr 10, 5:26 pm, Anibigi wrote:
> Hi,
>
> I'm a newbie to cakePHP.
> I want a paginator class that would work well with both database and
> non database record set.
>
> I found a couple of classes fo
grigri had a nice clean solution for this:
http://bin.cakephp.org/saved/38624
On Apr 9, 12:13 am, Joe Critchley wrote:
> You should probably use the ClassRegistry class.
>
> You can instantiate an unrelated model by doing the following:
>
> $ModelName = ClassRegistry::init('ModelName');
>
> ...
Well, why not start with the AJAX helper and the already built-in
feature:
http://book.cakephp.org/view/632/autoComplete
I believe that will be much faster to develop than your proposed
solution with the modal form. And since you're in a hurry...
On Apr 7, 9:32 pm, Faza wrote:
> Hello,
>
> thi
http://book.cakephp.org/view/465/Understanding-How-ACL-Works
Answers are drawing near..
On Apr 5, 8:56 pm, bearlee wrote:
> It a novice quesiton, but these acronyms bother me if I don't know
> what they mean (my pet-peeves).
>
> What do ARO and ACO stand for?
>
> -Brian
--~--~-~--~~
This is a very very very bad design decision. User data != internal
system data. Use another column for your "serial", and leave User.id
to cake.
BUT, if you really have to use it as a primary key, you could try
leaving it named serial_number or whatever and customizing your model
to use that fie
If you're 100% sure this is a firewall issue, that it is NOT a CakePHP
related question. You should go to the firewall related forums.
As a tip, you should definitely stop using the built-in windows
firewall and try something functional. Comodo is one of the best and
it's free (http://personalfir
Url is missing:
create('User', array('url' => array('action' =>
'login')));?>
On Mar 25, 9:52 pm, jonas wrote:
> When I create a form there goes something wrong when the action
> attribute of the form element is created.
>
> View code:
>
> create('User', array('action' => 'login'));?>
>
Do you get a HTTP 404 not found or some other flavour of not found?
If it's 404, do you have .htaccess set up correctly? If it's not, did
you check the naming of your classes, files, folders? Do you have
anything written in your log files?
On Mar 26, 6:35 pm, albe wrote:
> Hello everybody, I ha
You send an email to yahoo and gmail the same way you send to any
other account, right?
Also, why are you working on cakephp 1.1?
On Mar 19, 2:40 pm, sandhya wrote:
> send email to yahoo and gmail accounts using cakephp 1.1.19.6305
--~--~-~--~~~---~--~~
You recei
How about the session id? o_0
On Mar 19, 11:24 pm, asoft wrote:
> Does any one know how to get the unique session id that is created.
> It's like in CakePHP the closest thing to the session_id() is the
> useragent.
> I want to make an ecommce site where users don't create an account to
> shop.
>
gt;
> 'index'));
> Router::connect('/*', array('controller' => 'sites', 'action' =>
> 'page'));
>
> On Mar 18, 1:25 pm, "dr. Hannibal Lecter" wrote:
>
> > How about:
>
> > Router::connect('/*
How about:
Router::connect('/*', array('controller' => 'sites', 'action' =>
'page'));
Of course, you need to consider the option when someone doesn't send
you the page-id..
On Mar 18, 6:00 pm, koala kid wrote:
> I am making some changes to a CMS someone else has developed using
> cake. Current
That syntax should absolutely work. Did you check the error log? Are
you getting an error? And how does this "not working" manifest itself?
On Mar 18, 1:52 pm, "keyurvagh...@gmail.com"
wrote:
> Hello Friend,
>
> I am working on cakephp1.2 project and having facility of multi
> languages.
> I am
You're probably looking for flash:
http://book.cakephp.org/view/568/flash
On Mar 18, 2:34 pm, Sourav wrote:
> How to Pass a variable value from any controller to the default.ctp ?
>
> I want to display the success/failure message of a signup operation on
> a particular place on the main layout
What brian is suggesting is the following:
1. Right not your ARO (requester) is a User, which forces you to
distinguish between students and teachers
2. If you make Teacher an ARO and Student another ARO, you eliminate
that problem (this is easily done with ACL)
On Mar 16, 3:12 am, "Dave Maharaj
Did you go through the AJAX helper chapter in the good book?
http://book.cakephp.org/view/212/Methods
On Mar 15, 10:25 am, "marco.rizze...@gmail.com"
wrote:
> Hi
> I have a page where I have an element (with params) that is a list of
> items.
> Now I would that when user click on a certain butt
Did you AllowOverride on your document root and the alias?
On Mar 15, 1:24 pm, terje wrote:
> Hi.
>
> I have just downloaded and installed wampserver.
> I have an exisiting cakephp app which i previously had working
> beautifully under my own custom setup of apache.
>
> Now i have wamp installed
You might want do a DISTINCT select on that one if you're talking
about per-page "keep me updated".
On Mar 15, 5:42 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I am using the email component in my site and what I want to do is when a
> USER posts a new comment to a specific page it will notify
Yes, it seems ok. How do you get your data with find()?
On Mar 11, 10:26 pm, fain182 wrote:
> mhmm.. i think that's all right with relations... I baked them..
>
> http://bin.cakephp.org/saved/43619
>
> On Wed, Mar 11, 2009 at 9:40 PM, dr. Hannibal Lecter
>
> wrote:
&g
A silly guess would be that you didn't set up your B=>A relation
properly.
Could you please show us your relations?
Hint: http://bin.cakephp.org/
On Mar 11, 6:39 pm, fain182 wrote:
> my situation is this:
> A has many B
> B has many C
>
> in the view of C i see only the data of B and C, i wan
That depends on how did you set up your Auth. Are you denying
everything in UsersController?
On Mar 4, 4:01 pm, Joshua wrote:
> It seems that if I use Auth component in AppController and then I use
> it again in my UserController again. All the request like ../users/
> method_a will be redirect
Send an empty string instead of "Delete" string?
On Mar 3, 9:50 pm, WidePixels wrote:
> Does anyone know how to style the SUBMIT button when using the AJAX
> helper?
>
> I know how to styles the button, issue is I am using a custom button
> in a css sprite (2 states of the button, rest / hover a
Here is a simple step by step guide:
http://dsi.vozibrale.com/articles/view/using-emailcomponent-in-cakephp-1-2
Hope that helps!
On Mar 3, 11:36 am, vikas wrote:
> Hello every one..
>
> I am trying to use inbuilt email component of cakephp to send email.
>
> In article given atwww.cakephp.org
Encoding is probably the problem. Try the following:
http://dsi.vozibrale.com/articles/view/cakephp-character-encoding-special-characters
On Mar 2, 10:47 am, whitewolf wrote:
> Hi guys,
> I'm new with CakePhp,
> I have my first hurdle with my pratical excercise.
> When i try to fill one textare
I know this may seem like a strange idea, but why not iron out those
notices before going live?
On Mar 2, 7:52 am, Aidan Lister wrote:
> I have two questions for error handling in a production environment.
>
> a) How can I log warnings & notices
> b) What's the best way to display custom error p
NetBeans it is. Everything else is either too simple or to bloated.
NetBeans developers seem to know how to dance on that fine line of
usability and simplicity.
On Mar 1, 1:21 pm, Terr wrote:
> I'm using Notepad++ and Eclipse PDT, but without code completion for
> Cake's way of model loading it
You don't need the extra folder, this is solvable by simple routing.
Put your "GroupNewsController" in /controllers/
group_news_controller.php
And add this line in /config/routes.php:
Router::connect('/group/news/:action/*', array('controller' =>
'group_news'));
Hope that helps!
On Mar 1, 5:2
Hmmm...which version of cake are you using?
The error you're getting is because your model names should be
singular, not plural. So instead:
var $uses=array('Courses','Providers');
try
var $uses = array('Course', 'Provider');
And see if that helps.
On Feb 26, 11:00 pm, Jose wrote:
> Hi All,
Obviously, User model is not used in SupplierController, i.e. you're
missing the following
var $uses = array('User');
In your controller. That's why "Undefined property" error occurs when
you do $this->User.
Hope that helps!
On Feb 25, 3:27 pm, Matt wrote:
> Hi all,
>
> I'm new to CakePHP (bu
You are correct, model callbacks are not called for related models.
You will probably have to handle that in Member::afterDelete().
On Feb 25, 8:57 am, Deividas wrote:
> I have two controller's, for example Members and MemberPictures, when
> I delete Member i want MemberPicture also deleted, i
Yes, that is a bit clearer, although attaching code is not the best
idea. This is what CakeBin is for.
Now, I honestly don't how could one controller affect the other one.
What I can see from your code is that you are repeating your code in
beforeFilter() for both controllers. You should put tha
If you're having problem with a piece of your code, use the CakeBin
(http://bin.cakephp.org/) to show us your code, give us a detailed
description of your problem, i.e. what do you want to accomplish, what
is the expected output and what is the output you're getting.
Then someone might try to ans
Do you have beforeFilter() in your users controller? Are you calling
parent::beforeFilter()?
On Feb 23, 3:39 pm, lirc201 wrote:
> I'm trying to implement the Auth component for the first time into my
> application. On my registration page I noticed that the password was
> getting inserted into
> I want to know it is possible to only lock some of features in a page
> and leave other portion of the lage open to public without requiring
> login.
Yes.
> I also want to know where i can find existing code that supports basic
> login/logout and basic user control panel.
http://book.cakephp.
A zero has a lot to do with the process. It means that specific
permission is inherited from a parent node.
On Feb 21, 3:49 am, Joshua wrote:
> I got it!
> //code
> switch ($perm['_' . $action]) {
> case -1:
>
Hi Maulik,
you cannot be that vague about your problem. People need more details
to be able answer your question.
If you're having problem with a piece of your code, use the CakeBin
(http://bin.cakephp.org/) to show us your code, give us a detailed
description of your problem, i.e. what do you w
This is related to ticket #5904 (https://trac.cakephp.org/ticket/
5904).
If you use 1.2.1 stable it should work as expected without any extra
calls.
On Jan 8, 6:08 pm, Brenda wrote:
> H... I don't have any $controller to change to $this->controller.
> I tried adding the code for startup, an
I hope this might be of some help:
http://dsi.vozibrale.com/articles/view/manually-hashing-password-and-password-validation
On Feb 16, 5:21 pm, Chris wrote:
> Perhaps I am just having a blonde moment, but I seem to be having
> difficulties with ACL and passwords.
>
> I followed the example
> a
Hah, maybe the group is so good that all of their questions have
already been aswered? :)
On Feb 15, 11:47 am, keymaster wrote:
> Gwoo recently posted that from Jan. 12-Feb. 11/2009, there were 81,000
> unique visitors to CakePHP.com.
>
> Firstly, that is absolutely outstanding.
>
> Wondering wh
Use the ajax layout in controller, $this->layout = 'ajax', that should
do it.
On Feb 14, 4:21 pm, pavan wrote:
> Hi Friends,
>
> I have problem in rendering a view bascially which belongs to
> different controller without layout.This is my following code
>
> pages/index.ctp:
>
> element('note');
If by app/img you mean app/webroot/img, then the standard $html->link
() should be sufficient, right?
http://api.cakephp.org/class/html-helper#method-HtmlHelperlink
On Feb 12, 10:08 am, Adrian Marte wrote:
> Hi,
>
> How can I create a link to an image (in the app/img directory) using
> the HTML
In action names as such, I don't think so. But..
http://book.cakephp.org/view/46/Routes-Configuration
you can make it look that way.
spence wrote:
> Hi,
>
> Are you allowed to use dashes in action names. IE: domain.com/
> controllerName/action-name
>
> I know underscores work, but I did not hav
Hmmm, well what did you expect? CakePHP is a framework, not an
application.
http://book.cakephp.org/view/9/where-to-get-help
On Feb 11, 9:12 am, kapil wrote:
> i want to run my first cakephp program. but after installation nothing
> is happened just database is connected nothing
> more. plz
URL encoded query strings perhaps?
On Feb 10, 6:30 pm, CraigFisher wrote:
> What's the best way of using named parameters to pass URLs into a
> controller... The router groks because it picks up the : and / as
> separators. Obviously I can perform some sort of specific code/decode
> in the cod
Simply check which HTML elements are generated by the autocomplete
(via FireBug or whatever you use), and write some CSS for those
elements.
On Feb 9, 5:02 pm, safl wrote:
> Then let rephrase/ add the question: how do i edit the css to
> position somewhere else?
>
> On Feb 9, 12:01 pm, Miles J
(At the risk of seeming like an evil bastard)
You know, I think we should put that message on some sort of a auto-
responder here and just go for a beer or something.
On Feb 4, 5:09 pm, Smelly_Eddie wrote:
> read the manual.
>
> http://book.cakephp.org/
>
> On Feb 3, 12:41 pm, monirr wrote:
>
Just a dumb guess, but did you clear your app cache?
On Feb 3, 1:17 pm, ieatfood wrote:
> I just upgraded my system to use CakePHP 1.2.1.8004 from RC2, and I'm
> getting the following error even on actions with just a die(); command
> in them:
>
> Notice (8): Undefined offset: 0 [/home/rmsc/rms
r.php, line 416]
> > ...
>
> > Any idea?
>
> > Note that thepaginatorhelper must be added to the items controller,
> > not the item_comments controller.
>
> > On Jan 30, 1:10 am, "dr. Hannibal Lecter" wrote:
>
> > > This is just a wild
g var $paginate and using the method paginate
> () automatically adds the PaginationHelper.
>
> On Jan 29, 8:50 pm, "dr. Hannibal Lecter" wrote:
>
> > Well, maybe you didn't include the PaginatorHelper in your app.
>
> > Other thing which seems odd to me
Well, maybe you didn't include the PaginatorHelper in your app.
Other thing which seems odd to me is that your controller is
"ItemsComments", but in your element you're calling $this-
>requestAction('items/get_comments/'.$id). Is 'items/get_comments/'
properly mapped to ItemsComments::index()?
O
I am very unsure about this, but I believe you might be looking for
Set::classicExtract()
http://api.cakephp.org/class_set.html#e8412492e8a6c81939b4fb037043eaa3
Hope that helps!
On Jan 23, 1:42 pm, Jon Bennett wrote:
> hi,
>
> I'm sure this is possible, it's just alluding me at present!
>
> I
I think the thing you're looking for is called "element".
http://book.cakephp.org/view/97/Elements
Helps?
On Jan 23, 1:11 pm, boNty wrote:
> I have a page in articles folder ie. "articles/home.ctp" and i want
> to display this home.ctp page in the divison contained by a page in
> folder use
1. Make sure everything in your database is utf8 (or other encoding
needed).
2. Make sure you're connecting to your database with utf8[1].
3. Make sure your pages are served in utf8.
[1]
http://groups.google.com/group/cake-php/browse_thread/thread/dcdbcc085dcd09a0
Hope that helps!
On Jan 22, 1
Yeah, that seems like a very good idea, thanks for the tip ;)
On Jan 22, 9:08 pm, snowdog wrote:
> I had the same problem in my mediaplayer plugin and solved it by using
> mediaView to serve flash (.swf) files from webroot. It works.
--~--~-~--~~~---~--~~
You rece
You're going in the right direction. Your function will only use the
conditions for fields in your table. It doesn't really matter if your
user specifies additional "conditions" because they will be ignored.
I haven't tried it, but I assume you could always make a whitelist of
allowed params and
That's a bit broad question, don't you think?
Did you go through the manual?
http://book.cakephp.org/
Did you use the other manual?
http://www.google.com/search?q=cakephp+acl+auth
On Jan 20, 10:46 pm, Delirium tremens wrote:
> How do they relate to each other?
--~--~-~--~~---
/simple/img/icons.gif. And directory img/ makes this
> little error. I try change two lines with strpos($url, 'img/') within
> the dispatcher in the _cached() changed to strpos($url, 'imgs/') and
> now it works fine. But it is not the greatest solution i think.
Erouch...sorry for the wrong click there earlier...
I think problem lies within the dispatcher in the _cached()[1] TinyMCE
is probably using an unsupported mime type/extension[2]. I'm having
the same problem with SWFs in my plugin[3], and no solution in sight.
[1] https://trac.cakephp.or
On Jan 20, 10:08 am, eXistent wrote:
> Hi,
> when TinyMCE is placed inside webroot/js folder, everything works
> fine. But when i place it inside vendor folder (more apps can use it)
> TinyMCE run and display their window in place of textarea, but icons
> don't load. When mouse move over button
I have reported this a while ago:
https://trac.cakephp.org/ticket/5001
Still having the same problem.
On Jan 15, 8:32 am, majna wrote:
> I cant open mail notification in gmail.
> content type is multipart/alternative,
> message is attached as unknown file.
--~--~-~--~~~
It is very difficult to see what the problem is without the code.
Also, it would be the best if you can avoid the requestAction :-)
On Jan 15, 10:19 am, jwerd wrote:
> Hello fellow bakers, I've searched this group before I was going to
> post this question but I cant' seem to find my current dil
Hi Sridhar,
Of course you can use CakePHP to build a static site. Search for
articles regarding "PagesController", a built-in controller which
enables you to do just that - show static pages. Your header, side
navigation etc are handled with view layouts. Hope that helps a bit.
Welcome to cake wo
I may be a bit late with this, but...
Congratulations to everyone on this fine release, I'm sure your
efforts will be acknowledged among the PHP developers. This will
surely confirm that CakePHP is *the* framework for PHP.
Let them eat cake!
On Dec 26, 1:51 am, Gwoo wrote:
> //Warning: this me
I have used this bit of code in my model..It's probably not the best
way, but it works for me:
function getMostCommented($limit)
{
$commentsCount = $this->Comment->find
(
'all',
You should probably change this:
$this->set('ingredient_list', $this->IngredientList->find('WHERE
recipe_id = ' . $id));
to something like this:
$this->set('ingredient_list', $this->IngredientList->find('all', array
('recipe_id' => $id));
And then see what happens. Also, I don't see where are
Depends. If you can do it in DB without performance loss, that's the
best way. If not, view is good enough. I tend to do as much as
possible in the database, because the damn thing is optimized to work
with (large) sets of data. But in the end, if that's not an option for
you, whatever gets the jo
Seriously, anyone?
Are plugins limited to certain asset types on purpose?
On Dec 18, 10:35 am, "dr. Hannibal Lecter"
wrote:
> Hi all,
>
> I'm creating a plugin which needs .swf files in vendors folder, and it
> seems impossible to make it work. I've managed to t
Hi all,
I'm creating a plugin which needs .swf files in vendors folder, and it
seems impossible to make it work. I've managed to trace the problem to
Dispatcher::cached() where only certain content types are marked as
assets ('text/javascript', 'text/css', 'image/gif', 'image/jpeg',
'image/png'),
I'm just guessing here, but I assume your table should be called
store_tables (plural). Of course I might be completely wrong if your
StoreTable model is working as expected..?
On Dec 12, 6:17 pm, _Z wrote:
> Hello,
>
> I am expecting a dropdown box in my /add action, but only a textbox is
> pro
Sweet! Thanks for sharing this, it should probably be added to the
official manual or something..
On Dec 8, 2:14 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
> This is just a small thing but I did not find a mention of it in the
> manual. I found this out today, after a few years of u
umn, etc...
>
> On Fri, Dec 5, 2008 at 1:47 PM, dr. Hannibal Lecter <[EMAIL PROTECTED]>wrote:
>
>
>
> > I'm not sure on this, but I believe it could be phpDocumentor (http://
> > phpdoc.org/)?
>
> > On Dec 5, 1:03 pm, "Olivier Percebois-Garve" &
I'm not sure on this, but I believe it could be phpDocumentor (http://
phpdoc.org/)?
On Dec 5, 1:03 pm, "Olivier Percebois-Garve" <[EMAIL PROTECTED]>
wrote:
> Hi
>
> What is used to generate the API doc of cakephp ?
>
> thanks
>
> Olivier
--~--~-~--~~~---~--~~
You
Well...that's not supposed to happen. Can you check the mail source
and mime headers? Maybe you're not sending your email in plain text..?
On Dec 5, 1:11 pm, Hipnotik <[EMAIL PROTECTED]> wrote:
> On 5 Gru, 12:35, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wro
Hi adam,
your $question array does not contain anything called "Answer". If you
print out the array (as Anja suggested), you will see that for
yourself.
Quite possibly, if your $question array is a result of a query in
CakePHP, your results will be ordered as $question[0]['Answer'],
$question[1]
Something like this should do it:
echo $form->input('Model.Field', array('type' => 'select', 'multiple'
=> 'checkbox', 'options' => $anArrayOfOptions));
Hope that helps!
On Dec 4, 7:40 pm, gayatri <[EMAIL PROTECTED]> wrote:
> i not able to get the value of multiple checkboxes can any help me in
1 - 100 of 325 matches
Mail list logo